LLDB  mainline
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
IRForTarget::FunctionValueCache Class Reference
Collaboration diagram for IRForTarget::FunctionValueCache:
Collaboration graph
[legend]

Public Types

typedef std::function< llvm::Value *(llvm::Function *)> Maker
 

Public Member Functions

 FunctionValueCache (Maker const &maker)
 
 ~FunctionValueCache ()
 
llvm::Value * GetValue (llvm::Function *function)
 

Private Types

typedef std::map< llvm::Function *, llvm::Value * > FunctionValueMap
 

Private Attributes

const Maker m_maker
 
FunctionValueMap m_values
 

Detailed Description

Definition at line 447 of file IRForTarget.h.

Member Typedef Documentation

◆ FunctionValueMap

typedef std::map<llvm::Function *, llvm::Value *> IRForTarget::FunctionValueCache::FunctionValueMap
private

Definition at line 457 of file IRForTarget.h.

◆ Maker

typedef std::function<llvm::Value *(llvm::Function *)> IRForTarget::FunctionValueCache::Maker

Definition at line 449 of file IRForTarget.h.

Constructor & Destructor Documentation

◆ FunctionValueCache()

IRForTarget::FunctionValueCache::FunctionValueCache ( Maker const &  maker)

Definition at line 47 of file IRForTarget.cpp.

◆ ~FunctionValueCache()

IRForTarget::FunctionValueCache::~FunctionValueCache ( )
default

Member Function Documentation

◆ GetValue()

llvm::Value * IRForTarget::FunctionValueCache::GetValue ( llvm::Function *  function)

Member Data Documentation

◆ m_maker

const Maker IRForTarget::FunctionValueCache::m_maker
private

Definition at line 456 of file IRForTarget.h.

◆ m_values

FunctionValueMap IRForTarget::FunctionValueCache::m_values
private

Definition at line 458 of file IRForTarget.h.


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