diff options
author | Dan Gohman <gohman@apple.com> | 2010-06-21 15:13:54 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-06-21 15:13:54 +0000 |
commit | faeb0e744838553e6c46dab0ff3f9d8fc41fc766 (patch) | |
tree | 25cbb1cb15faadcb7afe3ea851b7279cbc417de9 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | |
parent | 2e39498114c8715920cce51488990ac36a3c61b0 (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index 86903caa8a..46733d6db1 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]; |