LLVM  8.0.1
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
[legend]

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
 

Friends

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 ( )
virtualdefault

Referenced by X86AsmInstrumentation().

◆ X86AsmInstrumentation()

X86AsmInstrumentation::X86AsmInstrumentation ( const MCSubtargetInfo *&  STI)
protected

Member Function Documentation

◆ EmitInstruction()

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

◆ GetFrameRegGeneric()

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

◆ InstrumentAndEmitInstruction()

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

Definition at line 1045 of file X86AsmInstrumentation.cpp.

References EmitInstruction().

Referenced by SetInitialFrameRegister().

◆ SetInitialFrameRegister()

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

Friends And Related Function Documentation

◆ CreateX86AsmInstrumentation

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

Referenced by SetInitialFrameRegister().

Member Data Documentation

◆ InitialFrameReg

unsigned llvm::X86AsmInstrumentation::InitialFrameReg = 0
protected

Definition at line 63 of file X86AsmInstrumentation.h.

Referenced by GetFrameRegGeneric(), and SetInitialFrameRegister().

◆ STI

const MCSubtargetInfo*& llvm::X86AsmInstrumentation::STI
protected

Definition at line 61 of file X86AsmInstrumentation.h.

Referenced by EmitInstruction(), and SetInitialFrameRegister().


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