Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:ShAmt

1079     Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize);
1080 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"),
1081 ShAmt);
1092 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize);
1093 Value *Res = Builder->CreateShl(TI->getOperand(0), ShAmt, "sext");
1094 return BinaryOperator::CreateAShr(Res, ShAmt);
1121 unsigned ShAmt = CA->getZExtValue()+SrcDstSize-MidSize;
1122 Constant *ShAmtV = ConstantInt::get(CI.getType(), ShAmt);
1758 ConstantInt *ShAmt = nullptr;
1760 m_ConstantInt(ShAmt)))) &&
1765 ShAmt->getZExtValue() % DestWidth == 0) {
1774 unsigned Elt = ShAmt->getZExtValue() / DestWidth;