/external/clang/lib/AST/ |
H A D | ParentMap.cpp | 122 return DirectChild == cast<ForStmt>(P)->getCond(); 124 return DirectChild == cast<WhileStmt>(P)->getCond(); 126 return DirectChild == cast<DoStmt>(P)->getCond(); 128 return DirectChild == cast<IfStmt>(P)->getCond(); 132 return DirectChild == cast<SwitchStmt>(P)->getCond();
|
H A D | StmtPrinter.cpp | 190 PrintExpr(If->getCond()); 227 PrintExpr(Node->getCond()); 243 PrintExpr(Node->getCond()); 260 PrintExpr(Node->getCond()); 273 if (Node->getCond()) { 275 PrintExpr(Node->getCond()); 932 PrintExpr(Node->getCond()); 959 PrintExpr(Node->getCond());
|
H A D | ExprConstant.cpp | 2334 if (!EvaluateAsBooleanCondition(E->getCond(), BoolResult, Info)) { 2444 dyn_cast<CallExpr>(E->getCond()->IgnoreParenCasts())) 6743 = dyn_cast<CallExpr>(Exp->getCond()->IgnoreParenCasts())) 6746 ICEDiag CondResult = CheckICE(Exp->getCond(), Ctx); 6764 if (Exp->getCond()->EvaluateKnownConstInt(Ctx) == 0) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CoreEngine.cpp | 355 HandleBranch(cast<AbstractConditionalOperator>(Term)->getCond(), 363 HandleBranch(cast<ChooseExpr>(Term)->getCond(), Term, B, Pred); 380 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); 384 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred); 388 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); 397 HandleBranch(cast<IfStmt>(Term)->getCond(), Term, B, Pred); 428 SwitchNodeBuilder builder(Pred, B, cast<SwitchStmt>(Term)->getCond(), 436 HandleBranch(cast<WhileStmt>(Term)->getCond(), Term, B, Pred);
|
H A D | BugReporter.cpp | 322 if (cast<ChooseExpr>(Parent)->getCond() == S) 330 if (cast<AbstractConditionalOperator>(Parent)->getCond() == S) 341 if (cast<IfStmt>(Parent)->getCond() != S) 349 if (cast<WhileStmt>(Parent)->getCond() != S) 812 S = cast<AbstractConditionalOperator>(S)->getCond(); 816 S = cast<ChooseExpr>(S)->getCond();
|
H A D | BugReporterVisitors.cpp | 688 Cond = cast<IfStmt>(Term)->getCond(); 691 Cond = cast<ConditionalOperator>(Term)->getCond();
|
/external/clang/lib/ARCMigrate/ |
H A D | TransEmptyStatementsAndDealloc.cpp | 101 Expr *condE = S->getCond(); 115 Expr *condE = S->getCond(); 125 Expr *condE = S->getCond();
|
/external/clang/lib/Analysis/ |
H A D | CFG.cpp | 1463 const TryResult& KnownVal = tryEvaluateBool(C->getCond()); 1467 return addStmt(C->getCond()); 1528 dyn_cast<BinaryOperator>(C->getCond()->IgnoreParens())) 1536 const TryResult& KnownVal = tryEvaluateBool(C->getCond()); 1540 Expr *condExpr = C->getCond(); 1750 dyn_cast<BinaryOperator>(I->getCond()->IgnoreParens())) 1761 const TryResult &KnownVal = tryEvaluateBool(I->getCond()); 1770 Block = addStmt(I->getCond()); 1966 Expr *C = F->getCond(); 2276 Expr *C = W->getCond(); [all...] |
H A D | ThreadSafety.cpp | 412 unsigned Sz = buildSExpr(CE->getCond(), CallCtx); 419 unsigned Sz = buildSExpr(CE->getCond(), CallCtx);
|
/external/clang/include/clang/AST/ |
H A D | StmtCXX.h | 155 Expr *getCond() { return cast_or_null<Expr>(SubExprs[COND]); } function in class:clang::CXXForRangeStmt 166 const Expr *getCond() const { function in class:clang::CXXForRangeStmt
|
H A D | Stmt.h | 877 const Expr *getCond() const { return reinterpret_cast<Expr*>(SubExprs[COND]);} function in class:clang::IfStmt 884 Expr *getCond() { return reinterpret_cast<Expr*>(SubExprs[COND]); } function in class:clang::IfStmt 950 const Expr *getCond() const { return reinterpret_cast<Expr*>(SubExprs[COND]);} function in class:clang::SwitchStmt 954 Expr *getCond() { return reinterpret_cast<Expr*>(SubExprs[COND]);} function in class:clang::SwitchStmt 1037 Expr *getCond() { return reinterpret_cast<Expr*>(SubExprs[COND]); } function in class:clang::WhileStmt 1038 const Expr *getCond() const { return reinterpret_cast<Expr*>(SubExprs[COND]);} function in class:clang::WhileStmt 1081 Expr *getCond() { return reinterpret_cast<Expr*>(SubExprs[COND]); } function in class:clang::DoStmt 1082 const Expr *getCond() const { return reinterpret_cast<Expr*>(SubExprs[COND]);} function in class:clang::DoStmt 1147 Expr *getCond() { return reinterpret_cast<Expr*>(SubExprs[COND]); } function in class:clang::ForStmt 1152 const Expr *getCond() cons function in class:clang::ForStmt [all...] |
H A D | Expr.h | 2982 // getCond - Return the expression representing the condition for 2984 Expr *getCond() const; 3039 // getCond - Return the expression representing the condition for 3041 Expr *getCond() const { return cast<Expr>(SubExprs[COND]); } function in class:clang::StringLiteral::OffsetOfExpr::ConditionalOperator 3056 return SourceRange(getCond()->getLocStart(), getRHS()->getLocEnd()); 3119 /// \brief getCond - Return the condition expression; this is defined 3121 Expr *getCond() const { return cast<Expr>(SubExprs[COND]); } function in class:clang::StringLiteral::OffsetOfExpr::BinaryConditionalOperator 3151 inline Expr *AbstractConditionalOperator::getCond() const { function in class:clang::StringLiteral::OffsetOfExpr::AbstractConditionalOperator 3153 return co->getCond(); 3154 return cast<BinaryConditionalOperator>(this)->getCond(); 3362 Expr *getCond() const { return cast<Expr>(SubExprs[COND]); } function in class:clang::StringLiteral::OffsetOfExpr::ChooseExpr [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 386 if (ConstantFoldsToSimpleInteger(S.getCond(), CondConstant)) { 411 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock); 469 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); 543 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); 589 if (S.getCond()) { 607 BoolCondVal = EvaluateExprAsBool(S.getCond()); 688 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); 1173 if (ConstantFoldsToSimpleInteger(S.getCond(), ConstantCondValue)) { 1197 llvm::Value *CondV = EmitScalarExpr(S.getCond());
|
H A D | CGExprComplex.cpp | 706 CGF.EmitBranchOnBoolExpr(E->getCond(), LHSBlock, RHSBlock);
|
H A D | CGExprAgg.cpp | 810 CGF.EmitBranchOnBoolExpr(E->getCond(), LHSBlock, RHSBlock);
|
H A D | CodeGenFunction.cpp | 729 EmitBranchOnBoolExpr(CondOp->getCond(), LHSBlock, RHSBlock);
|
/external/v8/tools/gcmole/ |
H A D | gcmole.cc | 648 Environment after_cond = env.ApplyEffect(VisitExpr(expr->getCond(), env)); 1028 block.Loop(stmt->getCond(), stmt->getBody()); 1036 block.Loop(stmt->getBody(), stmt->getCond()); 1044 block.Loop(stmt->getCond(), 1052 Environment cond_out = VisitStmt(stmt->getCond(), env); 1060 block.Seq(stmt->getCond(), stmt->getBody());
|
/external/clang/lib/Sema/ |
H A D | AnalysisBasedWarnings.cpp | 529 Range = IS->getCond()->getSourceRange(); 539 Range = CO->getCond()->getSourceRange(); 568 Range = cast<WhileStmt>(Term)->getCond()->getSourceRange(); 575 Range = cast<ForStmt>(Term)->getCond()->getSourceRange(); 587 Range = cast<DoStmt>(Term)->getCond()->getSourceRange();
|
H A D | TreeTransform.h | 5220 Cond = getDerived().TransformExpr(S->getCond()); 5226 if (S->getCond()) { 5237 if (!S->getConditionVariable() && S->getCond() && !FullCond.get()) 5251 FullCond.get() == S->getCond() && 5277 Cond = getDerived().TransformExpr(S->getCond()); 5315 Cond = getDerived().TransformExpr(S->getCond()); 5320 if (S->getCond()) { 5331 if (!S->getConditionVariable() && S->getCond() && !FullCond.get()) 5340 FullCond.get() == S->getCond() && 5358 ExprResult Cond = getDerived().TransformExpr(S->getCond()); [all...] |
H A D | SemaStmt.cpp | 628 Expr *CondExpr = SS->getCond(); 1213 Visit(E->getCond()); 1288 Visit(CO->getCond());
|
/external/clang/lib/Serialization/ |
H A D | ASTWriterStmt.cpp | 122 Writer.AddStmt(S->getCond()); 133 Writer.AddStmt(S->getCond()); 146 Writer.AddStmt(S->getCond()); 154 Writer.AddStmt(S->getCond()); 165 Writer.AddStmt(S->getCond()); 551 Writer.AddStmt(E->getCond()); 564 Writer.AddStmt(E->getCond()); 702 Writer.AddStmt(E->getCond()); 1037 Writer.AddStmt(S->getCond());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckSecuritySyntaxOnly.cpp | 221 const Expr *condition = FS->getCond();
|
H A D | IdempotentOperationChecker.cpp | 698 return CanVary(cast<AbstractConditionalOperator>(Ex)->getCond(), AC);
|
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 1825 const Expr *const Condition = Node.getCond();
|
/external/clang/tools/libclang/ |
H A D | CIndex.cpp | 1992 AddStmt(FS->getCond()); 2002 AddStmt(If->getCond()); 2063 AddStmt(S->getCond()); 2069 AddStmt(W->getCond());
|