2013-10-08 21:08:17 +08:00
|
|
|
//===-- PPCTargetStreamer.h - PPC Target Streamer --s-----------*- C++ -*--===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
|
|
|
|
#define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
|
2013-10-08 21:08:17 +08:00
|
|
|
|
|
|
|
#include "llvm/MC/MCStreamer.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class PPCTargetStreamer : public MCTargetStreamer {
|
|
|
|
public:
|
2014-01-26 14:06:37 +08:00
|
|
|
PPCTargetStreamer(MCStreamer &S);
|
2015-04-11 10:11:45 +08:00
|
|
|
~PPCTargetStreamer() override;
|
2013-10-08 21:08:17 +08:00
|
|
|
virtual void emitTCEntry(const MCSymbol &S) = 0;
|
2014-01-25 10:35:56 +08:00
|
|
|
virtual void emitMachine(StringRef CPU) = 0;
|
2014-07-21 06:56:57 +08:00
|
|
|
virtual void emitAbiVersion(int AbiVersion) = 0;
|
2015-06-03 04:38:46 +08:00
|
|
|
virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
|
2013-10-08 21:08:17 +08:00
|
|
|
};
|
2015-06-23 17:49:53 +08:00
|
|
|
}
|
2013-10-08 21:08:17 +08:00
|
|
|
|
|
|
|
#endif
|