llvm-project/llvm/lib/CodeGen/GlobalISel
Daniel Sanders 5281b02e84 [globalisel][legalizerinfo] Add support for the Lower action in getActionDefinitionsBuilder() and use it in AArch64.
Lower is slightly odd. It often doesn't change the type but the lowerings
do use the new type to decide what code to create. Treat it like a mutation
but provide convenience functions that re-use the existing type.

Re-uses the existing tests:
test/CodeGen/AArch64/GlobalISel/legalize-rem.mir
test/CodeGen/AArch64/GlobalISel//legalize-mul.mir
test/CodeGen/AArch64/GlobalISel//legalize-cmpxchg-with-success.mir

llvm-svn: 329623
2018-04-09 21:10:09 +00:00
..
CMakeLists.txt [globalisel][legalizer] Adapt LegalizerInfo to support inter-type dependencies and other things. 2018-01-29 19:54:49 +00:00
CallLowering.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
Combiner.cpp [GISel]: Implement GlobalISel combiner API. 2018-01-25 00:41:58 +00:00
CombinerHelper.cpp [GISel]: Implement GlobalISel combiner API. 2018-01-25 00:41:58 +00:00
GlobalISel.cpp [GlobalISel] Make GlobalISel a non-optional library. 2017-08-03 21:52:25 +00:00
IRTranslator.cpp [GISel]: Fix incorrect IRTranslation while translating null pointer types 2018-03-22 17:31:38 +00:00
InstructionSelect.cpp [GlobalISel][AArch64] Adding -disable-gisel-legality-check CL option 2018-03-01 00:27:48 +00:00
InstructionSelector.cpp [GISel] Make constrainSelectedInstRegOperands() available to the legalizer. NFC 2018-01-17 19:31:33 +00:00
LLVMBuild.txt Revert "Get GlobalISel to build on Linux after r286407" 2016-11-16 22:24:59 +00:00
LegalityPredicates.cpp [globalisel][legalizer] Adapt LegalizerInfo to support inter-type dependencies and other things. 2018-01-29 19:54:49 +00:00
LegalizeMutations.cpp [globalisel][legalizerinfo] Add support for the Lower action in getActionDefinitionsBuilder() and use it in AArch64. 2018-04-09 21:10:09 +00:00
Legalizer.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
LegalizerHelper.cpp GlobalISel: Add templated functions and pattern matcher support for some more opcodes 2018-02-14 19:58:36 +00:00
LegalizerInfo.cpp [globalisel][legalizerinfo] Add support for the Lower action in getActionDefinitionsBuilder() and use it in AArch64. 2018-04-09 21:10:09 +00:00
Localizer.cpp [CodeGen] Rename functions PrintReg* to printReg* 2017-11-28 12:42:37 +00:00
MachineIRBuilder.cpp [GISel] Refactor MachineIRBuilder to allow transformations while 2018-04-09 17:30:56 +00:00
RegBankSelect.cpp [GlobalISel][AArch64] Adding -disable-gisel-legality-check CL option 2018-03-01 00:27:48 +00:00
RegisterBank.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
RegisterBankInfo.cpp [GISel][NFC]: Move RegisterBankInfo::getSizeInBits into TargetRegisterInfo. 2018-02-02 19:42:07 +00:00
Utils.cpp [GISel]: Add helpers for easy building G_FCONSTANT along with matchers 2018-03-09 17:31:51 +00:00