Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp473 LLT DstEltTy = LLTy.getElementType(); in buildCopyFromRegs() local
479 assert(DstEltTy.getSizeInBits() == RealDstEltTy.getSizeInBits()); in buildCopyFromRegs()
481 if (DstEltTy == PartLLT) { in buildCopyFromRegs()
490 } else if (DstEltTy.getSizeInBits() > PartLLT.getSizeInBits()) { in buildCopyFromRegs()
495 divideCeil(DstEltTy.getSizeInBits(), PartLLT.getSizeInBits()); in buildCopyFromRegs()
H A DLegalizerHelper.cpp3144 LLT DstEltTy = DstTy.getElementType(); in lowerBitcast() local
3145 LLT DstCastTy = DstEltTy; // Intermediate bitcast result type in lowerBitcast()
3159 DstCastTy = LLT::fixed_vector(NumDstElt / NumSrcElt, DstEltTy); in lowerBitcast()
3172 DstCastTy = DstEltTy; in lowerBitcast()
H A DCombinerHelper.cpp6294 LLT DstEltTy = DstVecTy.getElementType(); in matchBuildVectorIdentityFold() local
6312 if (Lo == Hi && ShiftAmount->Value == DstEltTy.getSizeInBits()) { in matchBuildVectorIdentityFold()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp644 LLT DstEltTy = DstTy.getElementType(); in legalizeExt() local
645 auto SplatZero = MIB.buildSplatVector(DstTy, MIB.buildConstant(DstEltTy, 0)); in legalizeExt()
647 MIB.buildSplatVector(DstTy, MIB.buildConstant(DstEltTy, ExtTrueVal)); in legalizeExt()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp167 Type *DstEltTy = DestVecTy->getElementType(); in ConstantFoldCastInstruction() local
170 Constant *Res = foldMaybeUndesirableCast(opc, Splat, DstEltTy); in ConstantFoldCastInstruction()
182 Constant *Casted = foldMaybeUndesirableCast(opc, C, DstEltTy); in ConstantFoldCastInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp164 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast() local
176 if (DstEltTy->isFloatingPointTy()) { in FoldBitCast()
178 unsigned FPWidth = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
211 Constant *Zero = Constant::getNullValue(DstEltTy); in FoldBitCast()
253 unsigned DstBitSize = DL.getTypeSizeInBits(DstEltTy); in FoldBitCast()
264 Result.append(Ratio, UndefValue::get(DstEltTy)); in FoldBitCast()
280 Result.push_back(ConstantInt::get(DstEltTy, Elt.trunc(DstBitSize))); in FoldBitCast()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1892 *DstEltTy = cast<llvm::VectorType>(DstTy)->getElementType(); in VisitConvertVectorExpr()
1911 if (isa<llvm::IntegerType>(DstEltTy)) in VisitConvertVectorExpr()
1917 } else if (isa<llvm::IntegerType>(DstEltTy)) { in VisitConvertVectorExpr()
1924 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()
1926 if (DstEltTy->getTypeID() < SrcEltTy->getTypeID()) in VisitConvertVectorExpr()