Lines Matching refs:BaseTy
936 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
938 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
939 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
940 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
941 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin()
944 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(CGF), BaseTy); in loadToBegin()
947 BaseTy = BaseTy->getPointeeType(); in loadToBegin()
956 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
962 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
963 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
964 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
965 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
971 BaseTy = BaseTy->getPointeeType(); in castToBase()
7292 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType( in getExprTypeSize() local
7301 return CGF.getTypeSize(BaseTy); in getExprTypeSize()
7304 if (const auto *PTy = BaseTy->getAs<PointerType>()) { in getExprTypeSize()
7307 const auto *ATy = cast<ArrayType>(BaseTy.getTypePtr()); in getExprTypeSize()
7327 llvm::Value *LengthVal = CGF.getTypeSize(BaseTy); in getExprTypeSize()