Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DLowLevelTypeTest.cpp147 EXPECT_EQ(S32, S64.changeElementSize(32)); in TEST()
148 EXPECT_EQ(S32, S32.changeElementSize(32)); in TEST()
153 EXPECT_EQ(V2S64, V2S32.changeElementSize(64)); in TEST()
154 EXPECT_EQ(V2S32, V2S64.changeElementSize(32)); in TEST()
172 EXPECT_EQ(NXV2S64, NXV2S32.changeElementSize(64)); in TEST()
173 EXPECT_EQ(NXV2S32, NXV2S64.changeElementSize(32)); in TEST()
228 EXPECT_DEATH(P0.changeElementSize(64), in TEST()
230 EXPECT_DEATH(V2P0.changeElementSize(64), in TEST()
234 EXPECT_DEATH(P0.changeElementSize(32), in TEST()
236 EXPECT_DEATH(V2P0.changeElementSize(32), in TEST()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizeMutations.cpp83 return std::make_pair(TypeIdx, Ty.changeElementSize(NewEltSizeInBits)); in widenScalarOrEltToNextPow2()
93 return std::make_pair(TypeIdx, Ty.changeElementSize(NewEltSizeInBits)); in widenScalarOrEltToNextMultipleOf()
H A DLegalizerHelper.cpp5569 CmpInst::ICMP_EQ, SrcTy.changeElementSize(1), SrcReg, ZeroSrc); in lowerBitCount()
5620 CmpInst::ICMP_EQ, DstTy.changeElementSize(1), SrcReg, Zero); in lowerBitCount()
6326 LLT CmpType = MRI.getType(Dst).changeElementSize(1); in lowerMinMax()
6429 const LLT CondTy = Ty.changeElementSize(1); in lowerIntrinsicRound()
6462 const LLT CondTy = Ty.changeElementSize(1); in lowerFFloor()
6998 LLT BoolTy = Ty.changeElementSize(1); in lowerAddSubSatToAddoSubo()
7070 LLT BoolTy = Ty.changeElementSize(1); in lowerShlSat()
7204 LLT WideTy = OrigTy.changeElementSize(SizeInBits * 2); in lowerSMULH_UMULH()
H A DCombinerHelper.cpp4886 Ty.isScalar() ? LLT::scalar(1) : Ty.changeElementSize(1), RHS, One); in buildUDivUsingMul()
4920 {DstTy.isVector() ? DstTy.changeElementSize(1) : LLT::scalar(1), in matchUDivByConst()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h180 LLT changeElementSize(unsigned NewEltSize) const { in changeElementSize() function
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp920 LLT InterTy = SplitSrcTy.changeElementSize(DstTy.getScalarSizeInBits() * 2); in legalizeVectorTrunc()
925 DstTy.changeElementSize(DstTy.getScalarSizeInBits() * 2), SplitSrcs); in legalizeVectorTrunc()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp4565 LLT UnpackedTy = Ty.changeElementSize(32); in legalizeBufferLoad()
H A DSIISelLowering.cpp4471 ? Ty.changeElementSize(16) in getPreferredShiftAmountTy()
4472 : Ty.changeElementSize(32); in getPreferredShiftAmountTy()