Home
last modified time | relevance | path

Searched refs:getInc (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DInfiniteLoopCheck.cpp33 return (ForLoop->getInc() && in isChanged()
34 ExprMutationAnalyzer(*ForLoop->getInc(), *Context) in isChanged()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DFloatLoopCounter.cpp28 diag(FS->getInc()->getExprLoc(), "loop induction expression should not have " in check()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp393 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()
DCGStmt.cpp830 if (S.getInc()) in EmitForStmt()
882 if (S.getInc()) { in EmitForStmt()
884 EmitStmt(S.getInc()); in EmitForStmt()
964 EmitStmt(S.getInc()); in EmitCXXForRangeStmt()
DCGStmtOpenMP.cpp1644 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/
DCodeGenPGO.cpp536 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()
DCGStmt.cpp965 if (S.getInc()) in EmitForStmt()
1022 if (S.getInc()) { in EmitForStmt()
1024 EmitStmt(S.getInc()); in EmitForStmt()
1107 EmitStmt(S.getInc()); in EmitCXXForRangeStmt()
DCGStmtOpenMP.cpp2370 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 …]
DCoverageMappingGen.cpp1105 if (S->getInc()) in VisitForStmt()
1117 if (const Stmt *Inc = S->getInc()) { in VisitForStmt()
/external/clang/include/clang/AST/
DStmtCXX.h160 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); } in getInc() function
176 const Expr *getInc() const { in getInc() function
DStmt.h1187 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/
DIdenticalExprChecker.cpp381 if (!isIdenticalStmt(Ctx, ForStmt1->getInc(), ForStmt2->getInc(), in isIdenticalStmt()
DCheckSecuritySyntaxOnly.cpp230 const Expr *increment = FS->getInc(); in checkLoopConditionForFloat()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp385 if (!isIdenticalStmt(Ctx, ForStmt1->getInc(), ForStmt2->getInc(), in isIdenticalStmt()
DCheckSecuritySyntaxOnly.cpp273 const Expr *increment = FS->getInc(); in checkLoopConditionForFloat()
/external/llvm-project/clang/include/clang/AST/
DStmtCXX.h167 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); } in getInc() function
183 const Expr *getInc() const { in getInc() function
/external/clang/lib/Analysis/
DReachableCode.cpp596 const Expr *Inc = FS->getInc(); in reportDeadCode()
/external/llvm-project/clang/lib/ARCMigrate/
DTransforms.cpp281 mark(S->getInc()); in VisitForStmt()
/external/clang/lib/ARCMigrate/
DTransforms.cpp286 mark(S->getInc()); in VisitForStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp1049 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/
DReachableCode.cpp638 const Expr *Inc = FS->getInc(); in reportDeadCode()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp1355 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/
DASTWriterStmt.cpp180 Record.AddStmt(S->getInc()); in VisitForStmt()
1177 Record.AddStmt(S->getInc()); in VisitCXXForRangeStmt()
2186 Record.AddStmt(D->getInc()); in VisitOMPLoopDirective()
/external/clang/lib/AST/
DStmtPrinter.cpp279 if (Node->getInc()) { in VisitForStmt()
281 PrintExpr(Node->getInc()); in VisitForStmt()
/external/llvm-project/clang/lib/AST/
DStmtPrinter.cpp327 if (Node->getInc()) { in VisitForStmt()
329 PrintExpr(Node->getInc()); in VisitForStmt()

12