[RegisterBankInfo] Move to statically allocated RegisterBank.
authorQuentin Colombet <qcolombet@apple.com>
Thu, 22 Sep 2016 02:10:37 +0000 (02:10 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Thu, 22 Sep 2016 02:10:37 +0000 (02:10 +0000)
commit6a76323c640ed8c7d1845532790828acef3cd12a
tree814c837bc7536668bc3bc5aaacc1d4f8a03033c9
parentb202eb88aaff70c053f392c974d32edb75bec92c
[RegisterBankInfo] Move to statically allocated RegisterBank.

This commit is basically the first step toward what will
RegisterBankInfo look when it gets TableGen'ed.

It introduces a XXXGenRegisterBankInfo.def file that is what TableGen
will issue at some point. Moreover, the RegBanks field in
RegisterBankInfo changed to reflect the static (compile time) aspect of
the information.

llvm-svn: 282131
llvm/include/llvm/CodeGen/GlobalISel/RegisterBank.h
llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
llvm/lib/Target/AArch64/AArch64GenRegisterBankInfo.def [new file with mode: 0644]
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h