summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-01 01:59:43 +0000
committerDan Gohman <gohman@apple.com>2010-07-01 01:59:43 +0000
commit28a173581c67cda78b2febd24d10edb13f760c4c (patch)
tree9703b965853c481762d3c23e1ca9521f5aa1cd36 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parentc25ad637662ec24880a7eadad69b1be311ea61ae (diff)
downloadllvm-28a173581c67cda78b2febd24d10edb13f760c4c.tar.gz
llvm-28a173581c67cda78b2febd24d10edb13f760c4c.tar.bz2
llvm-28a173581c67cda78b2febd24d10edb13f760c4c.tar.xz
Reapply r106422, splitting the code for materializing a value out of
SelectionDAGBuilder::getValue into a helper function, with fixes to use DenseMaps safely. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107371 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 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];