aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-06-21 15:13:54 +0000
committerDan Gohman <gohman@apple.com>2010-06-21 15:13:54 +0000
commitfaeb0e744838553e6c46dab0ff3f9d8fc41fc766 (patch)
tree25cbb1cb15faadcb7afe3ea851b7279cbc417de9 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parent2e39498114c8715920cce51488990ac36a3c61b0 (diff)
downloadexternal_llvm-faeb0e744838553e6c46dab0ff3f9d8fc41fc766.zip
external_llvm-faeb0e744838553e6c46dab0ff3f9d8fc41fc766.tar.gz
external_llvm-faeb0e744838553e6c46dab0ff3f9d8fc41fc766.tar.bz2
More changes for non-top-down fast-isel.
Split the code for materializing a value out of SelectionDAGBuilder::getValue into a helper function, so that it can be used in other ways. Add a new getNonRegisterValue function which uses it, for use in code which doesn't want a CopyFromReg even when FuncMap.ValueMap already has an entry for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index 86903ca..46733d6 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -346,6 +346,8 @@ public:
void visit(unsigned Opcode, const User &I);
SDValue getValue(const Value *V);
+ SDValue getNonRegisterValue(const Value *V);
+ SDValue getValueImpl(const Value *V);
void setValue(const Value *V, SDValue NewN) {
SDValue &N = NodeMap[V];