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.cpp1465 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode() local
1467 if (isa<ConstantInt>(KnownCond) && in processNode()
1468 cast<ConstantInt>(KnownCond)->isOne()) { in processNode()
1478 cast<CallInst>(Inst).setArgOperand(0, KnownCond); in processNode()
H A DJumpThreading.cpp882 bool KnownCond; in computeValueKnownInPredecessorsImpl() local
885 KnownCond = CI->isOne(); in computeValueKnownInPredecessorsImpl()
891 KnownCond = (TrueVal != nullptr); in computeValueKnownInPredecessorsImpl()
895 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in computeValueKnownInPredecessorsImpl()