Home
last modified time | relevance | path

Searched refs:IndexExpr (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp4527 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
4531 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
4536 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
4548 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr()
4554 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr()
4563 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
4595 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
4606 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr()
4613 if (!IndexExpr->getType()->isIntegerType() && !IndexExpr->isTypeDependent()) in CreateBuiltinArraySubscriptExpr()
9140 Expr* IndexExpr = RHSExpr; in diagnoseStringPlusInt() local
[all …]
H A DSemaPseudoObject.cpp1072 const Expr *IndexExpr = FromE->IgnoreParenImpCasts(); in CheckSubscriptingKind() local
1073 if (isa<StringLiteral>(IndexExpr)) in CheckSubscriptingKind()
H A DSemaExprObjC.cpp742 Expr *IndexExpr, in BuildObjCSubscriptExpression() argument
749 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) && in BuildObjCSubscriptExpression()
754 ExprResult Result = CheckPlaceholderExpr(IndexExpr); in BuildObjCSubscriptExpression()
757 IndexExpr = Result.get(); in BuildObjCSubscriptExpression()
767 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript, in BuildObjCSubscriptExpression()
H A DSemaInit.cpp2619 Expr *IndexExpr = nullptr; in CheckDesignatedInitializer() local
2622 IndexExpr = DIE->getArrayIndex(*D); in CheckDesignatedInitializer()
2623 DesignatedStartIndex = IndexExpr->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer()
2632 IndexExpr = DIE->getArrayRangeEnd(*D); in CheckDesignatedInitializer()
2654 SemaRef.Diag(IndexExpr->getBeginLoc(), in CheckDesignatedInitializer()
2657 << IndexExpr->getSourceRange(); in CheckDesignatedInitializer()
7932 Expr *IndexExpr = in Perform() local
7935 BaseExpr, Kind.getLocation(), IndexExpr, Kind.getLocation()); in Perform()
H A DSemaChecking.cpp12381 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, in CheckArrayAccess() argument
12384 IndexExpr = IndexExpr->IgnoreParenImpCasts(); in CheckArrayAccess()
12385 if (IndexExpr->isValueDependent()) in CheckArrayAccess()
12400 if (!IndexExpr->EvaluateAsInt(Result, Context, Expr::SE_AllowSideEffects)) in CheckArrayAccess()
12469 SourceMgr.getSpellingLoc(IndexExpr->getBeginLoc()); in CheckArrayAccess()
12483 << IndexExpr->getSourceRange()); in CheckArrayAccess()
12493 << IndexExpr->getSourceRange()); in CheckArrayAccess()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp3463 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr() local
3467 ConstantInt *Index = cast<SCEVConstant>(IndexExpr)->getValue(); in getGEPExpr()
3482 IndexExpr = getTruncateOrSignExtend(IndexExpr, IntPtrTy); in getGEPExpr()
3485 const SCEV *LocalOffset = getMulExpr(IndexExpr, ElementSize, Wrap); in getGEPExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h5708 Expr *IndexExpr,
10464 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,