Home
last modified time | relevance | path

Searched refs:SrcEltTy (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp72 Constant *C, Type *SrcEltTy, in foldConstVectorToAPInt() argument
77 unsigned BitShift = DL.getTypeSizeInBits(SrcEltTy); in foldConstVectorToAPInt()
116 Type *SrcEltTy = VTy->getElementType(); in FoldBitCast() local
120 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
121 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
130 SrcEltTy, NumSrcElts, DL)) in FoldBitCast()
163 Type *SrcEltTy = cast<VectorType>(C->getType())->getElementType(); in FoldBitCast() local
190 if (SrcEltTy->isFloatingPointTy()) { in FoldBitCast()
191 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
213 unsigned SrcBitSize = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1479 LLT SrcEltTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1480 if (!DstTy.isVector() || SrcEltTy.isVector()) { in verifyPreISelGenericInstruction()
1485 if (DstTy.getElementType() != SrcEltTy) in verifyPreISelGenericInstruction()
1501 LLT SrcEltTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1502 if (!DstTy.isVector() || SrcEltTy.isVector()) in verifyPreISelGenericInstruction()
1509 if (SrcEltTy.getSizeInBits() <= DstTy.getElementType().getSizeInBits()) in verifyPreISelGenericInstruction()
2076 LLT SrcEltTy = SrcTy.getScalarType(); in verifyPreISelGenericInstruction() local
2077 if (!SrcEltTy.isScalar()) { in verifyPreISelGenericInstruction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp523 LLT SrcEltTy = MRI.getType(Regs[0]); in buildCopyFromRegs() local
529 assert((SrcEltTy.getSizeInBits() % OriginalEltTy.getSizeInBits()) == 0); in buildCopyFromRegs()
531 (SrcEltTy.getSizeInBits() / OriginalEltTy.getSizeInBits()); in buildCopyFromRegs()
H A DLegalizerHelper.cpp3137 LLT SrcEltTy = SrcTy.getElementType(); in lowerBitcast() local
3146 LLT SrcPartTy = SrcEltTy; // Original unmerge result type. in lowerBitcast()
3160 SrcPartTy = SrcEltTy; in lowerBitcast()
3171 SrcPartTy = LLT::fixed_vector(NumSrcElt / NumDstElt, SrcEltTy); in lowerBitcast()
3179 getUnmergePieces(SrcRegs, MIRBuilder, Src, SrcEltTy); in lowerBitcast()
3233 LLT SrcEltTy = SrcVecTy.getElementType(); in bitcastExtractVectorElt() local
3241 const unsigned OldEltSize = SrcEltTy.getSizeInBits(); in bitcastExtractVectorElt()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1891 llvm::Type *SrcEltTy = cast<llvm::VectorType>(SrcTy)->getElementType(), in VisitConvertVectorExpr() local
1895 assert((SrcEltTy->isFloatingPointTy() || in VisitConvertVectorExpr()
1896 isa<llvm::IntegerType>(SrcEltTy)) && "Unknown boolean conversion"); in VisitConvertVectorExpr()
1899 if (SrcEltTy->isFloatingPointTy()) { in VisitConvertVectorExpr()
1909 if (isa<llvm::IntegerType>(SrcEltTy)) { in VisitConvertVectorExpr()
1918 assert(SrcEltTy->isFloatingPointTy() && "Unknown real conversion"); in VisitConvertVectorExpr()
1924 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()
1926 if (DstEltTy->getTypeID() < SrcEltTy->getTypeID()) in VisitConvertVectorExpr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1258 Type *SrcEltTy = SrcTy->getElementType(); in createSimpleTargetReduction() local
1260 Desc.getRecurrenceIdentity(Kind, SrcEltTy, Desc.getFastMathFlags()); in createSimpleTargetReduction()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp2264 Type *SrcEltTy = cast<VectorType>(Arg1->getType())->getElementType(); in upgradeX86IntrinsicCall() local
2265 PointerType *EltPtrTy = PointerType::getUnqual(SrcEltTy); in upgradeX86IntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp8252 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() local
8253 if (SrcEltTy.bitsLT(SmallestEltTy)) in ReconstructShuffle()
8254 SmallestEltTy = SrcEltTy; in ReconstructShuffle()
8328 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle() local
8329 if (SrcEltTy == SmallestEltTy) in ReconstructShuffle()
8333 Src.WindowScale = SrcEltTy.getSizeInBits() / SmallestEltTy.getSizeInBits(); in ReconstructShuffle()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp12179 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() local
12180 if (SrcEltTy.bitsLT(SmallestEltTy)) { in ReconstructShuffle()
12181 SmallestEltTy = SrcEltTy; in ReconstructShuffle()
12267 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle() local
12268 if (SrcEltTy == SmallestEltTy) in ReconstructShuffle()
12278 SrcEltTy.getFixedSizeInBits() / SmallestEltTy.getFixedSizeInBits(); in ReconstructShuffle()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp7474 QualType SrcEltTy, DestEltTy; in areVectorTypesSameSize() local
7475 if (!breakDownVectorType(SrcTy, SrcLen, SrcEltTy)) in areVectorTypesSameSize()
7483 uint64_t SrcEltSize = Context.getTypeSize(SrcEltTy); in areVectorTypesSameSize()