Rafael Espindola | a17151a | 2013-10-08 13:08:17 +0000 | [diff] [blame] | 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 PPCTARGETSTREAMER_H |
| 11 | #define PPCTARGETSTREAMER_H |
| 12 | |
| 13 | #include "llvm/MC/MCStreamer.h" |
| 14 | |
| 15 | namespace llvm { |
| 16 | class PPCTargetStreamer : public MCTargetStreamer { |
| 17 | public: |
Rafael Espindola | 24ea09e | 2014-01-26 06:06:37 +0000 | [diff] [blame] | 18 | PPCTargetStreamer(MCStreamer &S); |
Juergen Ributzka | d12ccbd | 2013-11-19 00:57:56 +0000 | [diff] [blame] | 19 | virtual ~PPCTargetStreamer(); |
Rafael Espindola | a17151a | 2013-10-08 13:08:17 +0000 | [diff] [blame] | 20 | virtual void emitTCEntry(const MCSymbol &S) = 0; |
Rafael Espindola | 6b9ee9b | 2014-01-25 02:35:56 +0000 | [diff] [blame] | 21 | virtual void emitMachine(StringRef CPU) = 0; |
Ulrich Weigand | 0daa516 | 2014-07-20 22:56:57 +0000 | [diff] [blame] | 22 | virtual void emitAbiVersion(int AbiVersion) = 0; |
Ulrich Weigand | bb68610 | 2014-07-20 23:06:03 +0000 | [diff] [blame^] | 23 | virtual void emitLocalEntry(MCSymbol *S, const MCExpr *LocalOffset) = 0; |
Rafael Espindola | a17151a | 2013-10-08 13:08:17 +0000 | [diff] [blame] | 24 | }; |
| 25 | } |
| 26 | |
| 27 | #endif |