LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::LLVMDisasmContext Class Reference

#include "MC/MCDisassembler/Disassembler.h"

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

Public Member Functions

 LLVMDisasmContext (std::string TripleName, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp, const Target *TheTarget, std::unique_ptr< const MCAsmInfo > &&MAI, std::unique_ptr< const MCRegisterInfo > &&MRI, std::unique_ptr< const MCSubtargetInfo > &&MSI, std::unique_ptr< const MCInstrInfo > &&MII, std::unique_ptr< const llvm::MCContext > &&Ctx, std::unique_ptr< const MCDisassembler > &&DisAsm, std::unique_ptr< 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 Disassembler.h.

Constructor & Destructor Documentation

◆ LLVMDisasmContext()

llvm::LLVMDisasmContext::LLVMDisasmContext ( std::string  TripleName,
void *  DisInfo,
int  TagType,
LLVMOpInfoCallback  GetOpInfo,
LLVMSymbolLookupCallback  SymbolLookUp,
const Target TheTarget,
std::unique_ptr< const MCAsmInfo > &&  MAI,
std::unique_ptr< const MCRegisterInfo > &&  MRI,
std::unique_ptr< const MCSubtargetInfo > &&  MSI,
std::unique_ptr< const MCInstrInfo > &&  MII,
std::unique_ptr< const llvm::MCContext > &&  Ctx,
std::unique_ptr< const MCDisassembler > &&  DisAsm,
std::unique_ptr< MCInstPrinter > &&  IP 
)
inline

Definition at line 85 of file Disassembler.h.

References MRI, and Options.

Member Function Documentation

◆ addOptions()

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

Definition at line 117 of file Disassembler.h.

References Options.

◆ getAsmInfo()

const MCAsmInfo* llvm::LLVMDisasmContext::getAsmInfo ( ) const
inline

Definition at line 110 of file Disassembler.h.

◆ getCPU()

StringRef llvm::LLVMDisasmContext::getCPU ( ) const
inline

Definition at line 118 of file Disassembler.h.

◆ getDisAsm()

const MCDisassembler* llvm::LLVMDisasmContext::getDisAsm ( ) const
inline

Definition at line 109 of file Disassembler.h.

◆ getDisInfo()

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

Definition at line 102 of file Disassembler.h.

◆ getGetOpInfo()

LLVMOpInfoCallback llvm::LLVMDisasmContext::getGetOpInfo ( ) const
inline

Definition at line 104 of file Disassembler.h.

◆ getInstrInfo()

const MCInstrInfo* llvm::LLVMDisasmContext::getInstrInfo ( ) const
inline

Definition at line 111 of file Disassembler.h.

References llvm::MCInstrInfo::get().

◆ getIP()

MCInstPrinter* llvm::LLVMDisasmContext::getIP ( )
inline

Definition at line 114 of file Disassembler.h.

◆ getOptions()

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

Definition at line 116 of file Disassembler.h.

References Options.

◆ getRegisterInfo()

const MCRegisterInfo* llvm::LLVMDisasmContext::getRegisterInfo ( ) const
inline

Definition at line 112 of file Disassembler.h.

References MRI.

◆ getSubtargetInfo()

const MCSubtargetInfo* llvm::LLVMDisasmContext::getSubtargetInfo ( ) const
inline

Definition at line 113 of file Disassembler.h.

◆ getSymbolLookupCallback()

LLVMSymbolLookupCallback llvm::LLVMDisasmContext::getSymbolLookupCallback ( ) const
inline

Definition at line 105 of file Disassembler.h.

◆ getTagType()

int llvm::LLVMDisasmContext::getTagType ( ) const
inline

Definition at line 103 of file Disassembler.h.

◆ getTarget()

const Target* llvm::LLVMDisasmContext::getTarget ( ) const
inline

Definition at line 108 of file Disassembler.h.

◆ getTripleName()

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

Definition at line 101 of file Disassembler.h.

◆ setCPU()

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

Definition at line 119 of file Disassembler.h.

◆ setIP()

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

Definition at line 115 of file Disassembler.h.

Member Data Documentation

◆ CommentsToEmit

SmallString<128> llvm::LLVMDisasmContext::CommentsToEmit

Definition at line 82 of file Disassembler.h.

◆ CommentStream

raw_svector_ostream llvm::LLVMDisasmContext::CommentStream

Definition at line 83 of file Disassembler.h.


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