reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1187 if (match(Op0, m_Shl(m_ZExt(m_Value(X)), m_Specific(Op1))) && 1188 ShAmt == BitWidth - X->getType()->getScalarSizeInBits()) 1189 return new SExtInst(X, Ty); 1194 if (match(Op0, m_NSWShl(m_Value(X), m_APInt(ShOp1))) && 1200 auto *NewAShr = BinaryOperator::CreateAShr(X, ShiftDiff); 1207 auto *NewShl = BinaryOperator::Create(Instruction::Shl, X, ShiftDiff); 1213 if (match(Op0, m_AShr(m_Value(X), m_APInt(ShOp1))) && 1219 return BinaryOperator::CreateAShr(X, ConstantInt::get(Ty, AmtSum)); 1222 if (match(Op0, m_OneUse(m_SExt(m_Value(X)))) && 1223 (Ty->isVectorTy() || shouldChangeType(Ty, X->getType()))) { 1225 Type *SrcTy = X->getType(); 1227 Value *NewSh = Builder.CreateAShr(X, ConstantInt::get(SrcTy, ShAmt));