LLVM 17.0.0git
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
llvm::cflaa::StratifiedLink Struct Reference

A "link" between two StratifiedSets. More...

#include "Analysis/StratifiedSets.h"

Collaboration diagram for llvm::cflaa::StratifiedLink:
Collaboration graph
[legend]

Public Member Functions

 StratifiedLink ()
 
bool hasBelow () const
 
bool hasAbove () const
 
void clearBelow ()
 
void clearAbove ()
 

Public Attributes

StratifiedIndex Above
 The index for the set "above" current.
 
StratifiedIndex Below
 The link for the set "below" current.
 
AliasAttrs Attrs
 Attributes for these StratifiedSets.
 

Static Public Attributes

static const StratifiedIndex SetSentinel
 This is a value used to signify "does not exist" where the StratifiedIndex type is used.
 

Detailed Description

A "link" between two StratifiedSets.

Definition at line 37 of file StratifiedSets.h.

Constructor & Destructor Documentation

◆ StratifiedLink()

llvm::cflaa::StratifiedLink::StratifiedLink ( )
inline

Definition at line 55 of file StratifiedSets.h.

Member Function Documentation

◆ clearAbove()

void llvm::cflaa::StratifiedLink::clearAbove ( )
inline

Definition at line 61 of file StratifiedSets.h.

References Above, and SetSentinel.

◆ clearBelow()

void llvm::cflaa::StratifiedLink::clearBelow ( )
inline

Definition at line 60 of file StratifiedSets.h.

References Below, and SetSentinel.

◆ hasAbove()

bool llvm::cflaa::StratifiedLink::hasAbove ( ) const
inline

Definition at line 58 of file StratifiedSets.h.

References Above, and SetSentinel.

◆ hasBelow()

bool llvm::cflaa::StratifiedLink::hasBelow ( ) const
inline

Definition at line 57 of file StratifiedSets.h.

References Below, and SetSentinel.

Member Data Documentation

◆ Above

StratifiedIndex llvm::cflaa::StratifiedLink::Above

The index for the set "above" current.

Definition at line 47 of file StratifiedSets.h.

Referenced by clearAbove(), and hasAbove().

◆ Attrs

AliasAttrs llvm::cflaa::StratifiedLink::Attrs

Attributes for these StratifiedSets.

Definition at line 53 of file StratifiedSets.h.

◆ Below

StratifiedIndex llvm::cflaa::StratifiedLink::Below

The link for the set "below" current.

Definition at line 50 of file StratifiedSets.h.

Referenced by clearBelow(), and hasBelow().

◆ SetSentinel

const StratifiedIndex llvm::cflaa::StratifiedLink::SetSentinel
static

This is a value used to signify "does not exist" where the StratifiedIndex type is used.

This is used instead of std::optional<StratifiedIndex> because std::optional<StratifiedIndex> would eat up a considerable amount of extra memory, after struct padding/alignment is taken into account.

Definition at line 44 of file StratifiedSets.h.

Referenced by clearAbove(), clearBelow(), hasAbove(), and hasBelow().


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