|
Jlm
|
Hash map for mapping points-to graph memory nodes to RVSDG memory states. More...
Classes | |
| class | MemoryNodeStatePair |
Public Member Functions | |
| StateMap ()=default | |
| StateMap (const StateMap &)=delete | |
| StateMap (StateMap &&)=delete | |
| StateMap & | operator= (const StateMap &)=delete |
| StateMap & | operator= (StateMap &&)=delete |
| MemoryNodeStatePair * | TryGetState (PointsToGraph::NodeIndex memoryNode) noexcept |
| const MemoryNodeStatePair * | TryGetState (PointsToGraph::NodeIndex memoryNode) const noexcept |
| bool | HasState (PointsToGraph::NodeIndex memoryNode) const noexcept |
| MemoryNodeStatePair * | GetState (PointsToGraph::NodeIndex memoryNode) |
| std::vector< MemoryNodeStatePair * > | GetStates (const util::HashSet< PointsToGraph::NodeIndex > &memoryNodes) |
| std::vector< MemoryNodeStatePair * > | GetExistingStates (const util::HashSet< PointsToGraph::NodeIndex > &memoryNodes) |
| MemoryNodeStatePair * | InsertState (PointsToGraph::NodeIndex memoryNode, rvsdg::Output &state) |
Static Public Member Functions | |
| static std::unique_ptr< StateMap > | Create () |
Private Attributes | |
| std::unordered_map< PointsToGraph::NodeIndex, MemoryNodeStatePair > | states_ |
Hash map for mapping points-to graph memory nodes to RVSDG memory states.
Definition at line 241 of file MemoryStateEncoder.cpp.
|
default |
|
delete |
|
delete |
|
inlinestatic |
Definition at line 409 of file MemoryStateEncoder.cpp.
|
inline |
Gets MemoryNodeStatePairs for each of the given memory nodes, unless there is no memory state in the region representing the memory node.
| memoryNodes | the set of memory nodes to retrieve states for. |
Definition at line 380 of file MemoryStateEncoder.cpp.
|
inline |
Definition at line 353 of file MemoryStateEncoder.cpp.
|
inline |
Definition at line 361 of file MemoryStateEncoder.cpp.
|
inlinenoexcept |
Definition at line 347 of file MemoryStateEncoder.cpp.
|
inline |
Creates a new memory node / memory state pair in the region. The memory node must not have an already associated state.
| memoryNode | the memory node |
| state | the output that produces the memory state associated with the memory node |
Definition at line 400 of file MemoryStateEncoder.cpp.
|
inlinenoexcept |
Definition at line 341 of file MemoryStateEncoder.cpp.
|
inlinenoexcept |
Definition at line 332 of file MemoryStateEncoder.cpp.
|
private |
Definition at line 417 of file MemoryStateEncoder.cpp.