mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
b10862d793
llvm-svn: 1786
20 lines
381 B
C++
20 lines
381 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) {}
|
|
};
|
|
std::ostream &operator<<(std::ostream &out, RAV Val);
|
|
|
|
|
|
typedef std::set<const Value*> ValueSet;
|
|
void printSet(const ValueSet &S);
|
|
|
|
#endif
|