Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:ShAmt

1097     Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize);
1098 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"),
1099 ShAmt);
1110 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize);
1111 Value *Res = Builder->CreateShl(TI->getOperand(0), ShAmt, "sext");
1112 return BinaryOperator::CreateAShr(Res, ShAmt);
1139 unsigned ShAmt = CA->getZExtValue()+SrcDstSize-MidSize;
1140 Constant *ShAmtV = ConstantInt::get(CI.getType(), ShAmt);
1655 ConstantInt *ShAmt = 0;
1657 m_ConstantInt(ShAmt)))) &&
1662 ShAmt->getZExtValue() % DestWidth == 0) {
1671 unsigned Elt = ShAmt->getZExtValue() / DestWidth;