top | up | prev | next

EmittingContext Class

Definition at line 37 of EmittingContext.hpp

Constructors

EmittingContext(int optimizationLevel)

Member Functions

llvm::LLVMContext& Context()
void* DataLayout() override
int OptimizationLevel() const override
void* TargetMachine() override
const std::string& TargetTriple() const override

Member Variables

llvm::LLVMContext context
std::unique_ptr<llvm::DataLayout> dataLayout
int optimizationLevel
std::unique_ptr<llvm::TargetMachine> targetMachine
std::string targetTriple

Constructor Details

EmittingContext Constructor

cmllvm::EmittingContext::EmittingContext(int optimizationLevel)

Definition at line 10 of EmittingContext.cpp
Declaration at line 40 of EmittingContext.hpp


Member Function Details

Context Member Function

llvm::LLVMContext& cmllvm::EmittingContext::Context()

Definition at line 41 of EmittingContext.hpp :
41 { return context; }


DataLayout Member Function

void * cmllvm::EmittingContext::DataLayout() override

Definition at line 43 of EmittingContext.hpp :
43 { return dataLayout.get(); }

Base class overridden functions: cmajor::ir::EmittingContext::DataLayout


OptimizationLevel Member Function

int cmllvm::EmittingContext::OptimizationLevel() const override

Definition at line 45 of EmittingContext.hpp :
45 { return optimizationLevel; }

Base class overridden functions: cmajor::ir::EmittingContext::OptimizationLevel


TargetMachine Member Function

void * cmllvm::EmittingContext::TargetMachine() override

Definition at line 44 of EmittingContext.hpp :
44 { return targetMachine.get(); }

Base class overridden functions: cmajor::ir::EmittingContext::TargetMachine


TargetTriple Member Function

const std::string& cmllvm::EmittingContext::TargetTriple() const override

Definition at line 42 of EmittingContext.hpp :
42 { return targetTriple; }

Base class overridden functions: cmajor::ir::EmittingContext::TargetTriple


top | up | prev | next