Home
last modified time | relevance | path

Searched refs:KnownCond (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1472 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode() local
1474 if (isa<ConstantInt>(KnownCond) && in processNode()
1475 cast<ConstantInt>(KnownCond)->isOne()) { in processNode()
1485 cast<CallInst>(Inst).setArgOperand(0, KnownCond); in processNode()
H A DJumpThreading.cpp879 bool KnownCond; in computeValueKnownInPredecessorsImpl() local
882 KnownCond = CI->isOne(); in computeValueKnownInPredecessorsImpl()
888 KnownCond = (TrueVal != nullptr); in computeValueKnownInPredecessorsImpl()
892 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in computeValueKnownInPredecessorsImpl()