mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-31 09:11:13 +00:00
eb5230c4f9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1715 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
371 B
C++
20 lines
371 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) {}
|
|
};
|
|
ostream &operator<<(ostream &out, RAV Val);
|
|
|
|
|
|
typedef std::set<const Value*> ValueSet;
|
|
void printSet(const ValueSet &S);
|
|
|
|
#endif
|