Lines Matching refs:KnownVal
1697 TryResult KnownVal = tryEvaluateBool(RHS); in VisitLogicalOperator() local
1698 if (!KnownVal.isKnown()) in VisitLogicalOperator()
1699 KnownVal = tryEvaluateBool(B); in VisitLogicalOperator()
1700 addSuccessor(RHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
1701 addSuccessor(RHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
1740 TryResult KnownVal = tryEvaluateBool(LHS); in VisitLogicalOperator() local
1744 addSuccessor(LHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
1745 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
1748 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
1749 addSuccessor(LHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
1934 const TryResult& KnownVal = tryEvaluateBool(C->getCond()); in VisitChooseExpr() local
1935 addSuccessor(Block, KnownVal.isFalse() ? nullptr : LHSBlock); in VisitChooseExpr()
1936 addSuccessor(Block, KnownVal.isTrue() ? nullptr : RHSBlock); in VisitChooseExpr()
2016 const TryResult& KnownVal = tryEvaluateBool(C->getCond()); in VisitConditionalOperator() local
2017 addSuccessor(Block, LHSBlock, !KnownVal.isFalse()); in VisitConditionalOperator()
2018 addSuccessor(Block, RHSBlock, !KnownVal.isTrue()); in VisitConditionalOperator()
2267 const TryResult &KnownVal = tryEvaluateBool(I->getCond()); in VisitIfStmt() local
2271 addSuccessor(Block, ThenBlock, /* isReachable = */ !KnownVal.isFalse()); in VisitIfStmt()
2272 addSuccessor(Block, ElseBlock, /* isReachable = */ !KnownVal.isTrue()); in VisitIfStmt()
2508 TryResult KnownVal(true); in VisitForStmt() local
2531 KnownVal = tryEvaluateBool(C); in VisitForStmt()
2535 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitForStmt()
2539 KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitForStmt()
2845 const TryResult& KnownVal = tryEvaluateBool(C); in VisitWhileStmt() local
2848 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitWhileStmt()
2852 KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitWhileStmt()
2950 const TryResult &KnownVal = tryEvaluateBool(D->getCond()); in VisitDoStmt() local
2986 if (!KnownVal.isFalse()) { in VisitDoStmt()
3006 addSuccessor(ExitConditionBlock, KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitDoStmt()
3470 TryResult KnownVal(true); in VisitCXXForRangeStmt() local
3473 KnownVal = tryEvaluateBool(S->getCond()); in VisitCXXForRangeStmt()
3514 KnownVal.isFalse() ? nullptr : LoopVarStmtBlock); in VisitCXXForRangeStmt()
3519 addSuccessor(ConditionBlock, KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitCXXForRangeStmt()