parent
0b68cda302
commit
46499645db
|
@ -76,7 +76,6 @@ namespace {
|
||||||
void dump(ValueTable& VN, std::set<Value*, ExprLT>& s);
|
void dump(ValueTable& VN, std::set<Value*, ExprLT>& s);
|
||||||
void clean(ValueTable VN, std::set<Value*, ExprLT>& set);
|
void clean(ValueTable VN, std::set<Value*, ExprLT>& set);
|
||||||
bool add(ValueTable& VN, std::set<Value*, ExprLT>& MS, Value* V);
|
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);
|
Value* find_leader(ValueTable VN, std::set<Value*, ExprLT>& vals, uint32_t v);
|
||||||
void phi_translate(ValueTable& VN, std::set<Value*, ExprLT>& MS,
|
void phi_translate(ValueTable& VN, std::set<Value*, ExprLT>& MS,
|
||||||
std::set<Value*, ExprLT>& anticIn, BasicBlock* B,
|
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;
|
return ret.second;
|
||||||
}
|
}
|
||||||
|
|
||||||
GVNPRE::ValueTable::iterator GVNPRE::lookup(ValueTable& VN, Value* V) {
|
|
||||||
return VN.find(V);
|
|
||||||
}
|
|
||||||
|
|
||||||
Value* GVNPRE::find_leader(GVNPRE::ValueTable VN,
|
Value* GVNPRE::find_leader(GVNPRE::ValueTable VN,
|
||||||
std::set<Value*, ExprLT>& vals,
|
std::set<Value*, ExprLT>& vals,
|
||||||
uint32_t v) {
|
uint32_t v) {
|
||||||
|
|
Loading…
Reference in New Issue