LLVM  9.0.0svn
PPCTargetStreamer.h
Go to the documentation of this file.
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 
15 namespace llvm {
16 
17 class MCExpr;
18 class MCSymbol;
19 class MCSymbolELF;
20 
22 public:
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
This class represents lattice values for constants.
Definition: AllocatorList.h:23
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
Target specific streamer interface.
Definition: MCStreamer.h:83
~PPCTargetStreamer() override
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:35
virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset)=0
Streaming machine code generation interface.
Definition: MCStreamer.h:188
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:48
virtual void emitMachine(StringRef CPU)=0