1//===- PPCTargetStreamer.h - PPC Target Streamer ----------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
10#define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
11
12#include "llvm/ADT/StringRef.h"
13#include "llvm/MC/MCStreamer.h"
14
15namespace llvm {
16
17class MCExpr;
18class MCSymbol;
19class MCSymbolELF;
20
21class PPCTargetStreamer : public MCTargetStreamer {
22public:
23  PPCTargetStreamer(MCStreamer &S);
24  ~PPCTargetStreamer() override;
25
26  virtual void emitTCEntry(const MCSymbol &S) = 0;
27  virtual void emitMachine(StringRef CPU) = 0;
28  virtual void emitAbiVersion(int AbiVersion) = 0;
29  virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
30};
31
32} // end namespace llvm
33
34#endif // LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
35