Lines Matching refs:BaseTy
894 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
896 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
897 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
898 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
899 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin()
902 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(CGF), BaseTy); in loadToBegin()
905 BaseTy = BaseTy->getPointeeType(); in loadToBegin()
913 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
918 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
919 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
920 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
921 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
927 BaseTy = BaseTy->getPointeeType(); in castToBase()
6670 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType( in getExprTypeSize() local
6679 return CGF.getTypeSize(BaseTy); in getExprTypeSize()
6682 if (const auto *PTy = BaseTy->getAs<PointerType>()) { in getExprTypeSize()
6685 const auto *ATy = cast<ArrayType>(BaseTy.getTypePtr()); in getExprTypeSize()
6705 llvm::Value *LengthVal = CGF.getTypeSize(BaseTy); in getExprTypeSize()