LLDB mainline
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.

References m_maker, and m_values.

◆ ~FunctionValueCache()

IRForTarget::FunctionValueCache::~FunctionValueCache ( )
default

Member Function Documentation

◆ GetValue()

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

Definition at line 56 of file IRForTarget.cpp.

References m_maker, and m_values.

Referenced by IRForTarget::UnfoldConstant().

Member Data Documentation

◆ m_maker

Maker const IRForTarget::FunctionValueCache::m_maker
private

Definition at line 364 of file IRForTarget.h.

Referenced by FunctionValueCache(), and GetValue().

◆ m_values

FunctionValueMap IRForTarget::FunctionValueCache::m_values
private

Definition at line 366 of file IRForTarget.h.

Referenced by FunctionValueCache(), and GetValue().


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