2013-10-08 15:08:17 +02: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-13 18:26:38 +02:00
|
|
|
#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
|
|
|
|
#define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
|
2013-10-08 15:08:17 +02:00
|
|
|
|
|
|
|
#include "llvm/MC/MCStreamer.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class PPCTargetStreamer : public MCTargetStreamer {
|
|
|
|
public:
|
2014-01-26 07:06:37 +01:00
|
|
|
PPCTargetStreamer(MCStreamer &S);
|
2015-04-11 04:11:45 +02:00
|
|
|
~PPCTargetStreamer() override;
|
2013-10-08 15:08:17 +02:00
|
|
|
virtual void emitTCEntry(const MCSymbol &S) = 0;
|
2014-01-25 03:35:56 +01:00
|
|
|
virtual void emitMachine(StringRef CPU) = 0;
|
2014-07-21 00:56:57 +02:00
|
|
|
virtual void emitAbiVersion(int AbiVersion) = 0;
|
2015-06-02 22:38:46 +02:00
|
|
|
virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
|
2013-10-08 15:08:17 +02:00
|
|
|
};
|
2015-06-23 11:49:53 +02:00
|
|
|
}
|
2013-10-08 15:08:17 +02:00
|
|
|
|
|
|
|
#endif
|