/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/ |
D | LegalizerHelperTest.cpp | 42 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F() 44 EXPECT_EQ(LegalizerHelper::LegalizeResult::Legalized, in TEST_F() 74 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F() 77 LegalizerHelper::LegalizeResult::Legalized); in TEST_F() 108 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F() 110 EXPECT_EQ(LegalizerHelper::LegalizeResult::Legalized, in TEST_F() 143 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F() 145 EXPECT_EQ(LegalizerHelper::LegalizeResult::Legalized, in TEST_F() 178 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F() 182 LegalizerHelper::LegalizeResult::Legalized); in TEST_F() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 89 LegalizerHelper::LegalizerHelper(MachineFunction &MF, in LegalizerHelper() function in LegalizerHelper 98 LegalizerHelper::LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI, in LegalizerHelper() function in LegalizerHelper 105 LegalizerHelper::LegalizeResult 106 LegalizerHelper::legalizeInstrStep(MachineInstr &MI) { in legalizeInstrStep() 149 void LegalizerHelper::extractParts(Register Reg, LLT Ty, int NumParts, in extractParts() 156 bool LegalizerHelper::extractParts(Register Reg, LLT RegTy, in extractParts() 201 void LegalizerHelper::insertParts(Register DstReg, in insertParts() 258 void LegalizerHelper::extractGCDType(SmallVectorImpl<Register> &Parts, in extractGCDType() 272 LLT LegalizerHelper::extractGCDType(SmallVectorImpl<Register> &Parts, LLT DstTy, in extractGCDType() 280 LLT LegalizerHelper::buildLCMMergePieces(LLT DstTy, LLT NarrowTy, LLT GCDTy, in buildLCMMergePieces() [all …]
|
D | Legalizer.cpp | 210 LegalizerHelper Helper(MF, LI, WrapperObserver, MIRBuilder); in legalizeMachineFunction() 236 if (Res == LegalizerHelper::UnableToLegalize) { in legalizeMachineFunction() 255 Changed |= Res == LegalizerHelper::Legalized; in legalizeMachineFunction()
|
D | CMakeLists.txt | 17 LegalizerHelper.cpp
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 66 LegalizerHelper::LegalizerHelper(MachineFunction &MF, in LegalizerHelper() function in LegalizerHelper 75 LegalizerHelper::LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI, in LegalizerHelper() function in LegalizerHelper 82 LegalizerHelper::LegalizeResult 83 LegalizerHelper::legalizeInstrStep(MachineInstr &MI) { in legalizeInstrStep() 123 void LegalizerHelper::extractParts(Register Reg, LLT Ty, int NumParts, in extractParts() 130 bool LegalizerHelper::extractParts(Register Reg, LLT RegTy, in extractParts() 195 void LegalizerHelper::insertParts(Register DstReg, in insertParts() 359 LegalizerHelper::LegalizeResult 373 return LegalizerHelper::UnableToLegalize; in createLibcall() 375 return LegalizerHelper::Legalized; in createLibcall() [all …]
|
D | Legalizer.cpp | 184 LegalizerHelper Helper(MF, LI, WrapperObserver, MIRBuilder); in legalizeMachineFunction() 209 if (Res == LegalizerHelper::UnableToLegalize) { in legalizeMachineFunction() 227 Changed |= Res == LegalizerHelper::Legalized; in legalizeMachineFunction()
|
D | CMakeLists.txt | 16 LegalizerHelper.cpp
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64LegalizerInfo.h | 31 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI) const override; 33 bool legalizeIntrinsic(LegalizerHelper &Helper, 49 bool legalizeVectorTrunc(MachineInstr &MI, LegalizerHelper &Helper) const;
|
D | AArch64LegalizerInfo.cpp | 696 bool AArch64LegalizerInfo::legalizeCustom(LegalizerHelper &Helper, in legalizeCustom() 732 MachineInstr &MI, LegalizerHelper &Helper) const { in legalizeVectorTrunc() 822 bool AArch64LegalizerInfo::legalizeIntrinsic(LegalizerHelper &Helper, in legalizeIntrinsic()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.h | 35 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI) const override; 55 bool legalizeMinNumMaxNum(LegalizerHelper &Helper, MachineInstr &MI) const; 72 bool legalizeLoad(LegalizerHelper &Helper, MachineInstr &MI) const; 134 bool legalizeDSAtomicFPIntrinsic(LegalizerHelper &Helper, 173 bool legalizeSBufferLoad(LegalizerHelper &Helper, MachineInstr &MI) const; 183 bool legalizeIntrinsic(LegalizerHelper &Helper,
|
D | AMDGPURegisterBankInfo.cpp | 1223 LegalizerHelper Helper(B.getMF(), Observer, B); in applyMappingLoad() 1226 if (Helper.fewerElementsVector(MI, 0, LoadSplitTy) != LegalizerHelper::Legalized) in applyMappingLoad() 1229 if (Helper.narrowScalar(MI, 0, LoadSplitTy) != LegalizerHelper::Legalized) in applyMappingLoad() 2155 LegalizerHelper Helper(*MF, Observer, B); in applyMappingImpl() 2157 if (Helper.widenScalar(MI, 0, S32) != LegalizerHelper::Legalized) in applyMappingImpl() 2300 LegalizerHelper Helper(*MF, Observer, B); in applyMappingImpl() 2303 LegalizerHelper::Legalized) in applyMappingImpl() 2391 LegalizerHelper Helper(*MF, Observer, B); in applyMappingImpl() 2393 if (Helper.widenScalar(MI, 0, S32) != LegalizerHelper::Legalized) in applyMappingImpl() 2400 if (Helper.widenScalar(MI, 1, S32) != LegalizerHelper::Legalized) in applyMappingImpl() [all …]
|
D | AMDGPULegalizerInfo.cpp | 1634 bool AMDGPULegalizerInfo::legalizeCustom(LegalizerHelper &Helper, in legalizeCustom() 2061 bool AMDGPULegalizerInfo::legalizeMinNumMaxNum(LegalizerHelper &Helper, in legalizeMinNumMaxNum() 2077 return Helper.lowerFMinNumMaxNum(MI) == LegalizerHelper::Legalized; in legalizeMinNumMaxNum() 2159 LegalizerHelper Helper(B.getMF(), DummyObserver, HelperBuilder); in legalizeShuffleVector() 2160 return Helper.lowerShuffleVector(MI) == LegalizerHelper::Legalized; in legalizeShuffleVector() 2364 bool AMDGPULegalizerInfo::legalizeLoad(LegalizerHelper &Helper, in legalizeLoad() 2462 LegalizerHelper Helper(MF, DummyObserver, HelperBuilder); in legalizeFMad() 2463 return Helper.lowerFMad(MI) == LegalizerHelper::Legalized; in legalizeFMad() 3412 bool AMDGPULegalizerInfo::legalizeDSAtomicFPIntrinsic(LegalizerHelper &Helper, in legalizeDSAtomicFPIntrinsic() 4423 LegalizerHelper &Helper, MachineInstr &MI) const { in legalizeSBufferLoad() [all …]
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsLegalizerInfo.h | 28 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI) const override; 30 bool legalizeIntrinsic(LegalizerHelper &Helper,
|
D | MipsLegalizerInfo.cpp | 331 bool MipsLegalizerInfo::legalizeCustom(LegalizerHelper &Helper, in legalizeCustom() 502 bool MipsLegalizerInfo::legalizeIntrinsic(LegalizerHelper &Helper, in legalizeIntrinsic()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerHelper.h | 36 class LegalizerHelper { 51 LegalizerHelper(MachineFunction &MF, GISelChangeObserver &Observer, 53 LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI, 253 LegalizerHelper::LegalizeResult 259 LegalizerHelper::LegalizeResult createMemLibcall(MachineIRBuilder &MIRBuilder,
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerHelper.h | 37 class LegalizerHelper { 69 LegalizerHelper(MachineFunction &MF, GISelChangeObserver &Observer, 71 LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI, 377 LegalizerHelper::LegalizeResult 383 LegalizerHelper::LegalizeResult 389 LegalizerHelper::LegalizeResult createMemLibcall(MachineIRBuilder &MIRBuilder,
|
D | LegalizerInfo.h | 38 class LegalizerHelper; variable 1272 virtual bool legalizeCustom(LegalizerHelper &Helper, in legalizeCustom() 1281 virtual bool legalizeIntrinsic(LegalizerHelper &Helper, in legalizeIntrinsic()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86LegalizerInfo.h | 35 bool legalizeIntrinsic(LegalizerHelper &Helper,
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.h | 31 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI) const override;
|
D | ARMLegalizerInfo.cpp | 360 bool ARMLegalizerInfo::legalizeCustom(LegalizerHelper &Helper, in legalizeCustom() 391 if (Status != LegalizerHelper::Legalized) in legalizeCustom() 428 if (Status != LegalizerHelper::Legalized) in legalizeCustom()
|
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/CodeGen/GlobalISel/ |
D | BUILD.gn | 30 "LegalizerHelper.cpp",
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.cpp | 392 if (Status != LegalizerHelper::Legalized) in legalizeCustom() 429 if (Status != LegalizerHelper::Legalized) in legalizeCustom()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.cpp | 1157 LegalizerHelper Helper(B.getMF(), Observer, B); in applyMappingWideLoad() 1158 if (Helper.fewerElementsVector(MI, 0, LoadSplitTy) != LegalizerHelper::Legalized) in applyMappingWideLoad() 1517 LegalizerHelper Helper(*MF, Observer, B); in applyMappingImpl() 1519 if (Helper.widenScalar(MI, 0, S32) != LegalizerHelper::Legalized) in applyMappingImpl() 1656 LegalizerHelper Helper(*MF, Observer, B); in applyMappingImpl() 1659 LegalizerHelper::Legalized) in applyMappingImpl() 1731 LegalizerHelper Helper(*MF, Observer, B); in applyMappingImpl() 1734 LegalizerHelper::Legalized) in applyMappingImpl() 1759 LegalizerHelper Helper(*MF, Observer, B); in applyMappingImpl() 1762 if (Helper.widenScalar(MI, 0, S32) != LegalizerHelper::Legalized) in applyMappingImpl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsLegalizerInfo.cpp | 370 LegalizerHelper::UnableToLegalize) in legalizeIntrinsic()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86LegalizerInfo.cpp | 96 LegalizerHelper::UnableToLegalize) in legalizeIntrinsic()
|