llvm::StringMap< ValueTy, AllocatorTy > Class Template Reference
StringMap - This is an unconventional map that is specialized for handling keys that are "strings", which are basically ranges of bytes.
More...
#include <StringMap.h>
List of all members.
Detailed Description
template<typename ValueTy, typename AllocatorTy = MallocAllocator>
class llvm::StringMap< ValueTy, AllocatorTy >
StringMap - This is an unconventional map that is specialized for handling keys that are "strings", which are basically ranges of bytes.
This does some funky memory allocation and hashing things to make it extremely efficient, storing the string data *after* the value in the map.
Member Typedef Documentation
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
Constructor & Destructor Documentation
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
Member Function Documentation
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename InitTy >
GetOrCreateValue - Look up the specified key in the table.
If a value exists, return it. Otherwise, default construct a value, insert it, and return.
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
insert - Insert the specified key/value pair into the map.
If the key already exists in the map, return false and ignore the request, otherwise insert it and return true.
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
lookup - Return the entry for the specified key, or a default
constructed value if no such entry exists.
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
remove - Remove the specified key/value pair from the map, but do not erase it.
This aborts if the key is not in the map.
Member Data Documentation
template<typename ValueTy , typename AllocatorTy = MallocAllocator>
The documentation for this class was generated from the following file: