aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-01-12 15:32:10 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-01-12 15:32:10 +0000
commitae03595bfbe8fa825a3f19c37c06fb9033375b38 (patch)
tree7f59ba9dfd87b6484cbec12a14f81b6726bc78a4 /clang/lib/Lex/ModuleMap.cpp
parente3d91a5c4b98b52120e48c45a6e0d5d9d6e78c96 (diff)
downloadllvm-ae03595bfbe8fa825a3f19c37c06fb9033375b38.zip
llvm-ae03595bfbe8fa825a3f19c37c06fb9033375b38.tar.gz
llvm-ae03595bfbe8fa825a3f19c37c06fb9033375b38.tar.bz2
[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
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions