Lines Matching refs:DstTy
44 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) {
46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy);
47 if (CV->isNullValue()) return Constant::getNullValue(DstTy);
52 unsigned NumElts = DstTy->getNumElements();
56 Type *DstEltTy = DstTy->getElementType();
78 Type *DstTy ///< desintation type of the first cast
81 assert(DstTy && DstTy->isFirstClassType() && "Invalid cast destination type");
91 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy,
92 Type::getInt64Ty(DstTy->getContext()));