Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1573 if (ConstantInt *XorCst = dyn_cast<ConstantInt>(LHSI->getOperand(1))) { in visitICmpInstWithInstAndIntCst() local
1582 if (!XorCst->isNegative()) { in visitICmpInstWithInstAndIntCst()
1604 if (!ICI.isEquality() && XorCst->getValue().isSignBit()) { in visitICmpInstWithInstAndIntCst()
1605 const APInt &SignBit = XorCst->getValue(); in visitICmpInstWithInstAndIntCst()
1614 if (!ICI.isEquality() && XorCst->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst()
1615 const APInt &NotSignBit = XorCst->getValue(); in visitICmpInstWithInstAndIntCst()
1628 XorCst->getValue() == ~RHSV && (RHSV + 1).isPowerOf2()) in visitICmpInstWithInstAndIntCst()
1629 return new ICmpInst(ICmpInst::ICMP_ULT, LHSI->getOperand(0), XorCst); in visitICmpInstWithInstAndIntCst()
1634 XorCst->getValue() == -RHSV && RHSV.isPowerOf2()) in visitICmpInstWithInstAndIntCst()
1635 return new ICmpInst(ICmpInst::ICMP_UGE, LHSI->getOperand(0), XorCst); in visitICmpInstWithInstAndIntCst()