1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/include/llvm/CodeGen/ValueSet.h
Chris Lattner 0c15a20712 Fix header comment
llvm-svn: 8779
2003-09-30 18:12:25 +00:00

28 lines
672 B
C++

//===-- llvm/CodeGen/ValueSet.h ---------------------------------*- C++ -*-===//
//
// This header is OBSOLETE, do not use it for new code.
//
// FIXME: Eliminate this file.
//
//===----------------------------------------------------------------------===//
#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