Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1357 LLT SrcEltTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1358 if (!DstTy.isVector() || SrcEltTy.isVector()) { in verifyPreISelGenericInstruction()
1363 if (DstTy.getElementType() != SrcEltTy) in verifyPreISelGenericInstruction()
1379 LLT SrcEltTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1380 if (!DstTy.isVector() || SrcEltTy.isVector()) in verifyPreISelGenericInstruction()
1387 if (SrcEltTy.getSizeInBits() <= DstTy.getElementType().getSizeInBits()) in verifyPreISelGenericInstruction()
1725 LLT SrcEltTy = SrcTy.getScalarType(); in verifyPreISelGenericInstruction() local
1726 if (!SrcEltTy.isScalar()) { in verifyPreISelGenericInstruction()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp1725 llvm::Type *SrcEltTy = cast<llvm::VectorType>(SrcTy)->getElementType(), in VisitConvertVectorExpr() local
1729 assert((SrcEltTy->isFloatingPointTy() || in VisitConvertVectorExpr()
1730 isa<llvm::IntegerType>(SrcEltTy)) && "Unknown boolean conversion"); in VisitConvertVectorExpr()
1733 if (SrcEltTy->isFloatingPointTy()) { in VisitConvertVectorExpr()
1743 if (isa<llvm::IntegerType>(SrcEltTy)) { in VisitConvertVectorExpr()
1752 assert(SrcEltTy->isFloatingPointTy() && "Unknown real conversion"); in VisitConvertVectorExpr()
1758 assert(SrcEltTy->isFloatingPointTy() && DstEltTy->isFloatingPointTy() && in VisitConvertVectorExpr()
1760 if (DstEltTy->getTypeID() < SrcEltTy->getTypeID()) in VisitConvertVectorExpr()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2641 LLT SrcEltTy = SrcTy.getElementType(); in lowerBitcast() local
2650 LLT SrcPartTy = SrcEltTy; // Original unmerge result type. in lowerBitcast()
2664 SrcPartTy = SrcEltTy; in lowerBitcast()
2675 SrcPartTy = LLT::fixed_vector(NumSrcElt / NumDstElt, SrcEltTy); in lowerBitcast()
2683 getUnmergePieces(SrcRegs, MIRBuilder, Src, SrcEltTy); in lowerBitcast()
2741 LLT SrcEltTy = SrcVecTy.getElementType(); in bitcastExtractVectorElt() local
2749 const unsigned OldEltSize = SrcEltTy.getSizeInBits(); in bitcastExtractVectorElt()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DAutoUpgrade.cpp2143 Type *SrcEltTy = cast<VectorType>(Arg1->getType())->getElementType(); in UpgradeIntrinsicCall() local
2144 PointerType *EltPtrTy = PointerType::getUnqual(SrcEltTy); in UpgradeIntrinsicCall()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp7962 QualType SrcEltTy, DestEltTy; in areVectorTypesSameSize() local
7963 if (!breakDownVectorType(SrcTy, SrcLen, SrcEltTy)) in areVectorTypesSameSize()
7971 uint64_t SrcEltSize = Context.getTypeSize(SrcEltTy); in areVectorTypesSameSize()
7998 QualType SrcEltTy, DestEltTy; in areSameVectorElemTypes() local
7999 if (!breakDownVectorType(SrcTy, SrcLen, SrcEltTy)) in areSameVectorElemTypes()
8004 return (SrcEltTy == DestEltTy); in areSameVectorElemTypes()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp8175 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() local
8176 if (SrcEltTy.bitsLT(SmallestEltTy)) in ReconstructShuffle()
8177 SmallestEltTy = SrcEltTy; in ReconstructShuffle()
8251 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle() local
8252 if (SrcEltTy == SmallestEltTy) in ReconstructShuffle()
8256 Src.WindowScale = SrcEltTy.getSizeInBits() / SmallestEltTy.getSizeInBits(); in ReconstructShuffle()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp10437 EVT SrcEltTy = Source.Vec.getValueType().getVectorElementType(); in ReconstructShuffle() local
10438 if (SrcEltTy.bitsLT(SmallestEltTy)) { in ReconstructShuffle()
10439 SmallestEltTy = SrcEltTy; in ReconstructShuffle()
10525 EVT SrcEltTy = Src.ShuffleVec.getValueType().getVectorElementType(); in ReconstructShuffle() local
10526 if (SrcEltTy == SmallestEltTy) in ReconstructShuffle()
10531 SrcEltTy.getFixedSizeInBits() / SmallestEltTy.getFixedSizeInBits(); in ReconstructShuffle()