LLVM API Documentation
Helper class for helping synchronize access to the global address map table. More...
#include <ExecutionEngine.h>
Classes | |
struct | AddressMapConfig |
Public Types | |
typedef ValueMap< const GlobalValue *, void *, AddressMapConfig > | GlobalAddressMapTy |
Public Member Functions | |
ExecutionEngineState (ExecutionEngine &EE) | |
GlobalAddressMapTy & | getGlobalAddressMap (const MutexGuard &) |
std::map< void *, AssertingVH < const GlobalValue > > & | getGlobalAddressReverseMap (const MutexGuard &) |
void * | RemoveMapping (const MutexGuard &, const GlobalValue *ToUnmap) |
Erase an entry from the mapping table. More... | |
Helper class for helping synchronize access to the global address map table.
Definition at line 53 of file ExecutionEngine/ExecutionEngine.h.
typedef ValueMap<const GlobalValue *, void *, AddressMapConfig> llvm::ExecutionEngineState::GlobalAddressMapTy |
Definition at line 64 of file ExecutionEngine/ExecutionEngine.h.
ExecutionEngineState::ExecutionEngineState | ( | ExecutionEngine & | EE | ) |
Definition at line 1315 of file ExecutionEngine.cpp.
|
inline |
Definition at line 82 of file ExecutionEngine/ExecutionEngine.h.
Referenced by llvm::ExecutionEngine::addGlobalMapping(), llvm::ExecutionEngine::clearAllGlobalMappings(), llvm::ExecutionEngine::getGlobalValueAtAddress(), llvm::ExecutionEngine::getPointerToGlobal(), llvm::ExecutionEngine::getPointerToGlobalIfAvailable(), and llvm::ExecutionEngine::updateGlobalMapping().
|
inline |
Definition at line 87 of file ExecutionEngine/ExecutionEngine.h.
Referenced by llvm::ExecutionEngine::addGlobalMapping(), llvm::ExecutionEngine::clearAllGlobalMappings(), llvm::ExecutionEngine::getGlobalValueAtAddress(), and llvm::ExecutionEngine::updateGlobalMapping().
void * ExecutionEngineState::RemoveMapping | ( | const MutexGuard & | , |
const GlobalValue * | ToUnmap | ||
) |
Erase an entry from the mapping table.
ToUnmap
was happed to. Definition at line 136 of file ExecutionEngine.cpp.
References llvm::ValueMap< KeyT, ValueT, Config >::end(), llvm::ValueMap< KeyT, ValueT, Config >::erase(), llvm::ValueMap< KeyT, ValueT, Config >::find(), I, and llvm::ValueMapIterator< DenseMapT, KeyT >::ValueTypeProxy::second.
Referenced by llvm::ExecutionEngine::clearGlobalMappingsFromModule(), and llvm::ExecutionEngine::updateGlobalMapping().