1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/CodeGen/GlobalISel
Daniel Sanders edef185b46 [globalisel] Initialize RegisterBanks with static data.
Summary:
Refactor the RegisterBank initialization to use static data. This requires
GlobalISel implementations to rewrite calls to createRegisterBank() and
addRegBankCoverage() into a call to setRegBankData().

Out of tree targets can use diff 4 of D27807
(https://reviews.llvm.org/D27807?id=84117) to have addRegBankCoverage() dump
the register classes and other data that needs to be provided to
setRegBankData(). This is the method that was used to generate the static data
in this patch.

Tablegen-eration of this static data will follow after some refactoring.

Reviewers: t.p.northover, ab, rovka, qcolombet

Subscribers: aditya_nandakumar, kristof.beyls, vkalintiris, llvm-commits, dberris

Differential Revision: https://reviews.llvm.org/D27807
Differential Revision: https://reviews.llvm.org/D27808

llvm-svn: 291768
2017-01-12 15:32:10 +00:00
..
CallLowering.cpp [GlobalISel] Move extendRegister where it belongs. NFCI 2016-12-13 10:46:12 +00:00
CMakeLists.txt [GlobalISel] Refactor the logic to constraint registers. 2016-12-22 21:56:19 +00:00
GlobalISel.cpp GlobalISel: rename legalizer components to match others. 2016-10-14 22:18:18 +00:00
InstructionSelect.cpp GlobalISel: Fix unconditional fallback with global isel abort is disabled 2016-11-18 14:14:35 +00:00
InstructionSelector.cpp [GlobalISel] Refactor the logic to constraint registers. 2016-12-22 21:56:19 +00:00
IRTranslator.cpp [GlobalISel] Add support for address-taken basic blocks 2017-01-05 13:27:52 +00:00
Legalizer.cpp GlobalISel: rename legalizer components to match others. 2016-10-14 22:18:18 +00:00
LegalizerHelper.cpp GlobalISel: make G_CONSTANT take a ConstantInt rather than int64_t. 2016-12-05 21:47:07 +00:00
LegalizerInfo.cpp GlobalISel: fall back gracefully when we hit unhandled legalizer default. 2016-12-06 19:02:15 +00:00
LLVMBuild.txt Revert "Get GlobalISel to build on Linux after r286407" 2016-11-16 22:24:59 +00:00
MachineIRBuilder.cpp GlobalISel: simplify MachineIRBuilder interface. 2016-12-07 21:05:38 +00:00
RegBankSelect.cpp [RegBankSelect] Improve the output of the debug messages. 2017-01-11 00:48:41 +00:00
RegisterBank.cpp [globalisel] Initialize RegisterBanks with static data. 2017-01-12 15:32:10 +00:00
RegisterBankInfo.cpp [globalisel] Initialize RegisterBanks with static data. 2017-01-12 15:32:10 +00:00
Utils.cpp [GlobalISel] Refactor the logic to constraint registers. 2016-12-22 21:56:19 +00:00