mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
Convert a few more uses of llvm/Support/Streams.h to raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77033 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#define LLVM_TRANSFORMS_UTILS_ADDRMODEMATCHER_H
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
#include "llvm/Target/TargetLowering.h"
|
||||
|
||||
namespace llvm {
|
||||
@@ -30,18 +29,19 @@ class Instruction;
|
||||
class Value;
|
||||
class Type;
|
||||
class User;
|
||||
|
||||
class raw_ostream;
|
||||
|
||||
/// ExtAddrMode - This is an extended version of TargetLowering::AddrMode
|
||||
/// which holds actual Value*'s for register values.
|
||||
struct ExtAddrMode : public TargetLowering::AddrMode {
|
||||
Value *BaseReg;
|
||||
Value *ScaledReg;
|
||||
ExtAddrMode() : BaseReg(0), ScaledReg(0) {}
|
||||
void print(OStream &OS) const;
|
||||
void print(raw_ostream &OS) const;
|
||||
void dump() const;
|
||||
};
|
||||
|
||||
static inline OStream &operator<<(OStream &OS, const ExtAddrMode &AM) {
|
||||
static inline raw_ostream &operator<<(raw_ostream &OS, const ExtAddrMode &AM) {
|
||||
AM.print(OS);
|
||||
return OS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user