Home
last modified time | relevance | path

Searched refs:scalarOrVector (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/llvm/unittests/CodeGen/
DLowLevelTypeTest.cpp96 EXPECT_EQ(LLT::scalar(32), LLT::scalarOrVector(1, 32)); in TEST()
97 EXPECT_EQ(LLT::vector(2, 32), LLT::scalarOrVector(2, 32)); in TEST()
100 EXPECT_EQ(LLT::scalar(32), LLT::scalarOrVector(1, LLT::scalar(32))); in TEST()
101 EXPECT_EQ(LLT::vector(2, 32), LLT::scalarOrVector(2, LLT::scalar(32))); in TEST()
104 EXPECT_EQ(LLT::pointer(1, 32), LLT::scalarOrVector(1, LLT::pointer(1, 32))); in TEST()
106 LLT::scalarOrVector(2, LLT::pointer(1, 32))); in TEST()
/external/llvm-project/llvm/include/llvm/Support/
DLowLevelTypeImpl.h74 static LLT scalarOrVector(uint16_t NumElements, LLT ScalarTy) { in scalarOrVector() function
78 static LLT scalarOrVector(uint16_t NumElements, unsigned ScalarSize) { in scalarOrVector() function
79 return scalarOrVector(NumElements, LLT::scalar(ScalarSize)); in scalarOrVector()
144 return LLT::scalarOrVector(NewNumElts, getScalarType()); in changeNumElements()
154 return scalarOrVector(getNumElements() / Factor, getElementType()); in divide()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DLowLevelTypeImpl.h73 static LLT scalarOrVector(uint16_t NumElements, LLT ScalarTy) { in scalarOrVector() function
77 static LLT scalarOrVector(uint16_t NumElements, unsigned ScalarSize) { in scalarOrVector() function
78 return scalarOrVector(NumElements, LLT::scalar(ScalarSize)); in scalarOrVector()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp111 return std::make_pair(TypeIdx, LLT::scalarOrVector(NewNumElts, EltTy)); in fewerEltsToSize64Vector()
143 return LLT::scalarOrVector(Size / 32, 32); in getBitcastRegisterType()
158 return std::make_pair(TypeIdx, LLT::scalarOrVector(Size / 32, 32)); in bitcastToVectorElement32()
1209 0, LLT::scalarOrVector(MaxSize / EltSize, EltTy)); in AMDGPULegalizerInfo()
1237 0, LLT::scalarOrVector(FloorSize / EltSize, EltTy)); in AMDGPULegalizerInfo()
4287 RoundedTy = LLT::scalarOrVector(AdjustedNumElts, 32); in legalizeImageIntrinsic()
4294 RoundedTy = LLT::scalarOrVector(RoundedSize / EltSize, EltSize); in legalizeImageIntrinsic()
DAMDGPURegisterBankInfo.cpp694 return LLT::scalarOrVector(Ty.getNumElements() / 2, Ty.getElementType()); in getHalfSizedType()
1141 return {LLT::scalarOrVector(FirstPartNumElts, EltTy), in splitUnequalType()
1142 LLT::scalarOrVector(RemainderElts, EltTy)}; in splitUnequalType()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp619 return LLT::scalarOrVector(GCD, OrigElt); in getGCDType()
DLegalizerHelper.cpp59 LeftoverTy = LLT::scalarOrVector(LeftoverSize / EltSize, EltSize); in getNarrowTypeBreakDown()
179 LeftoverTy = LLT::scalarOrVector(LeftoverSize / EltSize, EltSize); in extractParts()
2479 LLT MidTy = LLT::scalarOrVector(NewEltsPerOldElt, NewEltTy); in bitcastExtractVectorElt()
3261 LLT NarrowTyI = LLT::scalarOrVector(NewNumElts, SrcTyI.getScalarType()); in fewerElementsVectorMultiEltType()
3859 OpNarrowTy = LLT::scalarOrVector(NarrowElts, SrcTy.getScalarType()); in reduceOperationWidth()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h1002 LLT NewTy = LLT::scalarOrVector(MaxElements, VecTy.getElementType()); in clampMaxNumElements()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h889 LLT NewTy = LLT::scalarOrVector(MaxElements, VecTy.getElementType()); in clampMaxNumElements()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp57 LeftoverTy = LLT::scalarOrVector(LeftoverSize / EltSize, EltSize); in getNarrowTypeBreakDown()
153 LeftoverTy = LLT::scalarOrVector(LeftoverSize / EltSize, EltSize); in extractParts()
180 return LLT::scalarOrVector(GCD, OrigTy.getElementType()); in getGCDType()
2488 LLT NarrowTyI = LLT::scalarOrVector(NewNumElts, SrcTyI.getScalarType()); in fewerElementsVectorMultiEltType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp90 return std::make_pair(TypeIdx, LLT::scalarOrVector(NewNumElts, EltTy)); in fewerEltsToSize64Vector()
DAMDGPURegisterBankInfo.cpp709 return LLT::scalarOrVector(Ty.getNumElements() / 2, Ty.getElementType()); in getHalfSizedType()