/external/clang/lib/StaticAnalyzer/Core/ |
LoopWidening.cpp | 28 return cast<ForStmt>(LoopStmt)->getCond(); 30 return cast<WhileStmt>(LoopStmt)->getCond(); 32 return cast<DoStmt>(LoopStmt)->getCond();
|
CoreEngine.cpp | 378 HandleBranch(cast<AbstractConditionalOperator>(Term)->getCond(), 386 HandleBranch(cast<ChooseExpr>(Term)->getCond(), Term, B, Pred); 403 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); 407 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred); 411 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); 420 HandleBranch(cast<IfStmt>(Term)->getCond(), Term, B, Pred); 451 SwitchNodeBuilder builder(Pred, B, cast<SwitchStmt>(Term)->getCond(), 459 HandleBranch(cast<WhileStmt>(Term)->getCond(), Term, B, Pred);
|
BugReporter.cpp | 445 if (allowNestedContexts || cast<ChooseExpr>(Parent)->getCond() == S) 454 cast<AbstractConditionalOperator>(Parent)->getCond() == S) 469 if (cast<IfStmt>(Parent)->getCond() != S) 477 if (cast<WhileStmt>(Parent)->getCond() != S) [all...] |
BugReporterVisitors.cpp | [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdenticalExprChecker.cpp | 119 if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*ignoreSideEffects=*/ false)) { 120 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); 137 const Expr *Cond1 = I->getCond(); 140 const Expr *Cond2 = I2->getCond(); 378 if (!isIdenticalStmt(Ctx, ForStmt1->getCond(), ForStmt2->getCond(), 393 if (!isIdenticalStmt(Ctx, DStmt1->getCond(), DStmt2->getCond(), 405 if (!isIdenticalStmt(Ctx, WStmt1->getCond(), WStmt2->getCond() [all...] |
CheckSecuritySyntaxOnly.cpp | 224 const Expr *condition = FS->getCond();
|
LocalizationChecker.cpp | [all...] |
/external/clang/lib/AST/ |
ParentMap.cpp | 62 M[BCO->getCond()] = S; 63 BuildParentMap(M, BCO->getCond(), OV_Opaque); 185 return DirectChild == cast<ForStmt>(P)->getCond(); 187 return DirectChild == cast<WhileStmt>(P)->getCond(); 189 return DirectChild == cast<DoStmt>(P)->getCond(); 191 return DirectChild == cast<IfStmt>(P)->getCond(); 195 return DirectChild == cast<SwitchStmt>(P)->getCond();
|
StmtPrinter.cpp | 185 PrintExpr(If->getCond()); 225 PrintExpr(Node->getCond()); 244 PrintExpr(Node->getCond()); 261 PrintExpr(Node->getCond()); 274 if (Node->getCond()) { 276 PrintExpr(Node->getCond()); [all...] |
ASTImporter.cpp | [all...] |
ExprConstant.cpp | [all...] |
/external/clang/include/clang/AST/ |
EvaluatedExprVisitor.h | 56 if (E->getCond()->isValueDependent())
|
Stmt.h | 917 const Expr *getCond() const { return reinterpret_cast<Expr*>(SubExprs[COND]);} 924 Expr *getCond() { return reinterpret_cast<Expr*>(SubExprs[COND]); } [all...] |
StmtCXX.h | 159 Expr *getCond() { return cast_or_null<Expr>(SubExprs[COND]); } 173 const Expr *getCond() const {
|
Expr.h | [all...] |
/external/clang/lib/ARCMigrate/ |
TransEmptyStatementsAndDealloc.cpp | 100 Expr *condE = S->getCond(); 112 Expr *condE = S->getCond(); 122 Expr *condE = S->getCond();
|
/external/clang/lib/CodeGen/ |
CodeGenPGO.cpp | 348 CountMap[S->getCond()] = CondCount; 349 Visit(S->getCond()); 369 CountMap[S->getCond()] = CondCount; 370 Visit(S->getCond()); 402 if (S->getCond()) { 403 CountMap[S->getCond()] = CondCount; 404 Visit(S->getCond()); 436 CountMap[S->getCond()] = CondCount; 437 Visit(S->getCond()); 461 Visit(S->getCond()); [all...] |
CGStmt.cpp | 573 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); 584 if (ConstantFoldsToSimpleInteger(S.getCond(), CondConstant, 613 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, 691 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); 708 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); 775 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); 791 createProfileWeightsForLoop(S.getCond(), BackedgeCount)); 839 if (S.getCond()) { 857 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); 860 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))) [all...] |
CoverageMappingGen.cpp | 679 propagateCounts(CondCount, S->getCond()); 701 propagateCounts(CondCount, S->getCond()); 731 if (const Expr *Cond = S->getCond()) { 785 Visit(S->getCond()); 843 extendRegion(S->getCond()); 850 propagateCounts(ParentCount, S->getCond()); 891 Visit(E->getCond()); [all...] |
CGStmtOpenMP.cpp | [all...] |
/external/clang/lib/Analysis/ |
CFG.cpp | [all...] |
ReachableCode.cpp | 54 const Expr *Cond = DS->getCond()->IgnoreParenCasts();
|
/external/v8/tools/gcmole/ |
gcmole.cc | 672 Environment after_cond = env.ApplyEffect(VisitExpr(expr->getCond(), env)); 1041 block.Loop(stmt->getCond(), stmt->getBody()); 1049 block.Loop(stmt->getBody(), stmt->getCond()); 1057 block.Loop(stmt->getCond(), 1065 Environment cond_out = VisitStmt(stmt->getCond(), env); 1073 block.Seq(stmt->getCond(), stmt->getBody()); [all...] |
/external/clang/lib/Serialization/ |
ASTWriterStmt.cpp | 134 Record.AddStmt(S->getCond()); 146 Record.AddStmt(S->getCond()); 159 Record.AddStmt(S->getCond()); 167 Record.AddStmt(S->getCond()); 178 Record.AddStmt(S->getCond()); 661 Record.AddStmt(E->getCond()); 674 Record.AddStmt(E->getCond()); 828 Record.AddStmt(E->getCond()); [all...] |
/external/clang/lib/Sema/ |
AnalysisBasedWarnings.cpp | 738 Range = IS->getCond()->getSourceRange(); 748 Range = CO->getCond()->getSourceRange(); 777 Range = cast<WhileStmt>(Term)->getCond()->getSourceRange(); 784 Range = cast<ForStmt>(Term)->getCond()->getSourceRange(); 807 Range = cast<DoStmt>(Term)->getCond()->getSourceRange(); [all...] |