| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | FloatLoopCounter.cpp | 28 diag(FS->getInc()->getExprLoc(), "loop induction expression should not have " in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | InfiniteLoopCheck.cpp | 34 return (ForLoop->getInc() && in isChanged() 35 ExprMutationAnalyzer(*ForLoop->getInc(), *Context) in isChanged()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | UnrollLoopsCheck.cpp | 126 const Expr *Increment = ForLoop->getInc(); in hasKnownBounds() 176 const Expr *Increment = ForLoop->getInc(); in hasLargeNumIterations()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 551 if (S->getInc()) { in VisitForStmt() 553 CountMap[S->getInc()] = IncCount; in VisitForStmt() 554 Visit(S->getInc()); in VisitForStmt() 590 CountMap[S->getInc()] = IncCount; in VisitCXXForRangeStmt() 591 Visit(S->getInc()); in VisitCXXForRangeStmt()
|
| H A D | CGStmt.cpp | 1053 if (!S.getInc()) in EmitForStmt() 1067 Continue = S.getInc() ? getJumpDestInCurrentScope("for.inc") : CondDest; in EmitForStmt() 1111 if (S.getInc()) { in EmitForStmt() 1113 EmitStmt(S.getInc()); in EmitForStmt() 1199 EmitStmt(S.getInc()); in EmitCXXForRangeStmt()
|
| H A D | CGStmtOpenMP.cpp | 2571 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in emitOMPSimdRegion() 2959 OuterLoopArgs.IncExpr = S.getInc(); in EmitOMPForOuterLoop() 2998 IncExpr = S.getInc(); in EmitOMPDistributeOuterLoop() 3165 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in EmitOMPDistributeSimdDirective() 3387 StaticChunkedOne ? S.getDistInc() : S.getInc(), in EmitOMPWorksharingLoop() 5733 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in EmitOMPDistributeDirective() 6768 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in emitTargetTeamsDistributeRegion() 6814 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in emitTargetTeamsDistributeSimdRegion() 6859 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in EmitOMPTeamsDistributeDirective() 6881 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in EmitOMPTeamsDistributeSimdDirective() [all …]
|
| H A D | CoverageMappingGen.cpp | 1162 if (S->getInc()) in VisitForStmt() 1177 if (const Stmt *Inc = S->getInc()) { in VisitForStmt()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 167 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); } in getInc() function 183 const Expr *getInc() const { in getInc() function
|
| H A D | Stmt.h | 2599 Expr *getInc() { return reinterpret_cast<Expr*>(SubExprs[INC]); } in getInc() function 2604 const Expr *getInc() const { return reinterpret_cast<Expr*>(SubExprs[INC]); } in getInc() function
|
| H A D | StmtOpenMP.h | 1331 Expr *getInc() const { return cast<Expr>(Data->getChildren()[IncOffset]); } in getInc() function
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 385 if (!isIdenticalStmt(Ctx, ForStmt1->getInc(), ForStmt2->getInc(), in isIdenticalStmt()
|
| H A D | CheckSecuritySyntaxOnly.cpp | 273 const Expr *increment = FS->getInc(); in checkLoopConditionForFloat()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 279 mark(S->getInc()); in VisitForStmt()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporter.cpp | 1052 if (isContainedByStmt(PM, FR->getInc(), S)) in isInLoopBody() 1061 if (isContainedByStmt(PM, FS->getInc(), S)) in isInLoopBody() 1408 return FS->getInc() == S || FS->getInit() == S; in isIncrementOrInitInForLoop() 1410 return FRS->getInc() == S || FRS->getRangeStmt() == S || in isIncrementOrInitInForLoop()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 636 const Expr *Inc = FS->getInc(); in reportDeadCode()
|
| H A D | CFG.cpp | 3483 if (Stmt *I = F->getInc()) { in VisitForStmt() 4679 Succ = addStmt(S->getInc()); in VisitCXXForRangeStmt() 5480 if (F->getInc()) in VisitForStmt()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtPrinter.cpp | 405 if (Node->getInc()) { in VisitForStmt() 407 PrintExpr(Node->getInc()); in VisitForStmt()
|
| H A D | ExprConstant.cpp | 5143 if (const auto *Inc = FS->getInc()) { in EvaluateStmt() 5362 if (const auto *Inc = FS->getInc()) { in EvaluateStmt() 5452 if (FS->getInc()->isValueDependent()) { in EvaluateStmt() 5453 if (!EvaluateDependentExpr(FS->getInc(), Info)) in EvaluateStmt() 5457 if (!EvaluateIgnoredValue(Info, FS->getInc())) in EvaluateStmt()
|
| H A D | ASTImporter.cpp | 6531 auto ToInc = importChecked(Err, S->getInc()); in VisitForStmt() 6641 auto ToInc = importChecked(Err, S->getInc()); in VisitCXXForRangeStmt()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 224 Record.AddStmt(S->getInc()); in VisitForStmt() 1554 Record.AddStmt(S->getInc()); in VisitCXXForRangeStmt()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2102 const Stmt *const Increment = Node.getInc(); in AST_MATCHER_P()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | TreeTransform.h | 7623 ExprResult Inc = getDerived().TransformExpr(S->getInc()); in TransformForStmt() 7628 if (S->getInc() && !FullInc.get()) in TransformForStmt() 7639 Inc.get() == S->getInc() && in TransformForStmt() 8305 ExprResult Inc = getDerived().TransformExpr(S->getInc()); in TransformCXXForRangeStmt() 8322 Inc.get() != S->getInc() || in TransformCXXForRangeStmt()
|
| H A D | SemaOpenMP.cpp | 5756 Inc = For->getInc(); in ActOnOpenMPCanonicalLoop() 5763 Inc = RangeFor->getInc(); in ActOnOpenMPCanonicalLoop() 9175 HasErrors |= ISC.checkAndSetInc(For ? For->getInc() : CXXFor->getInc()); in checkOpenMPIterationSpace()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 2858 AddStmt(FS->getInc()); in VisitForStmt()
|