reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
188 if (!match(X, m_InsertElement(m_Value(), m_Value(Scalar), 235 Type *SrcIntTy = IntegerType::getIntNTy(Scalar->getContext(), SrcWidth); 236 Scalar = Builder.CreateBitCast(Scalar, SrcIntTy); 236 Scalar = Builder.CreateBitCast(Scalar, SrcIntTy); 243 Scalar = Builder.CreateLShr(Scalar, ShAmt); 243 Scalar = Builder.CreateLShr(Scalar, ShAmt); 247 Type *DestIntTy = IntegerType::getIntNTy(Scalar->getContext(), DestWidth); 248 return new BitCastInst(Builder.CreateTrunc(Scalar, DestIntTy), DestTy); 250 return new TruncInst(Scalar, DestTy);