Lines Matching refs:AndCst
229 CmpInst &ICI, ConstantInt *AndCst) { in FoldCmpLoadFromIndexedGlobal() argument
311 if (AndCst) Elt = ConstantExpr::getAnd(Elt, AndCst); in FoldCmpLoadFromIndexedGlobal()
1316 ConstantInt *AndCst = cast<ConstantInt>(LHSI->getOperand(1)); in visitICmpInstWithInstAndIntCst() local
1327 (!AndCst->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst()
1330 ConstantExpr::getZExt(AndCst, Cast->getSrcTy())); in visitICmpInstWithInstAndIntCst()
1346 ConstantExpr::getTrunc(AndCst, Ty)); in visitICmpInstWithInstAndIntCst()
1380 if (!ICI.isSigned() || (!AndCst->isNegative() && !RHS->isNegative())) in visitICmpInstWithInstAndIntCst()
1392 cast<ConstantInt>(ConstantExpr::getShl(AndCst, ShAmt)); in visitICmpInstWithInstAndIntCst()
1422 NewAndCst = ConstantExpr::getLShr(AndCst, ShAmt); in visitICmpInstWithInstAndIntCst()
1424 NewAndCst = ConstantExpr::getShl(AndCst, ShAmt); in visitICmpInstWithInstAndIntCst()
1442 NS = Builder->CreateShl(AndCst, Shift->getOperand(1)); in visitICmpInstWithInstAndIntCst()
1445 NS = Builder->CreateLShr(AndCst, Shift->getOperand(1)); in visitICmpInstWithInstAndIntCst()
1501 unsigned NTZ = AndCst->getValue().countTrailingZeros(); in visitICmpInstWithInstAndIntCst()
1502 if ((NTZ < AndCst->getBitWidth()) && in visitICmpInstWithInstAndIntCst()
1503 APInt::getOneBitSet(AndCst->getBitWidth(), NTZ).ugt(RHSV)) in visitICmpInstWithInstAndIntCst()