summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV9/LiveVar/ValueSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/SparcV9/LiveVar/ValueSet.cpp')
-rw-r--r--llvm/lib/Target/SparcV9/LiveVar/ValueSet.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/llvm/lib/Target/SparcV9/LiveVar/ValueSet.cpp b/llvm/lib/Target/SparcV9/LiveVar/ValueSet.cpp
deleted file mode 100644
index 627c5162c42..00000000000
--- a/llvm/lib/Target/SparcV9/LiveVar/ValueSet.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// 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.
-//
-//===----------------------------------------------------------------------===//
-// FIXME: Eliminate this file.
-
-#include "llvm/CodeGen/ValueSet.h"
-#include "llvm/Value.h"
-#include <iostream>
-
-namespace llvm {
-
-std::ostream &operator<<(std::ostream &O, RAV V) { // func to print a Value
- const Value &v = V.V;
- if (v.hasName())
- return O << (void*)&v << "(" << v.getName() << ") ";
- else if (isa<Constant>(v) && !isa<GlobalValue>(v))
- return O << (void*)&v << "(" << v << ") ";
- else
- return O << (void*)&v << " ";
-}
-
-void printSet(const ValueSet &S) {
- for (ValueSet::const_iterator I = S.begin(), E = S.end(); I != E; ++I)
- std::cerr << RAV(*I);
-}
-
-} // End llvm namespace
OpenPOWER on IntegriCloud