Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp876 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode() local
878 if (isa<ConstantInt>(KnownCond) && in processNode()
879 cast<ConstantInt>(KnownCond)->isOne()) { in processNode()
888 cast<CallInst>(Inst)->setArgOperand(0, KnownCond); in processNode()
H A DJumpThreading.cpp908 bool KnownCond; in ComputeValueKnownInPredecessorsImpl() local
911 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessorsImpl()
917 KnownCond = (TrueVal != nullptr); in ComputeValueKnownInPredecessorsImpl()
921 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in ComputeValueKnownInPredecessorsImpl()