|
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 246 of file MemoryStateEncoder.cpp.
|
default |
|
delete |
|
delete |
|
inlinestatic |
Definition at line 414 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 385 of file MemoryStateEncoder.cpp.
|
inline |
Definition at line 358 of file MemoryStateEncoder.cpp.
|
inline |
Definition at line 366 of file MemoryStateEncoder.cpp.
|
inlinenoexcept |
Definition at line 352 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 405 of file MemoryStateEncoder.cpp.
|
inlinenoexcept |
Definition at line 346 of file MemoryStateEncoder.cpp.
|
inlinenoexcept |
Definition at line 337 of file MemoryStateEncoder.cpp.
|
private |
Definition at line 422 of file MemoryStateEncoder.cpp.