summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-02 00:10:16 +0000
committerDan Gohman <gohman@apple.com>2010-07-02 00:10:16 +0000
commit93f59209142897dbc36d83c6a64e822ebfa92aae (patch)
tree8fc2b2ef23e7d32c98278fe2f8f8292b750c2759 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
parent19ebcd0f287edaee683b1b581ed5e13692616ba2 (diff)
downloadbcm5719-llvm-93f59209142897dbc36d83c6a64e822ebfa92aae.tar.gz
bcm5719-llvm-93f59209142897dbc36d83c6a64e822ebfa92aae.zip
Rename CreateReg to CreateRegs, and MakeReg to CreateReg.
llvm-svn: 107451
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
index 35335c1d2a5..a3736310ed2 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
+++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
@@ -113,20 +113,20 @@ public:
/// different function.
void clear();
- unsigned MakeReg(EVT VT);
-
/// isExportedInst - Return true if the specified value is an instruction
/// exported from its block.
bool isExportedInst(const Value *V) {
return ValueMap.count(V);
}
- unsigned CreateReg(const Type *Ty);
+ unsigned CreateReg(EVT VT);
+
+ unsigned CreateRegs(const Type *Ty);
unsigned InitializeRegForValue(const Value *V) {
unsigned &R = ValueMap[V];
assert(R == 0 && "Already initialized this value register!");
- return R = CreateReg(V->getType());
+ return R = CreateRegs(V->getType());
}
};
OpenPOWER on IntegriCloud