Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:ShAmt

963                                           ConstantInt *ShAmt) {
970 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits);
1191 ConstantInt *ShAmt;
1192 ShAmt = Shift ? dyn_cast<ConstantInt>(Shift->getOperand(1)) : 0;
1199 if (ShAmt) {
1205 int ShAmtVal = TyBits - ShAmt->getLimitedValue(TyBits);
1216 NewCst = ConstantExpr::getLShr(RHS, ShAmt);
1218 NewCst = ConstantExpr::getShl(RHS, ShAmt);
1223 NewCst, ShAmt) != RHS) {
1235 NewAndCST = ConstantExpr::getLShr(AndCST, ShAmt);
1237 NewAndCST = ConstantExpr::getShl(AndCST, ShAmt);
1341 case Instruction::Shl: { // (icmp pred (shl X, ShAmt), CI)
1343 ConstantInt *ShAmt = dyn_cast<ConstantInt>(LHSI->getOperand(1));
1344 if (!ShAmt) {
1420 if (ShAmt->uge(TypeBits))
1427 ConstantExpr::getShl(ConstantExpr::getLShr(RHS, ShAmt),
1428 ShAmt);
1439 ConstantExpr::getLShr(RHS, ShAmt));
1445 ConstantExpr::getLShr(RHS, ShAmt));
1449 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits);
1456 ConstantExpr::getLShr(RHS, ShAmt));
1476 TypeBits-ShAmt->getZExtValue()-1));
1489 unsigned Amt = ShAmt->getLimitedValue(TypeBits-1);
1505 case Instruction::LShr: // (icmp pred (shr X, ShAmt), CI)
1509 if (ConstantInt *ShAmt = dyn_cast<ConstantInt>(LHSI->getOperand(1))) {
1510 if (Instruction *Res = FoldICmpShrCst(ICI, BO, ShAmt))
2905 uint64_t ShAmt = 0;
2908 m_ConstantInt(ShAmt))))) &&
2915 if (ShAmt < ASize) {
2918 MaskV <<= ShAmt;
2921 CmpV <<= ShAmt;