1 //===-- PPCTargetStreamer.h - PPC Target Streamer --s-----------*- C++ -*--===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H 11 #define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H 12 13 #include "llvm/MC/MCStreamer.h" 14 15 namespace llvm { 16 class PPCTargetStreamer : public MCTargetStreamer { 17 public: 18 PPCTargetStreamer(MCStreamer &S); 19 ~PPCTargetStreamer() override; 20 virtual void emitTCEntry(const MCSymbol &S) = 0; 21 virtual void emitMachine(StringRef CPU) = 0; 22 virtual void emitAbiVersion(int AbiVersion) = 0; 23 virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0; 24 }; 25 } 26 27 #endif 28