Home
last modified time | relevance | path

Searched refs:Op1CV (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp509 const APInt &Op1CV = Op1C->getValue(); in transformZExtICmp() local
513 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || in transformZExtICmp()
514 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { in transformZExtICmp()
542 if ((Op1CV == 0 || Op1CV.isPowerOf2()) && in transformZExtICmp()
556 if (Op1CV != 0 && (Op1CV != KnownZeroMask)) { in transformZExtICmp()
574 if ((Op1CV != 0) == isNE) { // Toggle the low bit. in transformZExtICmp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp589 const APInt &Op1CV = Op1C->getValue(); in transformZExtICmp() local
593 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || in transformZExtICmp()
594 (ICI->getPredicate() == ICmpInst::ICMP_SGT && Op1CV.isAllOnesValue())) { in transformZExtICmp()
620 if ((Op1CV == 0 || Op1CV.isPowerOf2()) && in transformZExtICmp()
633 if (Op1CV != 0 && (Op1CV != KnownZeroMask)) { in transformZExtICmp()
651 if ((Op1CV != 0) == isNE) { // Toggle the low bit. in transformZExtICmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp814 const APInt *Op1CV; in transformZExtICmp() local
815 if (match(ICI->getOperand(1), m_APInt(Op1CV))) { in transformZExtICmp()
819 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV->isNullValue()) || in transformZExtICmp()
820 (ICI->getPredicate() == ICmpInst::ICMP_SGT && Op1CV->isAllOnesValue())) { in transformZExtICmp()
846 if ((Op1CV->isNullValue() || Op1CV->isPowerOf2()) && in transformZExtICmp()
857 if (!Op1CV->isNullValue() && (*Op1CV != KnownZeroMask)) { in transformZExtICmp()
873 if (!Op1CV->isNullValue() == isNE) { // Toggle the low bit. in transformZExtICmp()