1 //===-- llvm/CodeGen/ValueSet.h ---------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
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.
8 //===----------------------------------------------------------------------===//
10 // This header is OBSOLETE, do not use it for new code.
12 // FIXME: Eliminate this file.
14 //===----------------------------------------------------------------------===//
25 // RAV - Used to print values in a form used by the register allocator.
27 struct RAV { // Register Allocator Value
29 RAV(const Value *v) : V(*v) {}
30 RAV(const Value &v) : V(v) {}
32 std::ostream &operator<<(std::ostream &out, RAV Val);
34 typedef std::set<const Value*> ValueSet;
35 void printSet(const ValueSet &S);
37 } // End llvm namespace