Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1298 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode() local
1300 if (isa<ConstantInt>(KnownCond) && in processNode()
1301 cast<ConstantInt>(KnownCond)->isOne()) { in processNode()
1311 cast<CallInst>(Inst).setArgOperand(0, KnownCond); in processNode()
H A DJumpThreading.cpp964 bool KnownCond; in computeValueKnownInPredecessorsImpl() local
967 KnownCond = CI->isOne(); in computeValueKnownInPredecessorsImpl()
973 KnownCond = (TrueVal != nullptr); in computeValueKnownInPredecessorsImpl()
977 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in computeValueKnownInPredecessorsImpl()