summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-06-03 05:58:25 +0000
committerOwen Anderson <resistor@mac.com>2007-06-03 05:58:25 +0000
commit46499645db8db345c0401822d9927f1133b2735c (patch)
tree12f60b9b522e1beb88b31b420da1e6ec2a1d1628 /llvm/lib/Transforms
parent0b68cda3028af63c5a10b2a7f7c627c89c4eb73a (diff)
downloadbcm5719-llvm-46499645db8db345c0401822d9927f1133b2735c.tar.gz
bcm5719-llvm-46499645db8db345c0401822d9927f1133b2735c.zip
Remove an unused method.
llvm-svn: 37402
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/GVNPRE.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVNPRE.cpp b/llvm/lib/Transforms/Scalar/GVNPRE.cpp
index 4b27342c3ed..6a9a08e4309 100644
--- a/llvm/lib/Transforms/Scalar/GVNPRE.cpp
+++ b/llvm/lib/Transforms/Scalar/GVNPRE.cpp
@@ -76,7 +76,6 @@ namespace {
void dump(ValueTable& VN, std::set<Value*, ExprLT>& s);
void clean(ValueTable VN, std::set<Value*, ExprLT>& set);
bool add(ValueTable& VN, std::set<Value*, ExprLT>& MS, Value* V);
- ValueTable::iterator lookup(ValueTable& VN, Value* V);
Value* find_leader(ValueTable VN, std::set<Value*, ExprLT>& vals, uint32_t v);
void phi_translate(ValueTable& VN, std::set<Value*, ExprLT>& MS,
std::set<Value*, ExprLT>& anticIn, BasicBlock* B,
@@ -117,10 +116,6 @@ bool GVNPRE::add(ValueTable& VN, std::set<Value*, ExprLT>& MS, Value* V) {
return ret.second;
}
-GVNPRE::ValueTable::iterator GVNPRE::lookup(ValueTable& VN, Value* V) {
- return VN.find(V);
-}
-
Value* GVNPRE::find_leader(GVNPRE::ValueTable VN,
std::set<Value*, ExprLT>& vals,
uint32_t v) {
OpenPOWER on IntegriCloud