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

1 2 3

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
LoopWidening.cpp 33 return cast<ForStmt>(LoopStmt)->getCond();
35 return cast<WhileStmt>(LoopStmt)->getCond();
37 return cast<DoStmt>(LoopStmt)->getCond();
CoreEngine.cpp 317 HandleBranch(cast<AbstractConditionalOperator>(Term)->getCond(),
325 HandleBranch(cast<ChooseExpr>(Term)->getCond(), Term, B, Pred);
341 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred);
345 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred);
349 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred);
359 HandleBranch(cast<IfStmt>(Term)->getCond(), Term, B, Pred);
389 SwitchNodeBuilder builder(Pred, B, cast<SwitchStmt>(Term)->getCond(),
397 HandleBranch(cast<WhileStmt>(Term)->getCond(), Term, B, Pred);
BugReporter.cpp 660 if (allowNestedContexts || cast<ChooseExpr>(Parent)->getCond() == S)
669 cast<AbstractConditionalOperator>(Parent)->getCond() == S)
684 if (cast<IfStmt>(Parent)->getCond() != S)
692 if (cast<WhileStmt>(Parent)->getCond() != S)
1365 return cast<IfStmt>(S)->getCond() == Cond;
1367 return cast<ForStmt>(S)->getCond() == Cond;
1369 return cast<WhileStmt>(S)->getCond() == Cond;
1371 return cast<DoStmt>(S)->getCond() == Cond;
1373 return cast<ChooseExpr>(S)->getCond() == Cond;
1377 return cast<SwitchStmt>(S)->getCond() == Cond
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ParentMap.cpp 62 M[BCO->getCond()] = S;
63 BuildParentMap(M, BCO->getCond(), OV_Opaque);
197 return DirectChild == cast<ForStmt>(P)->getCond();
199 return DirectChild == cast<WhileStmt>(P)->getCond();
201 return DirectChild == cast<DoStmt>(P)->getCond();
203 return DirectChild == cast<IfStmt>(P)->getCond();
207 return DirectChild == cast<SwitchStmt>(P)->getCond();
StmtPrinter.cpp 244 PrintExpr(If->getCond());
286 PrintExpr(Node->getCond());
296 PrintExpr(Node->getCond());
313 PrintExpr(Node->getCond());
322 OS << (Node->getCond() ? "; " : ";");
323 if (Node->getCond())
324 PrintExpr(Node->getCond());
1470 PrintExpr(Node->getCond());
1498 PrintExpr(Node->getCond());
ComputeDependence.cpp 152 return E->getCond()->getDependence() | E->getLHS()->getDependence() |
187 E->getCond()->getDependence() | E->getLHS()->getDependence() |
190 auto Cond = E->getCond()->getDependence();
Stmt.cpp 989 return isa<ObjCAvailabilityCheckExpr>(getCond());
993 if (!isConstexpr() || getCond()->isValueDependent())
995 return !getCond()->EvaluateKnownConstInt(Ctx) ? getElse() : getThen();
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
IdenticalExprChecker.cpp 118 if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*IgnoreSideEffects=*/ false)) {
119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC);
136 const Expr *Cond1 = I->getCond();
139 const Expr *Cond2 = I2->getCond();
382 if (!isIdenticalStmt(Ctx, ForStmt1->getCond(), ForStmt2->getCond(),
397 if (!isIdenticalStmt(Ctx, DStmt1->getCond(), DStmt2->getCond(),
409 if (!isIdenticalStmt(Ctx, WStmt1->getCond(), WStmt2->getCond()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransEmptyStatementsAndDealloc.cpp 98 Expr *condE = S->getCond();
110 Expr *condE = S->getCond();
120 Expr *condE = S->getCond();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenPGO.cpp 506 CountMap[S->getCond()] = CondCount;
507 Visit(S->getCond());
527 CountMap[S->getCond()] = CondCount;
528 Visit(S->getCond());
560 if (S->getCond()) {
561 CountMap[S->getCond()] = CondCount;
562 Visit(S->getCond());
596 CountMap[S->getCond()] = CondCount;
597 Visit(S->getCond());
623 Visit(S->getCond());
    [all...]
CoverageMappingGen.cpp 1091 propagateCounts(CondCount, S->getCond());
1109 createBranchRegion(S->getCond(), BodyCount,
1129 propagateCounts(CondCount, S->getCond());
1139 createBranchRegion(S->getCond(), BodyCount,
1179 if (const Expr *Cond = S->getCond()) {
1199 createBranchRegion(S->getCond(), BodyCount,
1238 createBranchRegion(S->getCond(), BodyCount,
1273 Visit(S->getCond());
1334 createBranchRegion(S->getCond(), DefaultTrue, DefaultFalse);
1368 extendRegion(S->getCond());
    [all...]
CGStmt.cpp 711 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange());
722 if (ConstantFoldsToSimpleInteger(S.getCond(), CondConstant,
758 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, Count, LH);
820 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond());
840 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()));
916 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond());
937 createProfileWeightsForLoop(S.getCond(), BackedgeCount));
970 !S.getCond() || S.getCond()->EvaluateAsInt(Result, getContext());
995 if (S.getCond()) {
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
EvaluatedExprVisitor.h 59 if (E->getCond()->isValueDependent())
StmtCXX.h 166 Expr *getCond() { return cast_or_null<Expr>(SubExprs[COND]); }
180 const Expr *getCond() const {
Stmt.h 1982 Expr *getCond() {
1986 const Expr *getCond() const {
2185 Expr *getCond() {
2189 const Expr *getCond() const {
2290 : reinterpret_cast<const Stmt *>(getCond())->getEndLoc();
2365 Expr *getCond() {
2369 const Expr *getCond() const {
2467 Expr *getCond() { return reinterpret_cast<Expr *>(SubExprs[COND]); }
2468 const Expr *getCond() const {
2537 Expr *getCond() { return reinterpret_cast<Expr*>(SubExprs[COND]);
    [all...]
Expr.h 4043 // getCond - Return the expression representing the condition for
4045 Expr *getCond() const;
4088 // getCond - Return the expression representing the condition for
4090 Expr *getCond() const { return cast<Expr>(SubExprs[COND]); }
4105 return getCond()->getBeginLoc();
4169 /// getCond - Return the condition expression; this is defined
4171 Expr *getCond() const { return cast<Expr>(SubExprs[COND]); }
4207 inline Expr *AbstractConditionalOperator::getCond() const {
4209 return co->getCond();
4210 return cast<BinaryConditionalOperator>(this)->getCond();
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
CFG.cpp 2700 const TryResult& KnownVal = tryEvaluateBool(C->getCond());
2704 return addStmt(C->getCond());
2777 dyn_cast<BinaryOperator>(C->getCond()->IgnoreParens()))
2785 const TryResult& KnownVal = tryEvaluateBool(C->getCond());
2789 Expr *condExpr = C->getCond();
3045 : dyn_cast<BinaryOperator>(I->getCond()->IgnoreParens());
3057 const TryResult &KnownVal = tryEvaluateBool(I->getCond());
3067 LastBlock = addStmt(I->getCond());
3430 Expr *C = F->getCond();
3766 Expr *C = W->getCond();
    [all...]
LiveVariables.cpp 286 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<IfStmt>(S)->getCond());
293 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<WhileStmt>(S)->getCond());
300 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<DoStmt>(S)->getCond());
307 AddLiveExpr(val.liveExprs, LV.ESetFact, cast<ForStmt>(S)->getCond());
CalledOnceCheck.cpp 415 return If->getCond();
418 return Ternary->getCond();
ReachableCode.cpp 54 const Expr *Cond = DS->getCond()->IgnoreParenCasts();
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
ByteCodeStmtGen.cpp 199 if (!this->visitBool(IS->getCond()))
  /src/external/apache2/llvm/dist/clang/lib/Sema/
AnalysisBasedWarnings.cpp 874 Range = IS->getCond()->getSourceRange();
884 Range = CO->getCond()->getSourceRange();
913 Range = cast<WhileStmt>(Term)->getCond()->getSourceRange();
920 Range = cast<ForStmt>(Term)->getCond()->getSourceRange();
943 Range = cast<DoStmt>(Term)->getCond()->getSourceRange();
1341 if (!cast<DoStmt>(S)->getCond()->EvaluateAsInt(Result, Ctx))
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTWriterStmt.cpp 146 Record.AddStmt(S->getCond());
173 Record.AddStmt(S->getCond());
196 Record.AddStmt(S->getCond());
209 Record.AddStmt(S->getCond());
220 Record.AddStmt(S->getCond());
986 Record.AddStmt(E->getCond());
999 Record.AddStmt(E->getCond());
1176 Record.AddStmt(E->getCond());
1544 Record.AddStmt(S->getCond());
  /src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
OMPIRBuilder.h 1135 BasicBlock *getCond() const { return Cond; }
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
BuildTree.cpp 815 } else if (S->getCond() && !TraverseStmt(S->getCond()))
1459 Stmt *ConditionStatement = S->getCond();

Completed in 79 milliseconds

1 2 3