LLVM  8.0.1
X86TargetStreamer.h
Go to the documentation of this file.
1 //===- X86TargetStreamer.h ------------------------------*- 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_X86_MCTARGETDESC_X86TARGETSTREAMER_H
11 #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86TARGETSTREAMER_H
12 
13 #include "llvm/MC/MCStreamer.h"
14 
15 namespace llvm {
16 
17 /// X86 target streamer implementing x86-only assembly directives.
19 public:
21 
22  virtual bool emitFPOProc(const MCSymbol *ProcSym, unsigned ParamsSize,
23  SMLoc L = {}) = 0;
24  virtual bool emitFPOEndPrologue(SMLoc L = {}) = 0;
25  virtual bool emitFPOEndProc(SMLoc L = {}) = 0;
26  virtual bool emitFPOData(const MCSymbol *ProcSym, SMLoc L = {}) = 0;
27  virtual bool emitFPOPushReg(unsigned Reg, SMLoc L = {}) = 0;
28  virtual bool emitFPOStackAlloc(unsigned StackAlloc, SMLoc L = {}) = 0;
29  virtual bool emitFPOStackAlign(unsigned Align, SMLoc L = {}) = 0;
30  virtual bool emitFPOSetFrame(unsigned Reg, SMLoc L = {}) = 0;
31 };
32 
33 } // end namespace llvm
34 
35 #endif
constexpr char Align[]
Key for Kernel::Arg::Metadata::mAlign.
virtual bool emitFPOSetFrame(unsigned Reg, SMLoc L={})=0
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
unsigned Reg
virtual bool emitFPOPushReg(unsigned Reg, SMLoc L={})=0
virtual bool emitFPOStackAlloc(unsigned StackAlloc, SMLoc L={})=0
virtual bool emitFPOProc(const MCSymbol *ProcSym, unsigned ParamsSize, SMLoc L={})=0
virtual bool emitFPOStackAlign(unsigned Align, SMLoc L={})=0
Streaming machine code generation interface.
Definition: MCStreamer.h:189
virtual bool emitFPOData(const MCSymbol *ProcSym, SMLoc L={})=0
X86 target streamer implementing x86-only assembly directives.
virtual bool emitFPOEndPrologue(SMLoc L={})=0
X86TargetStreamer(MCStreamer &S)
Represents a location in source code.
Definition: SMLoc.h:24
virtual bool emitFPOEndProc(SMLoc L={})=0