mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-15 20:06:46 +00:00
d0fde30ce8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
40 lines
1023 B
C++
40 lines
1023 B
C++
//===-- llvm/CodeGen/ValueSet.h ---------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file was developed by the LLVM research group and is distributed under
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// 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>
|
|
|
|
namespace llvm {
|
|
|
|
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);
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif
|