LLVM 22.0.0git
Status Struct Reference

Public Member Functions

 Status ()=default
 Status (unsigned NewMask, unsigned NewMode)
Status merge (const Status &S) const
Status mergeUnknown (unsigned newMask)
Status intersect (const Status &S) const
Status delta (const Status &S) const
bool operator== (const Status &S) const
bool operator!= (const Status &S) const
bool isCompatible (Status &S)
bool isCombinable (Status &S)

Public Attributes

unsigned Mask = 0
unsigned Mode = 0

Detailed Description

Definition at line 29 of file SIModeRegister.cpp.

Constructor & Destructor Documentation

◆ Status() [1/2]

Status::Status ( )
default

◆ Status() [2/2]

Status::Status ( unsigned NewMask,
unsigned NewMode )
inline

Definition at line 37 of file SIModeRegister.cpp.

References Mask, and Mode.

Member Function Documentation

◆ delta()

Status Status::delta ( const Status & S) const
inline

Definition at line 62 of file SIModeRegister.cpp.

References Mask, Mode, and Status().

◆ intersect()

Status Status::intersect ( const Status & S) const
inline

Definition at line 55 of file SIModeRegister.cpp.

References Mask, Mode, and Status().

◆ isCombinable()

bool Status::isCombinable ( Status & S)
inline

Definition at line 76 of file SIModeRegister.cpp.

References isCompatible(), Mask, and Status().

◆ isCompatible()

bool Status::isCompatible ( Status & S)
inline

Definition at line 72 of file SIModeRegister.cpp.

References Mask, Mode, and Status().

Referenced by isCombinable().

◆ merge()

Status Status::merge ( const Status & S) const
inline

Definition at line 43 of file SIModeRegister.cpp.

References Mask, Mode, and Status().

◆ mergeUnknown()

Status Status::mergeUnknown ( unsigned newMask)
inline

Definition at line 49 of file SIModeRegister.cpp.

References Mask, Mode, and Status().

◆ operator!=()

bool Status::operator!= ( const Status & S) const
inline

Definition at line 70 of file SIModeRegister.cpp.

References Status().

◆ operator==()

bool Status::operator== ( const Status & S) const
inline

Definition at line 66 of file SIModeRegister.cpp.

References Mask, Mode, and Status().

Member Data Documentation

◆ Mask

unsigned Status::Mask = 0

◆ Mode

unsigned Status::Mode = 0

Definition at line 33 of file SIModeRegister.cpp.

Referenced by delta(), intersect(), isCompatible(), merge(), mergeUnknown(), operator==(), and Status().


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