Lines Matching refs:BaseTy
919 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
921 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
922 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
923 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
924 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin()
927 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(CGF), BaseTy); in loadToBegin()
930 BaseTy = BaseTy->getPointeeType(); in loadToBegin()
939 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
944 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
945 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
946 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
947 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
953 BaseTy = BaseTy->getPointeeType(); in castToBase()
7419 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType( in getExprTypeSize() local
7428 return CGF.getTypeSize(BaseTy); in getExprTypeSize()
7431 if (const auto *PTy = BaseTy->getAs<PointerType>()) { in getExprTypeSize()
7434 const auto *ATy = cast<ArrayType>(BaseTy.getTypePtr()); in getExprTypeSize()
7454 llvm::Value *LengthVal = CGF.getTypeSize(BaseTy); in getExprTypeSize()