mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
cee706572b
llvm-svn: 2777
21 lines
414 B
C++
21 lines
414 B
C++
#ifndef VALUE_SET_H
|
|
#define VALUE_SET_H
|
|
|
|
#include <set>
|
|
class Value;
|
|
|
|
// RAV - Used to print values in a form used by the register allocator.
|
|
//
|
|
struct RAV { // Register Allocator Value
|
|
const Value &V;
|
|
RAV(const Value *v) : V(*v) {}
|
|
RAV(const Value &v) : V(v) {}
|
|
};
|
|
std::ostream &operator<<(std::ostream &out, RAV Val);
|
|
|
|
|
|
typedef std::set<const Value*> ValueSet;
|
|
void printSet(const ValueSet &S);
|
|
|
|
#endif
|