Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp523 LLT DstEltTy = LLTy.getElementType(); in packSplitRegsToOrigType() local
529 assert(DstEltTy.getSizeInBits() == RealDstEltTy.getSizeInBits()); in packSplitRegsToOrigType()
531 if (DstEltTy == PartLLT) { in packSplitRegsToOrigType()
540 } else if (DstEltTy.getSizeInBits() > PartLLT.getSizeInBits()) { in packSplitRegsToOrigType()
544 int PartsPerElt = DstEltTy.getSizeInBits() / PartLLT.getSizeInBits(); in packSplitRegsToOrigType()
546 assert(DstEltTy.getSizeInBits() % PartLLT.getSizeInBits() == 0); in packSplitRegsToOrigType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp160 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast() local
172 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
174 unsigned FPWidth = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
207 Constant *Zero = Constant::getNullValue(DstEltTy); in FoldBitCast()
242 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast()
253 Result.append(Ratio, UndefValue::get(DstEltTy)); in FoldBitCast()
271 if (DstEltTy->isPointerTy()) { in FoldBitCast()
274 Result.push_back(ConstantExpr::getIntToPtr(CE, DstEltTy)); in FoldBitCast()
279 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp57 Type *DstEltTy = DstTy->getElementType(); in BitCastConstantVector() local
64 C = ConstantExpr::getBitCast(C, DstEltTy); in BitCastConstantVector()
577 Type *DstEltTy = DestVecTy->getElementType(); in ConstantFoldCastInstruction() local
582 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()