mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
shoot a few more std::ostream print methods in the head.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include "llvm/ADT/SmallSet.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Target/TargetRegisterInfo.h"
|
||||
#include <algorithm>
|
||||
using namespace llvm;
|
||||
@@ -816,9 +815,6 @@ void LiveInterval::ComputeJoinedWeight(const LiveInterval &Other) {
|
||||
}
|
||||
}
|
||||
|
||||
std::ostream& llvm::operator<<(std::ostream& os, const LiveRange &LR) {
|
||||
return os << '[' << LR.start << ',' << LR.end << ':' << LR.valno->id << ")";
|
||||
}
|
||||
raw_ostream& llvm::operator<<(raw_ostream& os, const LiveRange &LR) {
|
||||
return os << '[' << LR.start << ',' << LR.end << ':' << LR.valno->id << ")";
|
||||
}
|
||||
@@ -827,14 +823,7 @@ void LiveRange::dump() const {
|
||||
errs() << *this << "\n";
|
||||
}
|
||||
|
||||
void LiveInterval::print(std::ostream &OS,
|
||||
const TargetRegisterInfo *TRI) const {
|
||||
raw_os_ostream RawOS(OS);
|
||||
print(RawOS, TRI);
|
||||
}
|
||||
|
||||
void LiveInterval::print(raw_ostream &OS,
|
||||
const TargetRegisterInfo *TRI) const {
|
||||
void LiveInterval::print(raw_ostream &OS, const TargetRegisterInfo *TRI) const {
|
||||
if (isStackSlot())
|
||||
OS << "SS#" << getStackSlotIndex();
|
||||
else if (TRI && TargetRegisterInfo::isPhysicalRegister(reg))
|
||||
@@ -896,9 +885,6 @@ void LiveInterval::dump() const {
|
||||
}
|
||||
|
||||
|
||||
void LiveRange::print(std::ostream &os) const {
|
||||
os << *this;
|
||||
}
|
||||
void LiveRange::print(raw_ostream &os) const {
|
||||
os << *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user