LLVM  8.0.1
PPCTargetStreamer.h
Go to the documentation of this file.
1 //===- PPCTargetStreamer.h - PPC Target Streamer ----------------*- 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/ADT/StringRef.h"
14 #include "llvm/MC/MCStreamer.h"
15 
16 namespace llvm {
17 
18 class MCExpr;
19 class MCSymbol;
20 class MCSymbolELF;
21 
23 public:
25  ~PPCTargetStreamer() override;
26 
27  virtual void emitTCEntry(const MCSymbol &S) = 0;
28  virtual void emitMachine(StringRef CPU) = 0;
29  virtual void emitAbiVersion(int AbiVersion) = 0;
30  virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
31 };
32 
33 } // end namespace llvm
34 
35 #endif // LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
This class represents lattice values for constants.
Definition: AllocatorList.h:24
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:42
Target specific streamer interface.
Definition: MCStreamer.h:84
~PPCTargetStreamer() override
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:36
virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset)=0
Streaming machine code generation interface.
Definition: MCStreamer.h:189
virtual void emitAbiVersion(int AbiVersion)=0
PPCTargetStreamer(MCStreamer &S)
virtual void emitTCEntry(const MCSymbol &S)=0
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49
virtual void emitMachine(StringRef CPU)=0