LLDB mainline
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
IRForTarget::FunctionValueCache Class Reference

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

Maker const m_maker
 
FunctionValueMap m_values
 

Detailed Description

Definition at line 355 of file IRForTarget.h.

Member Typedef Documentation

◆ FunctionValueMap

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

Definition at line 365 of file IRForTarget.h.

◆ Maker

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

Definition at line 357 of file IRForTarget.h.

Constructor & Destructor Documentation

◆ FunctionValueCache()

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

Definition at line 50 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

Maker const IRForTarget::FunctionValueCache::m_maker
private

Definition at line 364 of file IRForTarget.h.

◆ m_values

FunctionValueMap IRForTarget::FunctionValueCache::m_values
private

Definition at line 366 of file IRForTarget.h.


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