| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprMember.cpp | 565 if (!BaseExpr) in DiagnoseQualifiedMemberReference() 679 SourceRange BaseRange = BaseExpr ? BaseExpr->getSourceRange() : SourceRange(); in LookupMemberExprInRecord() 760 BaseExpr, BaseExpr->getType(), OpLoc, IsArrow, SS, SourceLocation(), in LookupMemberExprInRecord() 1002 if (!IsArrow && BaseExpr && BaseExpr->isPRValue()) { in BuildMemberReferenceExpr() 1060 << (BaseExpr ? BaseExpr->getSourceRange() : SourceRange()); in BuildMemberReferenceExpr() 1109 if (!BaseExpr) { in BuildMemberReferenceExpr() 1190 BaseExpr, BaseExpr->getType(), IsArrow, OpLoc, SS, TemplateKWLoc, in BuildMemberReferenceExpr() 1285 BaseExpr = S.PerformMemberExprBaseConversion(BaseExpr.get(), IsArrow); in LookupMemberExpr() 1529 BaseExpr = S.DefaultLvalueConversion(BaseExpr.get()); in LookupMemberExpr() 1715 BaseExpr = S.DefaultFunctionArrayConversion(BaseExpr.get()); in LookupMemberExpr() [all …]
|
| H A D | SemaPseudoObject.cpp | 1146 Expr *BaseExpr = RefExpr->getBaseExpr(); in findAtIndexGetter() local 1147 QualType BaseT = BaseExpr->getType(); in findAtIndexGetter() 1165 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) in findAtIndexGetter() 1166 << BaseExpr->getType() << arrayRef; in findAtIndexGetter() 1214 << BaseExpr->getType() << 0 << arrayRef; in findAtIndexGetter() 1249 Expr *BaseExpr = RefExpr->getBaseExpr(); in findAtIndexSetter() local 1250 QualType BaseT = BaseExpr->getType(); in findAtIndexSetter() 1269 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) in findAtIndexSetter() 1270 << BaseExpr->getType() << arrayRef; in findAtIndexSetter() 1329 S.Diag(BaseExpr->getExprLoc(), in findAtIndexSetter() [all …]
|
| H A D | SemaExprObjC.cpp | 783 Result = DefaultLvalueConversion(BaseExpr); in BuildObjCSubscriptExpression() 786 BaseExpr = Result.get(); in BuildObjCSubscriptExpression() 1977 Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() argument 1994 : BaseExpr->getSourceRange(); in HandleExprPropertyRefExpr() 2012 OK_ObjCProperty, MemberLoc, BaseExpr); in HandleExprPropertyRefExpr() 2029 OK_ObjCProperty, MemberLoc, BaseExpr); in HandleExprPropertyRefExpr() 2099 OK_ObjCProperty, MemberLoc, BaseExpr); in HandleExprPropertyRefExpr() 2120 << FixItHint::CreateReplacement(BaseExpr->getSourceRange(), in HandleExprPropertyRefExpr() 2127 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc, in HandleExprPropertyRefExpr() 2140 MemberName, BaseExpr)) in HandleExprPropertyRefExpr() [all …]
|
| H A D | SemaChecking.cpp | 17988 BaseExpr->getType()->getPointeeOrArrayElementType(); in CheckArrayAccess() 17989 BaseExpr = BaseExpr->IgnoreParenCasts(); in CheckArrayAccess() 18059 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess() 18071 BaseExpr = ASE->getBase()->IgnoreParenCasts(); in CheckArrayAccess() 18078 DiagRuntimeBehavior(ND->getBeginLoc(), BaseExpr, in CheckArrayAccess() 18150 BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess() 18160 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess() 18168 BaseExpr = ASE->getBase()->IgnoreParenCasts(); in CheckArrayAccess() 18169 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess() 18171 if (const auto *ME = dyn_cast<MemberExpr>(BaseExpr)) in CheckArrayAccess() [all …]
|
| H A D | SemaExpr.cpp | 5931 Expr *BaseExpr, *IndexExpr; in CreateBuiltinArraySubscriptExpr() local 5934 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 5939 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 5944 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 5956 BaseExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 5962 BaseExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 5971 BaseExpr = LHSExp; // vectors: V[123] in CreateBuiltinArraySubscriptExpr() 5998 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 6030 BaseExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 6041 BaseExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() [all …]
|
| H A D | SemaInit.cpp | 9220 Expr *BaseExpr = new (S.Context) in Perform() local 9226 BaseExpr, Kind.getLocation(), IndexExpr, Kind.getLocation()); in Perform() 9227 ArrayLoopCommonExprs.push_back(BaseExpr); in Perform()
|
| H A D | SemaOpenMP.cpp | 6083 Expr *BaseExpr = OE; in processImplicitMapsWithDefaultMappers() local 6086 BaseExpr = S.BuildMemberExpr( in processImplicitMapsWithDefaultMappers() 6087 BaseExpr, /*IsArrow=*/false, E->getExprLoc(), in processImplicitMapsWithDefaultMappers() 6092 BaseExpr = S.DefaultLvalueConversion(BaseExpr).get(); in processImplicitMapsWithDefaultMappers() 6096 BaseExpr = S.BuildMemberExpr( in processImplicitMapsWithDefaultMappers() 6097 BaseExpr, /*IsArrow=*/false, E->getExprLoc(), in processImplicitMapsWithDefaultMappers() 6102 SubExprs.push_back(BaseExpr); in processImplicitMapsWithDefaultMappers()
|
| H A D | SemaDeclCXX.cpp | 17447 Expr *BaseExpr = AssertExpr; in BuildStaticAssertDeclaration() local 17458 BaseExpr, &Cond, in BuildStaticAssertDeclaration()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | StraightLineStrengthReduce.cpp | 544 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); in allocateCandidatesAndFindBasisForGEP() local 551 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 562 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP()
|
| H A D | ConstantHoisting.cpp | 645 ConstInfo.BaseExpr = ConstExpr; in findAndMakeBaseConstant() 884 if (ConstInfo.BaseExpr) { in emitBaseConstants() 886 Type *Ty = ConstInfo.BaseExpr->getType(); in emitBaseConstants() 887 Base = new BitCastInst(ConstInfo.BaseExpr, Ty, "const", IP); in emitBaseConstants()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 134 Expr *BaseExpr = E->getBase(); in EmitCXXPseudoDestructorExpr() local 140 BaseValue = EmitPointerWithAlignment(BaseExpr); in EmitCXXPseudoDestructorExpr() 141 const auto *PTy = BaseExpr->getType()->castAs<PointerType>(); in EmitCXXPseudoDestructorExpr() 144 LValue BaseLV = EmitLValue(BaseExpr); in EmitCXXPseudoDestructorExpr() 146 QualType BaseTy = BaseExpr->getType(); in EmitCXXPseudoDestructorExpr() 443 const Expr *BaseExpr = BO->getLHS(); in EmitCXXMemberPointerCallExpr() local 454 This = EmitPointerWithAlignment(BaseExpr, nullptr, nullptr, KnownNonNull); in EmitCXXMemberPointerCallExpr() 456 This = EmitLValue(BaseExpr, KnownNonNull).getAddress(*this); in EmitCXXMemberPointerCallExpr()
|
| H A D | CGExpr.cpp | 4595 Expr *BaseExpr = E->getBase(); in EmitMemberExpr() local 4602 QualType PtrTy = BaseExpr->getType()->getPointeeType(); in EmitMemberExpr() 4604 bool IsBaseCXXThis = IsWrappedCXXThis(BaseExpr); in EmitMemberExpr() 4607 if (IsBaseCXXThis || isa<DeclRefExpr>(BaseExpr)) in EmitMemberExpr() 4613 BaseLV = EmitCheckedLValue(BaseExpr, TCK_MemberAccess); in EmitMemberExpr() 4623 if ((IsWrappedCXXThis(BaseExpr) && in EmitMemberExpr() 5687 const Expr *BaseExpr = E->getBase(); in EmitObjCIvarRefLValue() local 5691 BaseValue = EmitScalarExpr(BaseExpr); in EmitObjCIvarRefLValue() 5692 ObjectTy = BaseExpr->getType()->getPointeeType(); in EmitObjCIvarRefLValue() 5695 LValue BaseLV = EmitLValue(BaseExpr); in EmitObjCIvarRefLValue() [all …]
|
| H A D | CGExprScalar.cpp | 5207 Expr *BaseExpr = E->getBase(); in EmitObjCIsaExpr() local 5209 if (BaseExpr->isPRValue()) { in EmitObjCIsaExpr() 5211 ConvertTypeForMem(BaseExpr->getType()->getPointeeType()); in EmitObjCIsaExpr() 5212 Addr = Address(EmitScalarExpr(BaseExpr), BaseTy, getPointerAlign()); in EmitObjCIsaExpr() 5214 Addr = EmitLValue(BaseExpr).getAddress(*this); in EmitObjCIsaExpr()
|
| H A D | CGOpenMPRuntime.cpp | 7214 const Expr *BaseExpr = E->getBase(); in generateInfoForComponentList() local 7222 CGF.EmitPointerWithAlignment(BaseExpr, &BaseInfo, &TBAAInfo); in generateInfoForComponentList() 7223 QualType PtrTy = BaseExpr->getType()->getPointeeType(); in generateInfoForComponentList() 7226 BaseLV = CGF.EmitOMPSharedLValue(BaseExpr); in generateInfoForComponentList()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | ConstantHoisting.h | 118 ConstantExpr *BaseExpr; member
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 930 Expr *BaseExpr; variable 942 : Expr(MSPropertyRefExprClass, ty, VK, OK_Ordinary), BaseExpr(baseExpr), in MSPropertyRefExpr() 960 return BaseExpr->getBeginLoc(); in getBeginLoc() 970 return child_range((Stmt**)&BaseExpr, (Stmt**)&BaseExpr + 1); in children() 982 Expr *getBaseExpr() const { return BaseExpr; } in getBaseExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 5796 Expr *BaseExpr = IV->getBase(); in RewriteObjCIvarRefExpr() local 5801 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); in RewriteObjCIvarRefExpr() 5802 IV->setBase(BaseExpr); in RewriteObjCIvarRefExpr() 5809 if (BaseExpr->getType()->isObjCObjectPointerType()) { in RewriteObjCIvarRefExpr() 5811 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); in RewriteObjCIvarRefExpr() 5851 if (BaseExpr->getType()->isObjCObjectPointerType()) { in RewriteObjCIvarRefExpr() 5853 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); in RewriteObjCIvarRefExpr()
|
| H A D | RewriteModernObjC.cpp | 7442 Expr *BaseExpr = IV->getBase(); in RewriteObjCIvarRefExpr() local 7447 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); in RewriteObjCIvarRefExpr() 7448 IV->setBase(BaseExpr); in RewriteObjCIvarRefExpr() 7455 if (BaseExpr->getType()->isObjCObjectPointerType()) { in RewriteObjCIvarRefExpr() 7457 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); in RewriteObjCIvarRefExpr() 7478 BaseExpr); in RewriteObjCIvarRefExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 3364 Expr *BaseExpr = M->getBase(); in VisitMemberExpr() local 3369 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr); in VisitMemberExpr() 3380 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr, in VisitMemberExpr() 3384 MR ? loc::MemRegionVal(MR) : state->getSVal(BaseExpr, LCtx); in VisitMemberExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.cpp | 2461 if (const Expr *BaseExpr = Base.dyn_cast<const Expr *>()) in visitAPValue() local 2462 return this->visit(BaseExpr); in visitAPValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 4340 const auto BaseExpr = in getCodeViewJumpTableInfo() local 4342 const auto Base = &cast<MCSymbolRefExpr>(BaseExpr)->getSymbol(); in getCodeViewJumpTableInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 5946 ExprResult BuildFieldReferenceExpr(Expr *BaseExpr, bool IsArrow, 5954 bool CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType, 7661 ExprResult BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, 10739 Expr *BaseExpr, 13846 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 3743 const SCEV *BaseExpr = getSCEV(GEP->getPointerOperand()); in getGEPExpr() local 3746 Type *IntIdxTy = getEffectiveSCEVType(BaseExpr->getType()); in getGEPExpr() 3800 return BaseExpr; in getGEPExpr() 3809 auto *GEPExpr = getAddExpr(BaseExpr, Offset, BaseWrap); in getGEPExpr() 3810 assert(BaseExpr->getType() == GEPExpr->getType() && in getGEPExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 2291 E->BaseExpr = Record.readSubExpr(); in VisitMSPropertyRefExpr()
|