Jlm
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jlm::llvm::aa::ModRefSet Class Reference

#include <ModRefSummary.hpp>

Inheritance diagram for jlm::llvm::aa::ModRefSet:
Inheritance graph
[legend]

Public Member Functions

const std::unordered_map< PointsToGraph::NodeIndex, ModRefEffect > & getModRefNodes () const
 

Protected Member Functions

 ModRefSet ()=default
 
 ModRefSet (const ModRefSet &other)=default
 
 ModRefSet (ModRefSet &&other)=default
 
ModRefSetoperator= (const ModRefSet &other)=default
 
ModRefSetoperator= (ModRefSet &&other)=default
 

Protected Attributes

std::unordered_map< PointsToGraph::NodeIndex, ModRefEffectmodRefNodes_
 

Detailed Description

Class that represents the set of memory nodes that may be referenced and/or modified by some operation.

Memory nodes that are marked constant, or memory that is provably never stored to, can be omitted from all ModRefSets.

Memory nodes can also be compressed into the external node. Let A be a memory node. If the following implications hold in every ModRefSet in a function F:

Definition at line 113 of file ModRefSummary.hpp.

Constructor & Destructor Documentation

◆ ModRefSet() [1/3]

jlm::llvm::aa::ModRefSet::ModRefSet ( )
protecteddefault

◆ ModRefSet() [2/3]

jlm::llvm::aa::ModRefSet::ModRefSet ( const ModRefSet other)
protecteddefault

◆ ModRefSet() [3/3]

jlm::llvm::aa::ModRefSet::ModRefSet ( ModRefSet &&  other)
protecteddefault

Member Function Documentation

◆ getModRefNodes()

const std::unordered_map< PointsToGraph::NodeIndex, ModRefEffect > & jlm::llvm::aa::ModRefSet::getModRefNodes ( ) const
inline

Definition at line 117 of file ModRefSummary.hpp.

◆ operator=() [1/2]

ModRefSet & jlm::llvm::aa::ModRefSet::operator= ( const ModRefSet other)
protecteddefault

◆ operator=() [2/2]

ModRefSet & jlm::llvm::aa::ModRefSet::operator= ( ModRefSet &&  other)
protecteddefault

Member Data Documentation

◆ modRefNodes_

std::unordered_map<PointsToGraph::NodeIndex, ModRefEffect> jlm::llvm::aa::ModRefSet::modRefNodes_
protected

The set of memory nodes in the ModRefSet, indexed by their index in a points to graph.

Definition at line 136 of file ModRefSummary.hpp.


The documentation for this class was generated from the following file: