Home
last modified time | relevance | path

Searched refs:LegalizerHelper (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DLegalizerHelperTest.cpp42 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/
DLegalizerHelper.cpp89 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 …]
DLegalizer.cpp210 LegalizerHelper Helper(MF, LI, WrapperObserver, MIRBuilder); in legalizeMachineFunction()
236 if (Res == LegalizerHelper::UnableToLegalize) { in legalizeMachineFunction()
255 Changed |= Res == LegalizerHelper::Legalized; in legalizeMachineFunction()
DCMakeLists.txt17 LegalizerHelper.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp66 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 …]
DLegalizer.cpp184 LegalizerHelper Helper(MF, LI, WrapperObserver, MIRBuilder); in legalizeMachineFunction()
209 if (Res == LegalizerHelper::UnableToLegalize) { in legalizeMachineFunction()
227 Changed |= Res == LegalizerHelper::Legalized; in legalizeMachineFunction()
DCMakeLists.txt16 LegalizerHelper.cpp
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64LegalizerInfo.h31 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI) const override;
33 bool legalizeIntrinsic(LegalizerHelper &Helper,
49 bool legalizeVectorTrunc(MachineInstr &MI, LegalizerHelper &Helper) const;
DAArch64LegalizerInfo.cpp696 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/
DAMDGPULegalizerInfo.h35 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,
DAMDGPURegisterBankInfo.cpp1223 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 …]
DAMDGPULegalizerInfo.cpp1634 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/
DMipsLegalizerInfo.h28 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI) const override;
30 bool legalizeIntrinsic(LegalizerHelper &Helper,
DMipsLegalizerInfo.cpp331 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/
DLegalizerHelper.h36 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/
DLegalizerHelper.h37 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,
DLegalizerInfo.h38 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/
DX86LegalizerInfo.h35 bool legalizeIntrinsic(LegalizerHelper &Helper,
/external/llvm-project/llvm/lib/Target/ARM/
DARMLegalizerInfo.h31 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI) const override;
DARMLegalizerInfo.cpp360 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/
DBUILD.gn30 "LegalizerHelper.cpp",
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp392 if (Status != LegalizerHelper::Legalized) in legalizeCustom()
429 if (Status != LegalizerHelper::Legalized) in legalizeCustom()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.cpp1157 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/
DMipsLegalizerInfo.cpp370 LegalizerHelper::UnableToLegalize) in legalizeIntrinsic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86LegalizerInfo.cpp96 LegalizerHelper::UnableToLegalize) in legalizeIntrinsic()

12