Make the LLVM headers "-ansi -pedantic -Wno-long-long" clean.
[oota-llvm.git] / include / llvm / CodeGen / ValueSet.h
1 //===-- llvm/CodeGen/ValueSet.h ---------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This header is OBSOLETE, do not use it for new code.
11 //
12 // FIXME: Eliminate this file.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef VALUE_SET_H
17 #define VALUE_SET_H
18
19 #include <set>
20
21 namespace llvm {
22
23 class Value;
24
25 // RAV - Used to print values in a form used by the register allocator.
26 //
27 struct RAV {  // Register Allocator Value
28   const Value &V;
29   RAV(const Value *v) : V(*v) {}
30   RAV(const Value &v) : V(v) {}
31 };
32 std::ostream &operator<<(std::ostream &out, RAV Val);
33
34 typedef std::set<const Value*> ValueSet;
35 void printSet(const ValueSet &S);
36
37 } // End llvm namespace
38
39 #endif