a bunch of random cleanup, move a helper to CGT where it belongs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-11-02 18:10:06 +00:00
parent 1aabe1b493
commit ec6f096c36
3 changed files with 52 additions and 50 deletions

View File

@ -101,6 +101,10 @@ public:
if (Registers.empty()) ReadRegisters();
return Registers;
}
/// getRegisterByName - If there is a register with the specific AsmName,
/// return it.
const CodeGenRegister *getRegisterByName(StringRef Name) const;
const std::vector<Record*> &getSubRegIndices() const {
if (SubRegIndices.empty()) ReadSubRegIndices();