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 | f64fdd69d00ba83ecb363917514565cb048bf546 (patch) | |
tree | 6f3537b314767caee2c53d7616a1516207f08c79 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | |
parent | df071b7e421b9671082a34767fe1cff2c648e06a (diff) | |
download | bcm5719-llvm-f64fdd69d00ba83ecb363917514565cb048bf546.tar.gz bcm5719-llvm-f64fdd69d00ba83ecb363917514565cb048bf546.zip |
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.
llvm-svn: 106422
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index 86903caa8a5..46733d6db12 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h +++ b/llvm/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]; |