/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/ |
D | GISelUtilsTest.cpp | 31 static const LLT V2S32 = LLT::vector(2, 32); variable 56 EXPECT_EQ(V2S32, getGCDType(V2S32, V2S32)); in TEST() 57 EXPECT_EQ(S32, getGCDType(V3S32, V2S32)); in TEST() 58 EXPECT_EQ(S32, getGCDType(V2S32, V3S32)); in TEST() 63 EXPECT_EQ(V2S32, getGCDType(V4S32, V2S32)); in TEST() 64 EXPECT_EQ(V2S32, getGCDType(V2S32, V4S32)); in TEST() 114 EXPECT_EQ(V2S16, getGCDType(V2S16, V2S32)); in TEST() 115 EXPECT_EQ(S32, getGCDType(V2S32, V2S16)); in TEST() 117 EXPECT_EQ(V4S8, getGCDType(V4S8, V2S32)); in TEST() 118 EXPECT_EQ(S32, getGCDType(V2S32, V4S8)); in TEST() [all …]
|
D | LegalizerHelperTest.cpp | 645 const LLT V2S32 = LLT::vector(2, 32); in TEST_F() local 661 EXPECT_TRUE(Helper.fewerElementsVector(*And, 0, V2S32) == in TEST_F() 954 LLT V2S32 = LLT::vector(2, S32); in TEST_F() local 972 Helper.widenScalar(*BV0, 0, V2S32)); in TEST_F() 2359 LLT V2S32{LLT::vector(2, 32)}; in TEST_F() local 2364 auto BitcastV2S32 = B.buildBitcast(V2S32, Copies[0]); in TEST_F() 2370 auto InsertV2S32S32 = B.buildInsert(V2S32, BitcastV2S32, TruncS32, 32); in TEST_F() 2371 auto InsertV2S32P1 = B.buildInsert(V2S32, BitcastV2S32, IntToPtrP1, 0); in TEST_F() 2838 LLT V2S32{LLT::vector(2, 32)}; in TEST_F() local 2841 auto Vector = B.buildBitcast(V2S32, Copies[0]); in TEST_F() [all …]
|
/external/llvm-project/llvm/unittests/CodeGen/ |
D | LowLevelTypeTest.cpp | 116 const LLT V2S32 = LLT::vector(2, 32); in TEST() local 128 EXPECT_EQ(V2S64, V2S32.changeElementType(S64)); in TEST() 129 EXPECT_EQ(V2S32, V2S64.changeElementType(S32)); in TEST() 131 EXPECT_EQ(V2S64, V2S32.changeElementSize(64)); in TEST() 132 EXPECT_EQ(V2S32, V2S64.changeElementSize(32)); in TEST() 138 EXPECT_EQ(V2S32, V2P0.changeElementType(S32)); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 185 const LLT V2S32 = LLT::vector(2, 32); in AMDGPULegalizerInfo() local 212 {V2S32, V3S32, V4S32, V5S32, V6S32, V7S32, V8S32, in AMDGPULegalizerInfo() 291 .legalFor({S32, S1, S64, V2S32, S16, V2S16, V4S16}) in AMDGPULegalizerInfo() 318 .legalFor({S1, S32, S64, S16, V2S32, V4S32, V2S16, V4S16, GlobalPtr, in AMDGPULegalizerInfo() 714 {V2S32, GlobalPtr, 64, GlobalAlign32}, in AMDGPULegalizerInfo() 727 {V2S32, LocalPtr, 64, 32}, in AMDGPULegalizerInfo() 743 {V2S32, ConstantPtr, 64, GlobalAlign32}, in AMDGPULegalizerInfo() 748 {V2S32, ConstantPtr, 32, GlobalAlign32}}); in AMDGPULegalizerInfo() 907 .legalForCartesianProduct({S32, S64, S16, V2S32, V2S16, V4S16, in AMDGPULegalizerInfo()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 438 const LLT V2S32 = LLT::vector(2, 32); in AMDGPULegalizerInfo() local 465 {V2S32, V3S32, V4S32, V5S32, V6S32, V7S32, V8S32, in AMDGPULegalizerInfo() 609 .legalFor({S32, S1, S64, V2S32, S16, V2S16, V4S16}) in AMDGPULegalizerInfo() 786 .legalFor({{V2S16, V2S32}}) in AMDGPULegalizerInfo() 1086 {V2S32, GlobalPtr, 64, GlobalAlign32}, in AMDGPULegalizerInfo() 1096 {V2S32, LocalPtr, 64, 32}, in AMDGPULegalizerInfo() 1107 {V2S32, ConstantPtr, 64, GlobalAlign32}, in AMDGPULegalizerInfo() 1110 {V2S32, ConstantPtr, 32, GlobalAlign32}}); in AMDGPULegalizerInfo() 1309 .legalForCartesianProduct({S32, S64, S16, V2S32, V2S16, V4S16, in AMDGPULegalizerInfo()
|