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()
2015 const TryResult& KnownVal = tryEvaluateBool(C->getCond()); in VisitConditionalOperator() local
2016 addSuccessor(Block, LHSBlock, !KnownVal.isFalse()); in VisitConditionalOperator()
2017 addSuccessor(Block, RHSBlock, !KnownVal.isTrue()); in VisitConditionalOperator()
2259 const TryResult &KnownVal = tryEvaluateBool(I->getCond()); in VisitIfStmt() local
2263 addSuccessor(Block, ThenBlock, /* isReachable = */ !KnownVal.isFalse()); in VisitIfStmt()
2264 addSuccessor(Block, ElseBlock, /* isReachable = */ !KnownVal.isTrue()); in VisitIfStmt()
2494 TryResult KnownVal(true); in VisitForStmt() local
2517 KnownVal = tryEvaluateBool(C); in VisitForStmt()
2521 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitForStmt()
2525 KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitForStmt()
2831 const TryResult& KnownVal = tryEvaluateBool(C); in VisitWhileStmt() local
2834 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitWhileStmt()
2838 KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitWhileStmt()
2936 const TryResult &KnownVal = tryEvaluateBool(D->getCond()); in VisitDoStmt() local
2972 if (!KnownVal.isFalse()) { in VisitDoStmt()
2992 addSuccessor(ExitConditionBlock, KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitDoStmt()
3441 TryResult KnownVal(true); in VisitCXXForRangeStmt() local
3444 KnownVal = tryEvaluateBool(S->getCond()); in VisitCXXForRangeStmt()
3483 KnownVal.isFalse() ? nullptr : LoopVarStmtBlock); in VisitCXXForRangeStmt()
3488 addSuccessor(ConditionBlock, KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitCXXForRangeStmt()