LLVM  14.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. More...
 
StratifiedIndex Below
 The link for the set "below" current. More...
 
AliasAttrs Attrs
 Attributes for these StratifiedSets. More...
 

Static Public Attributes

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

Detailed Description

A "link" between two StratifiedSets.

Definition at line 38 of file StratifiedSets.h.

Constructor & Destructor Documentation

◆ StratifiedLink()

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

Definition at line 56 of file StratifiedSets.h.

Member Function Documentation

◆ clearAbove()

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

Definition at line 62 of file StratifiedSets.h.

References Above, and SetSentinel.

◆ clearBelow()

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

Definition at line 61 of file StratifiedSets.h.

References Below, and SetSentinel.

◆ hasAbove()

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

Definition at line 59 of file StratifiedSets.h.

References Above, and SetSentinel.

◆ hasBelow()

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

Definition at line 58 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 48 of file StratifiedSets.h.

Referenced by clearAbove(), and hasAbove().

◆ Attrs

AliasAttrs llvm::cflaa::StratifiedLink::Attrs

Attributes for these StratifiedSets.

Definition at line 54 of file StratifiedSets.h.

◆ Below

StratifiedIndex llvm::cflaa::StratifiedLink::Below

The link for the set "below" current.

Definition at line 51 of file StratifiedSets.h.

Referenced by clearBelow(), and hasBelow().

◆ SetSentinel

const StratifiedIndex StratifiedLink::SetSentinel
static
Initial value:

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

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

Definition at line 45 of file StratifiedSets.h.

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


The documentation for this struct was generated from the following files:
llvm::max
Align max(MaybeAlign Lhs, Align Rhs)
Definition: Alignment.h:340