Enables easy lookup of blocks by addresses.
More...
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
Enables easy lookup of blocks by addresses.
Definition at line 1020 of file JITLink.h.
◆ AddrToBlockMap
◆ const_iterator
◆ BlockAddressMap()
| llvm::jitlink::BlockAddressMap::BlockAddressMap |
( |
| ) |
|
|
default |
◆ addBlock()
template<typename PredFn = decltype(includeAllBlocks)>
◆ addBlocks()
template<typename BlockPtrRange , typename PredFn = decltype(includeAllBlocks)>
| Error llvm::jitlink::BlockAddressMap::addBlocks |
( |
BlockPtrRange && |
Blocks, |
|
|
PredFn |
Pred = includeAllBlocks |
|
) |
| |
|
inline |
Add a range of blocks to the map.
Returns an error if any block in the range overlaps with any other block in the range, or with any existing block in the map.
Definition at line 1071 of file JITLink.h.
◆ addBlocksWithoutChecking()
template<typename BlockPtrRange >
| void llvm::jitlink::BlockAddressMap::addBlocksWithoutChecking |
( |
BlockPtrRange && |
Blocks | ) |
|
|
inline |
Add a range of blocks to the map without checking for overlap with existing blocks.
The client is responsible for ensuring that the block added does not overlap with any existing block.
Definition at line 1082 of file JITLink.h.
◆ addBlockWithoutChecking()
| void llvm::jitlink::BlockAddressMap::addBlockWithoutChecking |
( |
Block & |
B | ) |
|
|
inline |
Add a block to the map without checking for overlap with existing blocks.
The client is responsible for ensuring that the block added does not overlap with any existing block.
Definition at line 1064 of file JITLink.h.
References B, and llvm::jitlink::Addressable::getAddress().
◆ begin()
Iterates over (Address, Block*) pairs in ascending order of address.
Definition at line 1088 of file JITLink.h.
◆ end()
◆ getBlockAt()
Returns the block starting at the given address, or nullptr if no such block exists.
Definition at line 1093 of file JITLink.h.
References I.
◆ getBlockCovering()
◆ includeAllBlocks()
| static bool llvm::jitlink::BlockAddressMap::includeAllBlocks |
( |
const Block & |
B | ) |
|
|
inlinestatic |
A block predicate that always adds all blocks.
Definition at line 1026 of file JITLink.h.
◆ includeNonNull()
| static bool llvm::jitlink::BlockAddressMap::includeNonNull |
( |
const Block & |
B | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- include/llvm/ExecutionEngine/JITLink/JITLink.h