nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::VarRegions Struct Reference

The set of regions accessed on ONE variable by one statement. More...

#include <elem_regions.hpp>

Public Member Functions

void setAll ()
void add (const ElemRegion &r)
bool touches (const ElemRegion &r) const
 True when this access set could touch r (or a superset of it).
bool touchesAll () const

Public Attributes

bool all = false
std::vector< ElemRegion > rects

Detailed Description

The set of regions accessed on ONE variable by one statement.

all (whole-variable access seen) dominates any rectangles.

Definition at line 52 of file elem_regions.hpp.

Member Function Documentation

◆ add()

void nk::VarRegions::add ( const ElemRegion & r)
inline

Definition at line 58 of file elem_regions.hpp.

◆ setAll()

void nk::VarRegions::setAll ( )
inline

Definition at line 57 of file elem_regions.hpp.

◆ touches()

bool nk::VarRegions::touches ( const ElemRegion & r) const
inline

True when this access set could touch r (or a superset of it).

Definition at line 64 of file elem_regions.hpp.

◆ touchesAll()

bool nk::VarRegions::touchesAll ( ) const
inline

Definition at line 73 of file elem_regions.hpp.

Member Data Documentation

◆ all

bool nk::VarRegions::all = false

Definition at line 54 of file elem_regions.hpp.

◆ rects

std::vector<ElemRegion> nk::VarRegions::rects

Definition at line 55 of file elem_regions.hpp.


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