LLVM API Documentation

Public Types | Public Member Functions | Static Public Member Functions
llvm::MCCFIInstruction Class Reference

#include <MCDwarf.h>

Collaboration diagram for llvm::MCCFIInstruction:
Collaboration graph
[legend]

List of all members.

Public Types

enum  OpType {
  OpSameValue, OpRememberState, OpRestoreState, OpOffset,
  OpDefCfaRegister, OpDefCfaOffset, OpDefCfa, OpRelOffset,
  OpAdjustCfaOffset, OpEscape, OpRestore, OpUndefined,
  OpRegister
}

Public Member Functions

OpType getOperation () const
MCSymbolgetLabel () const
unsigned getRegister () const
unsigned getRegister2 () const
int getOffset () const
const StringRef getValues () const

Static Public Member Functions

static MCCFIInstruction createOffset (MCSymbol *L, unsigned Register, int Offset)
static MCCFIInstruction createDefCfaRegister (MCSymbol *L, unsigned Register)
static MCCFIInstruction createDefCfaOffset (MCSymbol *L, int Offset)
static MCCFIInstruction createDefCfa (MCSymbol *L, unsigned Register, int Offset)
static MCCFIInstruction createUndefined (MCSymbol *L, unsigned Register)
static MCCFIInstruction createRestore (MCSymbol *L, unsigned Register)
static MCCFIInstruction createSameValue (MCSymbol *L, unsigned Register)
static MCCFIInstruction createRestoreState (MCSymbol *L)
static MCCFIInstruction createRememberState (MCSymbol *L)
static MCCFIInstruction createRelOffset (MCSymbol *L, unsigned Register, int Offset)
static MCCFIInstruction createAdjustCfaOffset (MCSymbol *L, int Adjustment)
static MCCFIInstruction createEscape (MCSymbol *L, StringRef Vals)
static MCCFIInstruction createRegister (MCSymbol *L, unsigned Register1, unsigned Register2)

Detailed Description

Definition at line 281 of file MCDwarf.h.


Member Enumeration Documentation

Enumerator:
OpSameValue 
OpRememberState 
OpRestoreState 
OpOffset 
OpDefCfaRegister 
OpDefCfaOffset 
OpDefCfa 
OpRelOffset 
OpAdjustCfaOffset 
OpEscape 
OpRestore 
OpUndefined 
OpRegister 

Definition at line 283 of file MCDwarf.h.


Member Function Documentation

static MCCFIInstruction llvm::MCCFIInstruction::createAdjustCfaOffset ( MCSymbol L,
int  Adjustment 
) [inline, static]

Definition at line 354 of file MCDwarf.h.

References OpAdjustCfaOffset.

Referenced by llvm::MCStreamer::EmitCFIAdjustCfaOffset().

static MCCFIInstruction llvm::MCCFIInstruction::createDefCfa ( MCSymbol L,
unsigned  Register,
int  Offset 
) [inline, static]
static MCCFIInstruction llvm::MCCFIInstruction::createDefCfaOffset ( MCSymbol L,
int  Offset 
) [inline, static]
static MCCFIInstruction llvm::MCCFIInstruction::createDefCfaRegister ( MCSymbol L,
unsigned  Register 
) [inline, static]
static MCCFIInstruction llvm::MCCFIInstruction::createEscape ( MCSymbol L,
StringRef  Vals 
) [inline, static]

Definition at line 358 of file MCDwarf.h.

References OpEscape.

Referenced by llvm::MCStreamer::EmitCFIEscape().

static MCCFIInstruction llvm::MCCFIInstruction::createOffset ( MCSymbol L,
unsigned  Register,
int  Offset 
) [inline, static]
static MCCFIInstruction llvm::MCCFIInstruction::createRegister ( MCSymbol L,
unsigned  Register1,
unsigned  Register2 
) [inline, static]

Definition at line 363 of file MCDwarf.h.

References OpRegister.

Referenced by llvm::MCStreamer::EmitCFIRegister().

static MCCFIInstruction llvm::MCCFIInstruction::createRelOffset ( MCSymbol L,
unsigned  Register,
int  Offset 
) [inline, static]

Definition at line 349 of file MCDwarf.h.

References OpRelOffset.

Referenced by llvm::MCStreamer::EmitCFIRelOffset().

static MCCFIInstruction llvm::MCCFIInstruction::createRememberState ( MCSymbol L) [inline, static]

Definition at line 344 of file MCDwarf.h.

References OpRememberState.

Referenced by llvm::MCStreamer::EmitCFIRememberState().

static MCCFIInstruction llvm::MCCFIInstruction::createRestore ( MCSymbol L,
unsigned  Register 
) [inline, static]

Definition at line 332 of file MCDwarf.h.

References OpRestore.

Referenced by llvm::MCStreamer::EmitCFIRestore().

static MCCFIInstruction llvm::MCCFIInstruction::createRestoreState ( MCSymbol L) [inline, static]

Definition at line 340 of file MCDwarf.h.

References OpRestoreState.

Referenced by llvm::MCStreamer::EmitCFIRestoreState().

static MCCFIInstruction llvm::MCCFIInstruction::createSameValue ( MCSymbol L,
unsigned  Register 
) [inline, static]

Definition at line 336 of file MCDwarf.h.

References OpSameValue.

Referenced by llvm::MCStreamer::EmitCFISameValue().

static MCCFIInstruction llvm::MCCFIInstruction::createUndefined ( MCSymbol L,
unsigned  Register 
) [inline, static]

Definition at line 328 of file MCDwarf.h.

References OpUndefined.

Referenced by llvm::MCStreamer::EmitCFIUndefined().

MCSymbol* llvm::MCCFIInstruction::getLabel ( ) const [inline]

Definition at line 368 of file MCDwarf.h.

int llvm::MCCFIInstruction::getOffset ( ) const [inline]
OpType llvm::MCCFIInstruction::getOperation ( ) const [inline]

Definition at line 367 of file MCDwarf.h.

Referenced by llvm::AsmPrinter::emitCFIInstruction().

unsigned llvm::MCCFIInstruction::getRegister ( ) const [inline]
unsigned llvm::MCCFIInstruction::getRegister2 ( ) const [inline]

Definition at line 378 of file MCDwarf.h.

References OpRegister, and Register2.

const StringRef llvm::MCCFIInstruction::getValues ( ) const [inline]

Definition at line 390 of file MCDwarf.h.

References OpEscape.


Member Data Documentation

Definition at line 292 of file MCDwarf.h.

Referenced by getOffset().

Definition at line 293 of file MCDwarf.h.

Referenced by getRegister2().


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