/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | InfiniteLoopCheck.cpp | 33 return (ForLoop->getInc() && in isChanged() 34 ExprMutationAnalyzer(*ForLoop->getInc(), *Context) in isChanged()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | FloatLoopCounter.cpp | 28 diag(FS->getInc()->getExprLoc(), "loop induction expression should not have " in check()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 393 if (S->getInc()) { in VisitForStmt() 395 CountMap[S->getInc()] = IncCount; in VisitForStmt() 396 Visit(S->getInc()); in VisitForStmt() 430 CountMap[S->getInc()] = IncCount; in VisitCXXForRangeStmt() 431 Visit(S->getInc()); in VisitCXXForRangeStmt()
|
D | CGStmt.cpp | 830 if (S.getInc()) in EmitForStmt() 882 if (S.getInc()) { in EmitForStmt() 884 EmitStmt(S.getInc()); in EmitForStmt() 964 EmitStmt(S.getInc()); in EmitCXXForRangeStmt()
|
D | CGStmtOpenMP.cpp | 1644 S.getInc(), in EmitOMPSimdDirective() 1731 EmitOMPInnerLoop(S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in EmitOMPOuterLoop() 2055 S.getInc(), in EmitOMPWorksharingLoop() 2710 S.getInc(), in EmitOMPDistributeLoop() 3568 S.getInc(), in EmitOMPTaskLoopBasedDirective()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 536 if (S->getInc()) { in VisitForStmt() 538 CountMap[S->getInc()] = IncCount; in VisitForStmt() 539 Visit(S->getInc()); in VisitForStmt() 575 CountMap[S->getInc()] = IncCount; in VisitCXXForRangeStmt() 576 Visit(S->getInc()); in VisitCXXForRangeStmt()
|
D | CGStmt.cpp | 965 if (S.getInc()) in EmitForStmt() 1022 if (S.getInc()) { in EmitForStmt() 1024 EmitStmt(S.getInc()); in EmitForStmt() 1107 EmitStmt(S.getInc()); in EmitCXXForRangeStmt()
|
D | CGStmtOpenMP.cpp | 2370 S, LoopScope.requiresCleanups(), S.getCond(), S.getInc(), in emitOMPSimdRegion() 2621 OuterLoopArgs.IncExpr = S.getInc(); in EmitOMPForOuterLoop() 2660 IncExpr = S.getInc(); in EmitOMPDistributeOuterLoop() 2827 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in EmitOMPDistributeSimdDirective() 3048 StaticChunkedOne ? S.getDistInc() : S.getInc(), in EmitOMPWorksharingLoop() 4848 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in EmitOMPDistributeDirective() 5672 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in emitTargetTeamsDistributeRegion() 5718 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in emitTargetTeamsDistributeSimdRegion() 5763 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in EmitOMPTeamsDistributeDirective() 5785 CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc()); in EmitOMPTeamsDistributeSimdDirective() [all …]
|
D | CoverageMappingGen.cpp | 1105 if (S->getInc()) in VisitForStmt() 1117 if (const Stmt *Inc = S->getInc()) { in VisitForStmt()
|
/external/clang/include/clang/AST/ |
D | StmtCXX.h | 160 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); } in getInc() function 176 const Expr *getInc() const { in getInc() function
|
D | Stmt.h | 1187 Expr *getInc() { return reinterpret_cast<Expr*>(SubExprs[INC]); } in getInc() function 1192 const Expr *getInc() const { return reinterpret_cast<Expr*>(SubExprs[INC]); } in getInc() function
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 381 if (!isIdenticalStmt(Ctx, ForStmt1->getInc(), ForStmt2->getInc(), in isIdenticalStmt()
|
D | CheckSecuritySyntaxOnly.cpp | 230 const Expr *increment = FS->getInc(); in checkLoopConditionForFloat()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 385 if (!isIdenticalStmt(Ctx, ForStmt1->getInc(), ForStmt2->getInc(), in isIdenticalStmt()
|
D | CheckSecuritySyntaxOnly.cpp | 273 const Expr *increment = FS->getInc(); in checkLoopConditionForFloat()
|
/external/llvm-project/clang/include/clang/AST/ |
D | StmtCXX.h | 167 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); } in getInc() function 183 const Expr *getInc() const { in getInc() function
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 596 const Expr *Inc = FS->getInc(); in reportDeadCode()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 281 mark(S->getInc()); in VisitForStmt()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 286 mark(S->getInc()); in VisitForStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 1049 if (isContainedByStmt(PM, FR->getInc(), S)) in isInLoopBody() 1058 if (isContainedByStmt(PM, FS->getInc(), S)) in isInLoopBody() 1399 return FS->getInc() == S || FS->getInit() == S; in isIncrementOrInitInForLoop() 1401 return FRS->getInc() == S || FRS->getRangeStmt() == S || in isIncrementOrInitInForLoop()
|
/external/llvm-project/clang/lib/Analysis/ |
D | ReachableCode.cpp | 638 const Expr *Inc = FS->getInc(); in reportDeadCode()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 1355 if (isContainedByStmt(PM, FR->getInc(), S)) in isInLoopBody() 1364 if (isContainedByStmt(PM, FS->getInc(), S)) in isInLoopBody() 1947 return FS->getInc() == S || FS->getInit() == S; in isIncrementOrInitInForLoop() 1949 return FRS->getInc() == S || FRS->getRangeStmt() == S || in isIncrementOrInitInForLoop()
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 180 Record.AddStmt(S->getInc()); in VisitForStmt() 1177 Record.AddStmt(S->getInc()); in VisitCXXForRangeStmt() 2186 Record.AddStmt(D->getInc()); in VisitOMPLoopDirective()
|
/external/clang/lib/AST/ |
D | StmtPrinter.cpp | 279 if (Node->getInc()) { in VisitForStmt() 281 PrintExpr(Node->getInc()); in VisitForStmt()
|
/external/llvm-project/clang/lib/AST/ |
D | StmtPrinter.cpp | 327 if (Node->getInc()) { in VisitForStmt() 329 PrintExpr(Node->getInc()); in VisitForStmt()
|