HomeSort by: relevance | last modified time | path
    Searched refs:ForStmt (Results 1 - 25 of 45) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
LoopWidening.cpp 33 return cast<ForStmt>(LoopStmt)->getCond();
48 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) ||
LoopUnrolling.cpp 72 return S && (isa<ForStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S));
140 return forStmt(
CoreEngine.cpp 349 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred);
BugReporter.cpp 680 if (cast<ForStmt>(Parent)->getBody() == S)
1057 const auto *FS = cast<ForStmt>(Term);
1245 if (const auto *FS = dyn_cast<ForStmt>(Loop))
1367 return cast<ForStmt>(S)->getCond() == Cond;
1398 if (const auto *FS = dyn_cast<ForStmt>(FL))
1543 if (!(isa<ForStmt>(s1Start) || isa<WhileStmt>(s1Start) ||
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
SourceExtraction.cpp 37 if (const auto *For = dyn_cast<ForStmt>(S))
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
IdenticalExprChecker.cpp 376 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1);
377 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2);
CheckSecuritySyntaxOnly.cpp 89 void VisitForStmt(ForStmt *S);
102 void checkLoopConditionForFloat(const ForStmt *FS);
213 void WalkAST::VisitForStmt(ForStmt *FS) {
262 void WalkAST::checkLoopConditionForFloat(const ForStmt *FS) {
MallocOverflowSecurityChecker.cpp 248 void VisitForStmt(ForStmt *S) {
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
UncountedLocalVarsChecker.cpp 42 return grandParent.begin()->get<ForStmt>() ||
  /src/external/apache2/llvm/dist/clang/lib/AST/
ParentMap.cpp 197 return DirectChild == cast<ForStmt>(P)->getCond();
Stmt.cpp 1006 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar,
1019 VarDecl *ForStmt::getConditionVariable() const {
1027 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) {
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
ReachableCode.cpp 637 if (const ForStmt *FS = dyn_cast<ForStmt>(LoopTarget)) {
LiveVariables.cpp 307 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<ForStmt>(S)->getCond());
CFG.cpp 573 CFGBlock *VisitForStmt(ForStmt *F);
2238 return VisitForStmt(cast<ForStmt>(S));
3332 CFGBlock *CFGBuilder::VisitForStmt(ForStmt *F) {
5153 const VarDecl *var = cast<ForStmt>(stmt)->getConditionVariable();
5253 void VisitForStmt(ForStmt *F) {
5971 E = cast<ForStmt>(Terminator)->getCond();
CalledOnceCheck.cpp 546 llvm::Optional<Clarification> VisitForStmt(const ForStmt *For) {
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenPGO.cpp 95 ForStmt,
264 DEFINE_NESTABLE_TRAVERSAL(ForStmt)
282 return PGOHash::ForStmt;
533 void VisitForStmt(const ForStmt *S) {
CGStmt.cpp 150 case Stmt::ForStmtClass: EmitForStmt(cast<ForStmt>(*S), Attrs); break;
951 void CodeGenFunction::EmitForStmt(const ForStmt &S,
CodeGenFunction.cpp 1441 isa<ForStmt>(S))
1463 isa<DoStmt>(S) || isa<ForStmt>(S) || isa<CompoundStmt>(S) ||
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaStmt.cpp 1988 void VisitForStmt(const ForStmt *S) {
2147 ForStmt(Context, First, Second.get().second, Second.get().first, Third,
3026 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S);
3028 ForStmt->setBody(B);
3174 const CXXForRangeStmt *ForStmt) {
3180 ForStmt->getBeginLoc()) &&
3182 ForStmt->getBeginLoc()) &&
3184 ForStmt->getBeginLoc())) {
3188 const VarDecl *VD = ForStmt->getLoopVariable();
3206 ForStmt->getRangeInit()->getType())
    [all...]
SemaStmtAttr.cpp 87 if (!isa<DoStmt, ForStmt, CXXForRangeStmt, WhileStmt>(St)) {
SemaAvailability.cpp 590 return cast<ForStmt>(Parent)->getBody() == S;
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
Transforms.cpp 279 bool VisitForStmt(ForStmt *S) {
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchers.h 2065 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt;
2070 /// forStmt(hasIncrement(unaryOperator(hasOperatorName("++"))))
2075 AST_MATCHER_P(ForStmt, hasIncrement, internal::Matcher<Stmt>,
2085 /// forStmt(hasLoopInit(declStmt()))
2090 AST_MATCHER_P(ForStmt, hasLoopInit, internal::Matcher<Stmt>,
2109 /// forStmt(hasLoopVariable(anything()))
2123 /// forStmt(hasRangeInit(anything()))
2780 /// mapAnyOf(ifStmt, forStmt).with(
2789 /// forStmt(trueCond).bind("trueCond"
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Stmt.h 222 friend class ForStmt;
1289 /// and declarations (variables, types). Another example is ForStmt, where
2502 /// ForStmt - This represents a 'for (init;cond;inc)' stmt. Note that any of
2503 /// the init/cond/inc parts of the ForStmt will be null if they were not
2505 class ForStmt : public Stmt {
2511 ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar,
2516 explicit ForStmt(EmptyShell Empty) : Stmt(ForStmtClass, Empty) {}
2531 /// If this ForStmt has a condition variable, return the faux DeclStmt
  /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp 880 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt;

Completed in 44 milliseconds

1 2