LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::object::IRObjectFile Class Reference

#include <IRObjectFile.h>

Inheritance diagram for llvm::object::IRObjectFile:
Inheritance graph
[legend]
Collaboration diagram for llvm::object::IRObjectFile:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IRObjectFile (MemoryBufferRef Object, std::unique_ptr< Module > M)
 ~IRObjectFile ()
void moveSymbolNext (DataRefImpl &Symb) const override
std::error_code printSymbolName (raw_ostream &OS, DataRefImpl Symb) const override
uint32_t getSymbolFlags (DataRefImpl Symb) const override
const GlobalValuegetSymbolGV (DataRefImpl Symb) const
basic_symbol_iterator symbol_begin_impl () const override
basic_symbol_iterator symbol_end_impl () const override
const ModulegetModule () const
ModulegetModule ()

Static Public Member Functions

static bool classof (const Binary *v)
static ErrorOr
< std::unique_ptr
< IRObjectFile > > 
createIRObjectFile (MemoryBufferRef Object, LLVMContext &Context)

Detailed Description

Definition at line 25 of file IRObjectFile.h.


Constructor & Destructor Documentation

IRObjectFile::IRObjectFile ( MemoryBufferRef  Object,
std::unique_ptr< Module M 
)

Definition at line 115 of file IRObjectFile.cpp.


Member Function Documentation

static bool llvm::object::IRObjectFile::classof ( const Binary v) [inline, static]

Reimplemented from llvm::object::SymbolicFile.

Definition at line 48 of file IRObjectFile.h.

References llvm::object::Binary::isIR().

ErrorOr< std::unique_ptr< IRObjectFile > > llvm::object::IRObjectFile::createIRObjectFile ( MemoryBufferRef  Object,
LLVMContext Context 
) [static]

Definition at line 41 of file IRObjectFile.h.

Definition at line 44 of file IRObjectFile.h.

uint32_t IRObjectFile::getSymbolFlags ( DataRefImpl  Symb) const [override, virtual]

Definition at line 247 of file IRObjectFile.cpp.

References getGV().

void IRObjectFile::moveSymbolNext ( DataRefImpl Symb) const [override, virtual]
std::error_code IRObjectFile::printSymbolName ( raw_ostream OS,
DataRefImpl  Symb 
) const [override, virtual]

Implements llvm::object::SymbolicFile.

Definition at line 259 of file IRObjectFile.cpp.

References llvm::object::DataRefImpl::p, and llvm::MipsISD::Ret.


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