summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMConstantPoolValue.cpp3
-rw-r--r--llvm/lib/Target/ARM/ARMConstantPoolValue.h2
-rw-r--r--llvm/lib/Target/PIC16/PIC16ConstantPoolValue.cpp3
-rw-r--r--llvm/lib/Target/PIC16/PIC16ConstantPoolValue.h2
4 files changed, 6 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp b/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp
index 6add3c38d37..04db1644f8c 100644
--- a/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp
+++ b/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp
@@ -15,6 +15,7 @@
#include "llvm/ADT/FoldingSet.h"
#include "llvm/GlobalValue.h"
#include "llvm/Type.h"
+#include "llvm/Support/raw_ostream.h"
using namespace llvm;
ARMConstantPoolValue::ARMConstantPoolValue(GlobalValue *gv, unsigned id,
@@ -72,7 +73,7 @@ ARMConstantPoolValue::AddSelectionDAGCSEId(FoldingSetNodeID &ID) {
ID.AddInteger(PCAdjust);
}
-void ARMConstantPoolValue::print(std::ostream &O) const {
+void ARMConstantPoolValue::print(raw_ostream &O) const {
if (GV)
O << GV->getName();
else
diff --git a/llvm/lib/Target/ARM/ARMConstantPoolValue.h b/llvm/lib/Target/ARM/ARMConstantPoolValue.h
index 636166349a7..caf8d54f163 100644
--- a/llvm/lib/Target/ARM/ARMConstantPoolValue.h
+++ b/llvm/lib/Target/ARM/ARMConstantPoolValue.h
@@ -69,7 +69,7 @@ public:
virtual void AddSelectionDAGCSEId(FoldingSetNodeID &ID);
- virtual void print(std::ostream &O) const;
+ virtual void print(raw_ostream &O) const;
};
}
diff --git a/llvm/lib/Target/PIC16/PIC16ConstantPoolValue.cpp b/llvm/lib/Target/PIC16/PIC16ConstantPoolValue.cpp
index 6e324f9e4d6..152c7377ab7 100644
--- a/llvm/lib/Target/PIC16/PIC16ConstantPoolValue.cpp
+++ b/llvm/lib/Target/PIC16/PIC16ConstantPoolValue.cpp
@@ -15,6 +15,7 @@
#include "llvm/ADT/FoldingSet.h"
#include "llvm/GlobalValue.h"
#include "llvm/Type.h"
+#include "llvm/Support/raw_ostream.h"
using namespace llvm;
PIC16ConstantPoolValue::PIC16ConstantPoolValue(GlobalValue *gv, unsigned id,
@@ -70,7 +71,7 @@ PIC16ConstantPoolValue::AddSelectionDAGCSEId(FoldingSetNodeID &ID) {
ID.AddInteger(PCAdjust);
}
-void PIC16ConstantPoolValue::print(std::ostream &O) const {
+void PIC16ConstantPoolValue::print(raw_ostream &O) const {
if (GV)
O << GV->getName();
else
diff --git a/llvm/lib/Target/PIC16/PIC16ConstantPoolValue.h b/llvm/lib/Target/PIC16/PIC16ConstantPoolValue.h
index c8faf593373..657fb15171b 100644
--- a/llvm/lib/Target/PIC16/PIC16ConstantPoolValue.h
+++ b/llvm/lib/Target/PIC16/PIC16ConstantPoolValue.h
@@ -69,7 +69,7 @@ public:
virtual void AddSelectionDAGCSEId(FoldingSetNodeID &ID);
- virtual void print(std::ostream &O) const;
+ virtual void print(raw_ostream &O) const;
};
}
OpenPOWER on IntegriCloud