Jlm
Public Member Functions | Private Attributes | List of all members
jlm::llvm::Context Class Referencefinal
Collaboration diagram for jlm::llvm::Context:
Collaboration graph
[legend]

Public Member Functions

 Context (InterProceduralGraphModule &im)
 
const llvm::Variableresult () const noexcept
 
void set_result (const llvm::Variable *result)
 
llvm::Variableiostate () const noexcept
 
void set_iostate (llvm::Variable *state)
 
llvm::Variablememory_state () const noexcept
 
void set_memory_state (llvm::Variable *state)
 
bool has (const ::llvm::BasicBlock *bb) const noexcept
 
bool has (BasicBlock *bb) const noexcept
 
BasicBlockget (const ::llvm::BasicBlock *bb) const noexcept
 
const ::llvm::BasicBlockget (BasicBlock *bb) const noexcept
 
void set_basic_block_map (BasicBlockMap bbmap)
 
bool has_value (const ::llvm::Value *value) const noexcept
 
const llvm::Variablelookup_value (const ::llvm::Value *value) const noexcept
 
void insert_value (const ::llvm::Value *value, const llvm::Variable *variable)
 
InterProceduralGraphModulemodule () const noexcept
 
void set_node (InterProceduralGraphNode *node) noexcept
 
InterProceduralGraphNodenode () const noexcept
 
TypeConverterGetTypeConverter () noexcept
 

Private Attributes

InterProceduralGraphModulemodule_
 
BasicBlockMap bbmap_
 
InterProceduralGraphNodenode_
 
const llvm::Variableresult_ {}
 
llvm::Variableiostate_
 
llvm::Variablememory_state_
 
std::unordered_map< const ::llvm::Value *, const llvm::Variable * > vmap_
 
TypeConverter TypeConverter_
 

Detailed Description

Definition at line 39 of file LlvmModuleConversion.cpp.

Constructor & Destructor Documentation

◆ Context()

jlm::llvm::Context::Context ( InterProceduralGraphModule im)
inlineexplicit

Definition at line 42 of file LlvmModuleConversion.cpp.

Member Function Documentation

◆ get() [1/2]

const ::llvm::BasicBlock* jlm::llvm::Context::get ( BasicBlock bb) const
inlinenoexcept

Definition at line 104 of file LlvmModuleConversion.cpp.

◆ get() [2/2]

BasicBlock* jlm::llvm::Context::get ( const ::llvm::BasicBlock bb) const
inlinenoexcept

Definition at line 98 of file LlvmModuleConversion.cpp.

◆ GetTypeConverter()

TypeConverter& jlm::llvm::Context::GetTypeConverter ( )
inlinenoexcept

Definition at line 154 of file LlvmModuleConversion.cpp.

◆ has() [1/2]

bool jlm::llvm::Context::has ( BasicBlock bb) const
inlinenoexcept

Definition at line 92 of file LlvmModuleConversion.cpp.

◆ has() [2/2]

bool jlm::llvm::Context::has ( const ::llvm::BasicBlock bb) const
inlinenoexcept

Definition at line 86 of file LlvmModuleConversion.cpp.

◆ has_value()

bool jlm::llvm::Context::has_value ( const ::llvm::Value *  value) const
inlinenoexcept

Definition at line 116 of file LlvmModuleConversion.cpp.

◆ insert_value()

void jlm::llvm::Context::insert_value ( const ::llvm::Value *  value,
const llvm::Variable variable 
)
inline

Definition at line 129 of file LlvmModuleConversion.cpp.

◆ iostate()

llvm::Variable* jlm::llvm::Context::iostate ( ) const
inlinenoexcept

Definition at line 62 of file LlvmModuleConversion.cpp.

◆ lookup_value()

const llvm::Variable* jlm::llvm::Context::lookup_value ( const ::llvm::Value *  value) const
inlinenoexcept

Definition at line 122 of file LlvmModuleConversion.cpp.

◆ memory_state()

llvm::Variable* jlm::llvm::Context::memory_state ( ) const
inlinenoexcept

Definition at line 74 of file LlvmModuleConversion.cpp.

◆ module()

InterProceduralGraphModule& jlm::llvm::Context::module ( ) const
inlinenoexcept

Definition at line 136 of file LlvmModuleConversion.cpp.

◆ node()

InterProceduralGraphNode* jlm::llvm::Context::node ( ) const
inlinenoexcept

Definition at line 148 of file LlvmModuleConversion.cpp.

◆ result()

const llvm::Variable* jlm::llvm::Context::result ( ) const
inlinenoexcept

Definition at line 50 of file LlvmModuleConversion.cpp.

◆ set_basic_block_map()

void jlm::llvm::Context::set_basic_block_map ( BasicBlockMap  bbmap)
inline

Definition at line 110 of file LlvmModuleConversion.cpp.

◆ set_iostate()

void jlm::llvm::Context::set_iostate ( llvm::Variable state)
inline

Definition at line 68 of file LlvmModuleConversion.cpp.

◆ set_memory_state()

void jlm::llvm::Context::set_memory_state ( llvm::Variable state)
inline

Definition at line 80 of file LlvmModuleConversion.cpp.

◆ set_node()

void jlm::llvm::Context::set_node ( InterProceduralGraphNode node)
inlinenoexcept

Definition at line 142 of file LlvmModuleConversion.cpp.

◆ set_result()

void jlm::llvm::Context::set_result ( const llvm::Variable result)
inline

Definition at line 56 of file LlvmModuleConversion.cpp.

Member Data Documentation

◆ bbmap_

BasicBlockMap jlm::llvm::Context::bbmap_
private

Definition at line 161 of file LlvmModuleConversion.cpp.

◆ iostate_

llvm::Variable* jlm::llvm::Context::iostate_
private

Definition at line 164 of file LlvmModuleConversion.cpp.

◆ memory_state_

llvm::Variable* jlm::llvm::Context::memory_state_
private

Definition at line 165 of file LlvmModuleConversion.cpp.

◆ module_

InterProceduralGraphModule& jlm::llvm::Context::module_
private

Definition at line 160 of file LlvmModuleConversion.cpp.

◆ node_

InterProceduralGraphNode* jlm::llvm::Context::node_
private

Definition at line 162 of file LlvmModuleConversion.cpp.

◆ result_

const llvm::Variable* jlm::llvm::Context::result_ {}
private

Definition at line 163 of file LlvmModuleConversion.cpp.

◆ TypeConverter_

TypeConverter jlm::llvm::Context::TypeConverter_
private

Definition at line 167 of file LlvmModuleConversion.cpp.

◆ vmap_

std::unordered_map<const ::llvm::Value *, const llvm::Variable *> jlm::llvm::Context::vmap_
private

Definition at line 166 of file LlvmModuleConversion.cpp.


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