summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenRegisters.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-09 22:09:17 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-09 22:09:17 +0000
commitda2be824346c316c6fc840de7b8493e3d587e785 (patch)
treeef177146088b8172d35f074c964481e79d2959c9 /utils/TableGen/CodeGenRegisters.h
parente3305b17502c2a34152d4f50607b685eb2cadd21 (diff)
downloadllvm-da2be824346c316c6fc840de7b8493e3d587e785.tar.gz
llvm-da2be824346c316c6fc840de7b8493e3d587e785.tar.bz2
llvm-da2be824346c316c6fc840de7b8493e3d587e785.tar.xz
Rename getSubRegs() to computeSubRegs().
That's what it does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenRegisters.h')
-rw-r--r--utils/TableGen/CodeGenRegisters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/CodeGenRegisters.h b/utils/TableGen/CodeGenRegisters.h
index dfe5e62b17..b0f8f4683f 100644
--- a/utils/TableGen/CodeGenRegisters.h
+++ b/utils/TableGen/CodeGenRegisters.h
@@ -100,9 +100,9 @@ namespace llvm {
const std::string &getName() const;
- // Get a map of sub-registers computed lazily.
+ // Lazily compute a map of all sub-registers.
// This includes unique entries for all sub-sub-registers.
- const SubRegMap &getSubRegs(CodeGenRegBank&);
+ const SubRegMap &computeSubRegs(CodeGenRegBank&);
const SubRegMap &getSubRegs() const {
assert(SubRegsComplete && "Must precompute sub-registers");