/external/llvm-project/llvm/unittests/CodeGen/ |
D | LowLevelTypeTest.cpp | 96 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/ |
D | LowLevelTypeImpl.h | 74 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/ |
D | LowLevelTypeImpl.h | 73 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/ |
D | AMDGPULegalizerInfo.cpp | 111 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()
|
D | AMDGPURegisterBankInfo.cpp | 694 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/ |
D | Utils.cpp | 619 return LLT::scalarOrVector(GCD, OrigElt); in getGCDType()
|
D | LegalizerHelper.cpp | 59 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/ |
D | LegalizerInfo.h | 1002 LLT NewTy = LLT::scalarOrVector(MaxElements, VecTy.getElementType()); in clampMaxNumElements()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 889 LLT NewTy = LLT::scalarOrVector(MaxElements, VecTy.getElementType()); in clampMaxNumElements()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 57 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/ |
D | AMDGPULegalizerInfo.cpp | 90 return std::make_pair(TypeIdx, LLT::scalarOrVector(NewNumElts, EltTy)); in fewerEltsToSize64Vector()
|
D | AMDGPURegisterBankInfo.cpp | 709 return LLT::scalarOrVector(Ty.getNumElements() / 2, Ty.getElementType()); in getHalfSizedType()
|