Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp871 if (auto *KnownCond = AvailableValues.lookup(CondI)) { in processNode() local
873 if (isa<ConstantInt>(KnownCond) && in processNode()
874 cast<ConstantInt>(KnownCond)->isOne()) { in processNode()
883 cast<CallInst>(Inst)->setArgOperand(0, KnownCond); in processNode()
DJumpThreading.cpp904 bool KnownCond; in ComputeValueKnownInPredecessors() local
907 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessors()
913 KnownCond = (TrueVal != nullptr); in ComputeValueKnownInPredecessors()
917 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in ComputeValueKnownInPredecessors()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp555 bool KnownCond; in ComputeValueKnownInPredecessors() local
558 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessors()
564 KnownCond = (TrueVal != 0); in ComputeValueKnownInPredecessors()
568 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in ComputeValueKnownInPredecessors()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp634 bool KnownCond; in ComputeValueKnownInPredecessors() local
637 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessors()
643 KnownCond = (TrueVal != nullptr); in ComputeValueKnownInPredecessors()
647 if (Constant *Val = KnownCond ? TrueVal : FalseVal) in ComputeValueKnownInPredecessors()