LLVM 22.0.0git
LiveDebugValues::SpillLocationNo Class Reference

Thin wrapper around an integer – designed to give more type safety to spill location numbers. More...

#include "CodeGen/LiveDebugValues/InstrRefBasedImpl.h"

Public Member Functions

 SpillLocationNo (unsigned SpillNo)
unsigned id () const
bool operator< (const SpillLocationNo &Other) const
bool operator== (const SpillLocationNo &Other) const
bool operator!= (const SpillLocationNo &Other) const

Public Attributes

unsigned SpillNo

Detailed Description

Thin wrapper around an integer – designed to give more type safety to spill location numbers.

Definition at line 294 of file InstrRefBasedImpl.h.

Constructor & Destructor Documentation

◆ SpillLocationNo()

LiveDebugValues::SpillLocationNo::SpillLocationNo ( unsigned SpillNo)
inlineexplicit

Definition at line 296 of file InstrRefBasedImpl.h.

References SpillNo.

Referenced by operator!=(), operator<(), and operator==().

Member Function Documentation

◆ id()

unsigned LiveDebugValues::SpillLocationNo::id ( ) const
inline

◆ operator!=()

bool LiveDebugValues::SpillLocationNo::operator!= ( const SpillLocationNo & Other) const
inline

Definition at line 307 of file InstrRefBasedImpl.h.

References llvm::Other, and SpillLocationNo().

◆ operator<()

bool LiveDebugValues::SpillLocationNo::operator< ( const SpillLocationNo & Other) const
inline

Definition at line 300 of file InstrRefBasedImpl.h.

References llvm::Other, SpillLocationNo(), and SpillNo.

◆ operator==()

bool LiveDebugValues::SpillLocationNo::operator== ( const SpillLocationNo & Other) const
inline

Definition at line 304 of file InstrRefBasedImpl.h.

References llvm::Other, SpillLocationNo(), and SpillNo.

Member Data Documentation

◆ SpillNo

unsigned LiveDebugValues::SpillLocationNo::SpillNo

Definition at line 297 of file InstrRefBasedImpl.h.

Referenced by id(), operator<(), operator==(), and SpillLocationNo().


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