Lines Matching refs:BaseTy
939 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
941 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
942 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
943 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
944 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin()
947 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(CGF), BaseTy); in loadToBegin()
950 BaseTy = BaseTy->getPointeeType(); in loadToBegin()
959 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
965 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
966 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
967 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
968 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
974 BaseTy = BaseTy->getPointeeType(); in castToBase()
7475 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType( in getExprTypeSize() local
7484 return CGF.getTypeSize(BaseTy); in getExprTypeSize()
7487 if (const auto *PTy = BaseTy->getAs<PointerType>()) { in getExprTypeSize()
7490 const auto *ATy = cast<ArrayType>(BaseTy.getTypePtr()); in getExprTypeSize()
7510 llvm::Value *LengthVal = CGF.getTypeSize(BaseTy); in getExprTypeSize()