Home
last modified time | relevance | path

Searched refs:DstEltTy (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Analysis/
DConstantFolding.cpp122 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast() local
134 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
136 unsigned FPWidth = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
169 Constant *Zero = Constant::getNullValue(DstEltTy); in FoldBitCast()
200 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast()
218 if (DstEltTy->isPointerTy()) { in FoldBitCast()
221 Result.push_back(ConstantExpr::getIntToPtr(CE, DstEltTy)); in FoldBitCast()
226 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
/external/llvm/lib/IR/
DConstantFold.cpp58 Type *DstEltTy = DstTy->getElementType(); in BitCastConstantVector() local
65 C = ConstantExpr::getBitCast(C, DstEltTy); in BitCastConstantVector()
572 Type *DstEltTy = DestVecTy->getElementType(); in ConstantFoldCastInstruction() local
577 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1086 *DstEltTy = DstTy->getVectorElementType(); in VisitConvertVectorExpr() local
1105 if (isa<llvm::IntegerType>(DstEltTy)) in VisitConvertVectorExpr()
1111 } else if (isa<llvm::IntegerType>(DstEltTy)) { in VisitConvertVectorExpr()
1118 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()
1120 if (DstEltTy->getTypeID() < SrcEltTy->getTypeID()) in VisitConvertVectorExpr()