1 //===- X86TargetStreamer.h ------------------------------*- C++ -*---------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86TARGETSTREAMER_H
11 #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86TARGETSTREAMER_H
13 #include "llvm/MC/MCStreamer.h"
17 /// X86 target streamer implementing x86-only assembly directives.
18 class X86TargetStreamer : public MCTargetStreamer {
20 X86TargetStreamer(MCStreamer &S) : MCTargetStreamer(S) {}
22 virtual bool emitFPOProc(const MCSymbol *ProcSym, unsigned ParamsSize,
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 emitFPOSetFrame(unsigned Reg, SMLoc L = {}) = 0;
32 } // end namespace llvm