Searched refs:IndexExpr (Results 1 – 9 of 9) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 268 auto *IndexExpr = DeclRefExpr::Create( in addArraySubscriptOperator() local 274 new (AST) ArraySubscriptExpr(HandleAccess, IndexExpr, ElemTy, VK_LValue, in addArraySubscriptOperator()
|
| H A D | SemaExpr.cpp | 5935 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 5940 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 5945 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 5957 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 5963 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 5972 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 5999 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 6031 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 6042 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 6049 if (!IndexExpr->getType()->isIntegerType() && !IndexExpr->isTypeDependent()) in CreateBuiltinArraySubscriptExpr() [all …]
|
| H A D | SemaExprObjC.cpp | 765 Expr *IndexExpr, in BuildObjCSubscriptExpression() argument 772 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) && in BuildObjCSubscriptExpression() 777 ExprResult Result = CheckPlaceholderExpr(IndexExpr); in BuildObjCSubscriptExpression() 780 IndexExpr = Result.get(); in BuildObjCSubscriptExpression() 790 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript, in BuildObjCSubscriptExpression()
|
| H A D | SemaPseudoObject.cpp | 1067 const Expr *IndexExpr = FromE->IgnoreParenImpCasts(); in CheckSubscriptingKind() local 1068 if (isa<StringLiteral>(IndexExpr)) in CheckSubscriptingKind()
|
| H A D | SemaInit.cpp | 3001 Expr *IndexExpr = nullptr; in CheckDesignatedInitializer() local 3004 IndexExpr = DIE->getArrayIndex(*D); in CheckDesignatedInitializer() 3005 DesignatedStartIndex = IndexExpr->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer() 3014 IndexExpr = DIE->getArrayRangeEnd(*D); in CheckDesignatedInitializer() 3036 SemaRef.Diag(IndexExpr->getBeginLoc(), in CheckDesignatedInitializer() 3039 << IndexExpr->getSourceRange(); in CheckDesignatedInitializer() 9223 Expr *IndexExpr = in Perform() local 9226 BaseExpr, Kind.getLocation(), IndexExpr, Kind.getLocation()); in Perform()
|
| H A D | SemaChecking.cpp | 17976 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, in CheckArrayAccess() argument 17983 IndexExpr = IndexExpr->IgnoreParenImpCasts(); in CheckArrayAccess() 17984 if (IndexExpr->isValueDependent()) in CheckArrayAccess() 18007 if (!IndexExpr->EvaluateAsInt(Result, Context, Expr::SE_AllowSideEffects)) in CheckArrayAccess() 18066 << IndexExpr->getSourceRange()); in CheckArrayAccess() 18138 SourceMgr.getSpellingLoc(IndexExpr->getBeginLoc()); in CheckArrayAccess() 18152 << CastMsg << CastMsgTy << IndexExpr->getSourceRange()); in CheckArrayAccess() 18162 << IndexExpr->getSourceRange()); in CheckArrayAccess()
|
| H A D | SemaDeclAttr.cpp | 1078 const Expr *IndexExpr = AL.getArgAsExpr(I); in handleDiagnoseAsBuiltinAttr() local 1081 if (!checkUInt32Argument(S, AL, IndexExpr, Index, I + 1, false)) in handleDiagnoseAsBuiltinAttr() 1095 S.Diag(IndexExpr->getBeginLoc(), diag::err_attribute_parameter_types) in handleDiagnoseAsBuiltinAttr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 3766 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr() local 3770 ConstantInt *Index = cast<SCEVConstant>(IndexExpr)->getValue(); in getGEPExpr() 3790 IndexExpr = getTruncateOrSignExtend(IndexExpr, IntIdxTy); in getGEPExpr() 3793 const SCEV *LocalOffset = getMulExpr(IndexExpr, ElementSize, OffsetWrap); in getGEPExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 7662 Expr *IndexExpr, 13846 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
|