LLVM API Documentation

Public Member Functions | Public Attributes
llvm::LLVMDisasmContext Class Reference

#include <Disassembler.h>

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

List of all members.

Public Member Functions

 LLVMDisasmContext (std::string tripleName, void *disInfo, int tagType, LLVMOpInfoCallback getOpInfo, LLVMSymbolLookupCallback symbolLookUp, const Target *theTarget, const MCAsmInfo *mAI, const MCRegisterInfo *mRI, const MCSubtargetInfo *mSI, const MCInstrInfo *mII, llvm::MCContext *ctx, const MCDisassembler *disAsm, MCInstPrinter *iP)
const std::string & getTripleName () const
void * getDisInfo () const
int getTagType () const
LLVMOpInfoCallback getGetOpInfo () const
LLVMSymbolLookupCallback getSymbolLookupCallback () const
const TargetgetTarget () const
const MCDisassemblergetDisAsm () const
const MCAsmInfogetAsmInfo () const
const MCInstrInfogetInstrInfo () const
const MCRegisterInfogetRegisterInfo () const
const MCSubtargetInfogetSubtargetInfo () const
MCInstPrintergetIP ()
void setIP (MCInstPrinter *NewIP)
uint64_t getOptions () const
void addOptions (uint64_t Options)
StringRef getCPU () const
void setCPU (const char *CPU)

Public Attributes

SmallString< 128 > CommentsToEmit
raw_svector_ostream CommentStream

Detailed Description

Definition at line 38 of file lib/MC/MCDisassembler/Disassembler.h.


Constructor & Destructor Documentation

llvm::LLVMDisasmContext::LLVMDisasmContext ( std::string  tripleName,
void *  disInfo,
int  tagType,
LLVMOpInfoCallback  getOpInfo,
LLVMSymbolLookupCallback  symbolLookUp,
const Target theTarget,
const MCAsmInfo mAI,
const MCRegisterInfo mRI,
const MCSubtargetInfo mSI,
const MCInstrInfo mII,
llvm::MCContext ctx,
const MCDisassembler disAsm,
MCInstPrinter iP 
) [inline]

Definition at line 85 of file lib/MC/MCDisassembler/Disassembler.h.


Member Function Documentation

void llvm::LLVMDisasmContext::addOptions ( uint64_t  Options) [inline]

Definition at line 122 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by LLVMSetDisasmOptions().

Definition at line 115 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by emitComments(), and LLVMSetDisasmOptions().

Definition at line 123 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by getItineraryLatency().

Definition at line 114 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by LLVMDisasmInstruction().

void* llvm::LLVMDisasmContext::getDisInfo ( ) const [inline]

Definition at line 107 of file lib/MC/MCDisassembler/Disassembler.h.

Definition at line 109 of file lib/MC/MCDisassembler/Disassembler.h.

uint64_t llvm::LLVMDisasmContext::getOptions ( ) const [inline]

Definition at line 121 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by LLVMDisasmInstruction().

Definition at line 117 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by LLVMSetDisasmOptions().

Definition at line 110 of file lib/MC/MCDisassembler/Disassembler.h.

Definition at line 108 of file lib/MC/MCDisassembler/Disassembler.h.

Definition at line 113 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by LLVMSetDisasmOptions().

const std::string& llvm::LLVMDisasmContext::getTripleName ( ) const [inline]

Definition at line 106 of file lib/MC/MCDisassembler/Disassembler.h.

void llvm::LLVMDisasmContext::setCPU ( const char *  CPU) [inline]

Definition at line 124 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by LLVMCreateDisasmCPU().

void llvm::LLVMDisasmContext::setIP ( MCInstPrinter NewIP) [inline]

Definition at line 120 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by LLVMSetDisasmOptions().


Member Data Documentation

Definition at line 82 of file lib/MC/MCDisassembler/Disassembler.h.

Referenced by emitComments().


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