Searched refs:VecEltTy (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 488 Type *VecEltTy = VectorTy->getElementType(); in promoteAllocaUserToVector() local 518 assert(AccessSize.isKnownMultipleOf(DL.getTypeStoreSize(VecEltTy))); in promoteAllocaUserToVector() 519 const unsigned NumLoadedElts = AccessSize / DL.getTypeStoreSize(VecEltTy); in promoteAllocaUserToVector() 520 auto *SubVecTy = FixedVectorType::get(VecEltTy, NumLoadedElts); in promoteAllocaUserToVector() 543 if (AccessTy != VecEltTy) in promoteAllocaUserToVector() 573 assert(AccessSize.isKnownMultipleOf(DL.getTypeStoreSize(VecEltTy))); in promoteAllocaUserToVector() 575 AccessSize / DL.getTypeStoreSize(VecEltTy); in promoteAllocaUserToVector() 577 auto *SubVecTy = FixedVectorType::get(VecEltTy, NumWrittenElts); in promoteAllocaUserToVector() 598 if (Val->getType() != VecEltTy) in promoteAllocaUserToVector() 599 Val = Builder.CreateBitOrPointerCast(Val, VecEltTy); in promoteAllocaUserToVector() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 2202 Type *VecEltTy, bool isBigEndian) { in collectInsertionElements() argument 2203 assert(isMultipleOfTypeSize(Shift, VecEltTy) && in collectInsertionElements() 2211 if (V->getType() == VecEltTy) { in collectInsertionElements() 2217 unsigned ElementIndex = getTypeSizeIndex(Shift, VecEltTy); in collectInsertionElements() 2233 VecEltTy); in collectInsertionElements() 2237 return collectInsertionElements(ConstantExpr::getBitCast(C, VecEltTy), in collectInsertionElements() 2238 Shift, Elements, VecEltTy, isBigEndian); in collectInsertionElements() 2245 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); in collectInsertionElements() 2256 if (!collectInsertionElements(Piece, ShiftI + Shift, Elements, VecEltTy, in collectInsertionElements() 2272 return collectInsertionElements(I->getOperand(0), Shift, Elements, VecEltTy, in collectInsertionElements() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 1329 LLT VecEltTy = MRI.getType(Vector).getElementType(); in matchCombineExtractedVectorLoad() local 1331 assert(MRI.getType(MI.getOperand(0).getReg()) == VecEltTy); in matchCombineExtractedVectorLoad() 1344 if (!VecEltTy.isByteSized()) in matchCombineExtractedVectorLoad() 1373 Offset = VecEltTy.getSizeInBits() * Elt / 8; in matchCombineExtractedVectorLoad() 1378 Offset = VecEltTy.getSizeInBits() / 8; in matchCombineExtractedVectorLoad() 1388 auto *NewMMO = MF.getMachineMemOperand(&MMO, PtrInfo, VecEltTy); in matchCombineExtractedVectorLoad() 1392 LegalityQuery Q = {TargetOpcode::G_LOAD, {VecEltTy, PtrTy}, {MMDesc}}; in matchCombineExtractedVectorLoad() 1401 if (!getTargetLowering().allowsMemoryAccess(C, DL, VecEltTy, *NewMMO, in matchCombineExtractedVectorLoad()
|
H A D | LegalizerHelper.cpp | 3371 LLT VecEltTy = VecTy.getElementType(); in bitcastInsertVectorElt() local 3374 const unsigned OldEltSize = VecEltTy.getSizeInBits(); in bitcastInsertVectorElt()
|