Lines Matching refs:KnownVal
2446 TryResult KnownVal = tryEvaluateBool(RHS); in VisitLogicalOperator() local
2447 if (!KnownVal.isKnown()) in VisitLogicalOperator()
2448 KnownVal = tryEvaluateBool(B); in VisitLogicalOperator()
2456 addSuccessor(RHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
2457 addSuccessor(RHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
2496 TryResult KnownVal = tryEvaluateBool(LHS); in VisitLogicalOperator() local
2500 addSuccessor(LHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
2501 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
2504 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
2505 addSuccessor(LHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
2700 const TryResult& KnownVal = tryEvaluateBool(C->getCond()); in VisitChooseExpr() local
2701 addSuccessor(Block, KnownVal.isFalse() ? nullptr : LHSBlock); in VisitChooseExpr()
2702 addSuccessor(Block, KnownVal.isTrue() ? nullptr : RHSBlock); in VisitChooseExpr()
2785 const TryResult& KnownVal = tryEvaluateBool(C->getCond()); in VisitConditionalOperator() local
2786 addSuccessor(Block, LHSBlock, !KnownVal.isFalse()); in VisitConditionalOperator()
2787 addSuccessor(Block, RHSBlock, !KnownVal.isTrue()); in VisitConditionalOperator()
3057 const TryResult &KnownVal = tryEvaluateBool(I->getCond()); in VisitIfStmt() local
3061 addSuccessor(Block, ThenBlock, /* IsReachable = */ !KnownVal.isFalse()); in VisitIfStmt()
3062 addSuccessor(Block, ElseBlock, /* IsReachable = */ !KnownVal.isTrue()); in VisitIfStmt()
3448 TryResult KnownVal(true); in VisitForStmt() local
3477 KnownVal = tryEvaluateBool(C); in VisitForStmt()
3481 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitForStmt()
3485 KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitForStmt()
3809 const TryResult& KnownVal = tryEvaluateBool(C); in VisitWhileStmt() local
3812 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitWhileStmt()
3816 KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitWhileStmt()
3924 const TryResult &KnownVal = tryEvaluateBool(D->getCond()); in VisitDoStmt() local
3970 if (!KnownVal.isFalse()) in VisitDoStmt()
3979 addSuccessor(ExitConditionBlock, KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitDoStmt()
4444 TryResult KnownVal(true); in VisitCXXForRangeStmt() local
4447 KnownVal = tryEvaluateBool(S->getCond()); in VisitCXXForRangeStmt()
4488 KnownVal.isFalse() ? nullptr : LoopVarStmtBlock); in VisitCXXForRangeStmt()
4493 addSuccessor(ConditionBlock, KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitCXXForRangeStmt()