Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp78 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast() local
90 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()
/external/llvm/lib/Analysis/
DConstantFolding.cpp127 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast() local
139 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()
/external/llvm/lib/IR/
DConstantFold.cpp56 Type *DstEltTy = DstTy->getElementType(); in BitCastConstantVector() local
63 C = ConstantExpr::getBitCast(C, DstEltTy); in BitCastConstantVector()
571 Type *DstEltTy = DestVecTy->getElementType(); in ConstantFoldCastInstruction() local
576 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp66 Type *DstEltTy = DstTy->getElementType(); in BitCastConstantVector() local
69 DstEltTy)); in BitCastConstantVector()
557 Type *DstEltTy = DestVecTy->getElementType(); in ConstantFoldCastInstruction() local
560 CV->getOperand(i), DstEltTy)); in ConstantFoldCastInstruction()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1071 *DstEltTy = DstTy->getVectorElementType(); in VisitConvertVectorExpr() local
1090 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()