Jlm
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
jlm::llvm::VariableSet Class Referencefinal

#include <Annotation.hpp>

Classes

class  ConstIterator
 

Public Member Functions

 VariableSet ()=default
 
 VariableSet (std::initializer_list< const Variable * > init)
 
ConstRange Variables () const noexcept
 
bool Contains (const Variable &v) const
 
bool Contains (const VariableSet &variableSet) const
 
size_t Size () const noexcept
 
void Insert (const Variable &v)
 
void Insert (const VariableSet &variableSet)
 
void Remove (const Variable &v)
 
void Remove (const VariableSet &variableSet)
 
void Intersect (const VariableSet &variableSet)
 
bool operator== (const VariableSet &other) const
 
bool operator!= (const VariableSet &other) const
 
std::string DebugString () const noexcept
 

Private Types

using ConstRange = util::IteratorRange< ConstIterator >
 

Private Attributes

std::unordered_set< const Variable * > Set_
 

Detailed Description

Definition at line 23 of file Annotation.hpp.

Member Typedef Documentation

◆ ConstRange

Definition at line 89 of file Annotation.hpp.

Constructor & Destructor Documentation

◆ VariableSet() [1/2]

jlm::llvm::VariableSet::VariableSet ( )
default

◆ VariableSet() [2/2]

jlm::llvm::VariableSet::VariableSet ( std::initializer_list< const Variable * >  init)
inline

Definition at line 94 of file Annotation.hpp.

Member Function Documentation

◆ Contains() [1/2]

bool jlm::llvm::VariableSet::Contains ( const Variable v) const
inline

Definition at line 105 of file Annotation.hpp.

◆ Contains() [2/2]

bool jlm::llvm::VariableSet::Contains ( const VariableSet variableSet) const
inline

Definition at line 111 of file Annotation.hpp.

◆ DebugString()

std::string jlm::llvm::VariableSet::DebugString ( ) const
noexcept

Definition at line 17 of file Annotation.cpp.

◆ Insert() [1/2]

void jlm::llvm::VariableSet::Insert ( const Variable v)
inline

Definition at line 132 of file Annotation.hpp.

◆ Insert() [2/2]

void jlm::llvm::VariableSet::Insert ( const VariableSet variableSet)
inline

Definition at line 138 of file Annotation.hpp.

◆ Intersect()

void jlm::llvm::VariableSet::Intersect ( const VariableSet variableSet)
inline

Definition at line 157 of file Annotation.hpp.

◆ operator!=()

bool jlm::llvm::VariableSet::operator!= ( const VariableSet other) const
inline

Definition at line 184 of file Annotation.hpp.

◆ operator==()

bool jlm::llvm::VariableSet::operator== ( const VariableSet other) const
inline

Definition at line 169 of file Annotation.hpp.

◆ Remove() [1/2]

void jlm::llvm::VariableSet::Remove ( const Variable v)
inline

Definition at line 144 of file Annotation.hpp.

◆ Remove() [2/2]

void jlm::llvm::VariableSet::Remove ( const VariableSet variableSet)
inline

Definition at line 150 of file Annotation.hpp.

◆ Size()

size_t jlm::llvm::VariableSet::Size ( ) const
inlinenoexcept

Definition at line 126 of file Annotation.hpp.

◆ Variables()

ConstRange jlm::llvm::VariableSet::Variables ( ) const
inlinenoexcept

Definition at line 99 of file Annotation.hpp.

Member Data Documentation

◆ Set_

std::unordered_set<const Variable *> jlm::llvm::VariableSet::Set_
private

Definition at line 193 of file Annotation.hpp.


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