LLVM  6.0.0svn
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
llvm::X86AsmInstrumentation Class Reference

#include "Target/X86/AsmParser/X86AsmInstrumentation.h"

Collaboration diagram for llvm::X86AsmInstrumentation:
Collaboration graph

Public Member Functions

virtual ~X86AsmInstrumentation ()
void SetInitialFrameRegister (unsigned RegNo)
virtual void InstrumentAndEmitInstruction (const MCInst &Inst, SmallVectorImpl< std::unique_ptr< MCParsedAsmOperand >> &Operands, MCContext &Ctx, const MCInstrInfo &MII, MCStreamer &Out, bool PrintSchedInfoEnabled)

Protected Member Functions

 X86AsmInstrumentation (const MCSubtargetInfo *&STI)
unsigned GetFrameRegGeneric (const MCContext &Ctx, MCStreamer &Out)
void EmitInstruction (MCStreamer &Out, const MCInst &Inst, bool PrintSchedInfoEnabled=false)

Protected Attributes

const MCSubtargetInfo *& STI
unsigned InitialFrameReg = 0


X86AsmInstrumentationCreateX86AsmInstrumentation (const MCTargetOptions &MCOptions, const MCContext &Ctx, const MCSubtargetInfo *&STI)

Detailed Description

Definition at line 32 of file X86AsmInstrumentation.h.

Constructor & Destructor Documentation

◆ ~X86AsmInstrumentation()

X86AsmInstrumentation::~X86AsmInstrumentation ( )

Referenced by X86AsmInstrumentation().

◆ X86AsmInstrumentation()

X86AsmInstrumentation::X86AsmInstrumentation ( const MCSubtargetInfo *&  STI)

Member Function Documentation

◆ EmitInstruction()

void X86AsmInstrumentation::EmitInstruction ( MCStreamer Out,
const MCInst Inst,
bool  PrintSchedInfoEnabled = false 

◆ GetFrameRegGeneric()

unsigned X86AsmInstrumentation::GetFrameRegGeneric ( const MCContext Ctx,
MCStreamer Out 

◆ InstrumentAndEmitInstruction()

void X86AsmInstrumentation::InstrumentAndEmitInstruction ( const MCInst Inst,
SmallVectorImpl< std::unique_ptr< MCParsedAsmOperand >> &  Operands,
MCContext Ctx,
const MCInstrInfo MII,
MCStreamer Out,
bool  PrintSchedInfoEnabled 

Definition at line 1045 of file X86AsmInstrumentation.cpp.

References EmitInstruction().

Referenced by SetInitialFrameRegister().

◆ SetInitialFrameRegister()

void llvm::X86AsmInstrumentation::SetInitialFrameRegister ( unsigned  RegNo)

Friends And Related Function Documentation

◆ CreateX86AsmInstrumentation

X86AsmInstrumentation* CreateX86AsmInstrumentation ( const MCTargetOptions MCOptions,
const MCContext Ctx,
const MCSubtargetInfo *&  STI 

Referenced by SetInitialFrameRegister().

Member Data Documentation

◆ InitialFrameReg

unsigned llvm::X86AsmInstrumentation::InitialFrameReg = 0

Definition at line 63 of file X86AsmInstrumentation.h.

Referenced by GetFrameRegGeneric(), and SetInitialFrameRegister().


const MCSubtargetInfo*& llvm::X86AsmInstrumentation::STI

Definition at line 61 of file X86AsmInstrumentation.h.

Referenced by EmitInstruction(), and SetInitialFrameRegister().

The documentation for this class was generated from the following files: