Searched refs:KnownCond (Results 1 – 4 of 4) sorted by relevance
871 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode() local873 if (isa<ConstantInt>(KnownCond) && in processNode()874 cast<ConstantInt>(KnownCond)->isOne()) { in processNode()883 cast<CallInst>(Inst)->setArgOperand(0, KnownCond); in processNode()
904 bool KnownCond; in ComputeValueKnownInPredecessors() local907 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessors()913 KnownCond = (TrueVal != nullptr); in ComputeValueKnownInPredecessors()917 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in ComputeValueKnownInPredecessors()
555 bool KnownCond; in ComputeValueKnownInPredecessors() local558 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessors()564 KnownCond = (TrueVal != 0); in ComputeValueKnownInPredecessors()568 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in ComputeValueKnownInPredecessors()
634 bool KnownCond; in ComputeValueKnownInPredecessors() local637 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessors()643 KnownCond = (TrueVal != nullptr); in ComputeValueKnownInPredecessors()647 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in ComputeValueKnownInPredecessors()