Searched refs:DstEltTy (Results 1 – 5 of 5) sorted by relevance
78 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast() local90 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()92 unsigned FPWidth = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast()125 Constant *Zero = Constant::getNullValue(DstEltTy); in FoldBitCast()154 unsigned DstBitSize = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast()171 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
127 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast() local139 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()141 unsigned FPWidth = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast()174 Constant *Zero = Constant::getNullValue(DstEltTy); in FoldBitCast()205 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast()223 if (DstEltTy->isPointerTy()) { in FoldBitCast()226 Result.push_back(ConstantExpr::getIntToPtr(CE, DstEltTy)); in FoldBitCast()231 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
56 Type *DstEltTy = DstTy->getElementType(); in BitCastConstantVector() local63 C = ConstantExpr::getBitCast(C, DstEltTy); in BitCastConstantVector()571 Type *DstEltTy = DestVecTy->getElementType(); in ConstantFoldCastInstruction() local576 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()
66 Type *DstEltTy = DstTy->getElementType(); in BitCastConstantVector() local69 DstEltTy)); in BitCastConstantVector()557 Type *DstEltTy = DestVecTy->getElementType(); in ConstantFoldCastInstruction() local560 CV->getOperand(i), DstEltTy)); in ConstantFoldCastInstruction()
1071 *DstEltTy = DstTy->getVectorElementType(); in VisitConvertVectorExpr() local1090 if (isa<llvm::IntegerType>(DstEltTy)) in VisitConvertVectorExpr()1096 } else if (isa<llvm::IntegerType>(DstEltTy)) { in VisitConvertVectorExpr()1103 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()1105 if (DstEltTy->getTypeID() < SrcEltTy->getTypeID()) in VisitConvertVectorExpr()