Lines Matching refs:BaseTy
886 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
891 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
892 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
893 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
894 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
900 BaseTy = BaseTy->getPointeeType(); in castToBase()
913 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
915 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
916 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
917 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
918 if (auto *PtrTy = BaseTy->getAs<PointerType>()) in loadToBegin()
922 BaseTy->castAs<ReferenceType>()); in loadToBegin()
924 BaseTy = BaseTy->getPointeeType(); in loadToBegin()