Home
last modified time | relevance | path

Searched refs:DstEltTy (Results 1 – 7 of 7) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp155 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast() local
167 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
169 unsigned FPWidth = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
202 Constant *Zero = Constant::getNullValue(DstEltTy); in FoldBitCast()
237 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast()
248 Result.append(Ratio, UndefValue::get(DstEltTy)); in FoldBitCast()
266 if (DstEltTy->isPointerTy()) { in FoldBitCast()
269 Result.push_back(ConstantExpr::getIntToPtr(CE, DstEltTy)); in FoldBitCast()
274 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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp57 Type *DstEltTy = DstTy->getElementType(); in BitCastConstantVector() local
64 C = ConstantExpr::getBitCast(C, DstEltTy); in BitCastConstantVector()
575 Type *DstEltTy = DestVecTy->getElementType(); in ConstantFoldCastInstruction() local
580 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()
/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()