Lines Matching refs:BaseTy
920 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
922 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
923 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
924 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
925 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin()
928 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(CGF), BaseTy); in loadToBegin()
931 BaseTy = BaseTy->getPointeeType(); in loadToBegin()
940 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
945 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
946 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
947 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
948 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
954 BaseTy = BaseTy->getPointeeType(); in castToBase()
7001 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType( in getExprTypeSize() local
7010 return CGF.getTypeSize(BaseTy); in getExprTypeSize()
7013 if (const auto *PTy = BaseTy->getAs<PointerType>()) { in getExprTypeSize()
7016 const auto *ATy = cast<ArrayType>(BaseTy.getTypePtr()); in getExprTypeSize()
7036 llvm::Value *LengthVal = CGF.getTypeSize(BaseTy); in getExprTypeSize()