2003-01-14 22:56:37 +00:00
|
|
|
//
|
|
|
|
// VALUESET.H - This header is OBSOLETE, do not use it for new code.
|
|
|
|
//
|
|
|
|
// FIXME: Eliminate this file.
|
|
|
|
|
2001-07-24 17:14:13 +00:00
|
|
|
#ifndef VALUE_SET_H
|
|
|
|
#define VALUE_SET_H
|
|
|
|
|
2002-02-04 16:33:18 +00:00
|
|
|
#include <set>
|
2002-02-05 01:43:49 +00:00
|
|
|
class Value;
|
|
|
|
|
|
|
|
// RAV - Used to print values in a form used by the register allocator.
|
|
|
|
//
|
|
|
|
struct RAV { // Register Allocator Value
|
2002-06-25 16:12:52 +00:00
|
|
|
const Value &V;
|
|
|
|
RAV(const Value *v) : V(*v) {}
|
|
|
|
RAV(const Value &v) : V(v) {}
|
2002-02-05 01:43:49 +00:00
|
|
|
};
|
2002-02-24 23:01:21 +00:00
|
|
|
std::ostream &operator<<(std::ostream &out, RAV Val);
|
2001-07-24 17:14:13 +00:00
|
|
|
|
|
|
|
|
2002-02-05 02:51:01 +00:00
|
|
|
typedef std::set<const Value*> ValueSet;
|
|
|
|
void printSet(const ValueSet &S);
|
2001-07-24 17:14:13 +00:00
|
|
|
|
|
|
|
#endif
|