Lines Matching refs:AndCst
236 CmpInst &ICI, ConstantInt *AndCst) { in FoldCmpLoadFromIndexedGlobal() argument
318 if (AndCst) Elt = ConstantExpr::getAnd(Elt, AndCst); in FoldCmpLoadFromIndexedGlobal()
1641 ConstantInt *AndCst = cast<ConstantInt>(LHSI->getOperand(1)); in visitICmpInstWithInstAndIntCst() local
1652 (!AndCst->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst()
1655 ConstantExpr::getZExt(AndCst, Cast->getSrcTy())); in visitICmpInstWithInstAndIntCst()
1671 ConstantExpr::getTrunc(AndCst, Ty)); in visitICmpInstWithInstAndIntCst()
1705 if (!ICI.isSigned() || (!AndCst->isNegative() && !RHS->isNegative())) in visitICmpInstWithInstAndIntCst()
1717 cast<ConstantInt>(ConstantExpr::getShl(AndCst, ShAmt)); in visitICmpInstWithInstAndIntCst()
1747 NewAndCst = ConstantExpr::getLShr(AndCst, ShAmt); in visitICmpInstWithInstAndIntCst()
1749 NewAndCst = ConstantExpr::getShl(AndCst, ShAmt); in visitICmpInstWithInstAndIntCst()
1767 NS = Builder->CreateShl(AndCst, Shift->getOperand(1)); in visitICmpInstWithInstAndIntCst()
1770 NS = Builder->CreateLShr(AndCst, Shift->getOperand(1)); in visitICmpInstWithInstAndIntCst()
1826 unsigned NTZ = AndCst->getValue().countTrailingZeros(); in visitICmpInstWithInstAndIntCst()
1827 if ((NTZ < AndCst->getBitWidth()) && in visitICmpInstWithInstAndIntCst()
1828 APInt::getOneBitSet(AndCst->getBitWidth(), NTZ).ugt(RHSV)) in visitICmpInstWithInstAndIntCst()