LLVM 22.0.0git
llvm::HexagonBlockRanges::IndexType Class Reference

#include "Target/Hexagon/HexagonBlockRanges.h"

Public Types

enum  : unsigned { None = 0 , Entry = 1 , Exit = 2 , First = 11 }

Public Member Functions

 IndexType ()
 IndexType (unsigned Idx)
 operator unsigned () const
bool operator== (unsigned x) const
bool operator== (IndexType Idx) const
bool operator!= (unsigned x) const
bool operator!= (IndexType Idx) const
IndexType operator++ ()
bool operator< (unsigned Idx) const
bool operator< (IndexType Idx) const
bool operator<= (IndexType Idx) const

Static Public Member Functions

static bool isInstr (IndexType X)

Detailed Description

Definition at line 47 of file HexagonBlockRanges.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : unsigned
Enumerator
None 
Entry 
Exit 
First 

Definition at line 49 of file HexagonBlockRanges.h.

Constructor & Destructor Documentation

◆ IndexType() [1/2]

llvm::HexagonBlockRanges::IndexType::IndexType ( )
inline

Definition at line 56 of file HexagonBlockRanges.h.

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

◆ IndexType() [2/2]

llvm::HexagonBlockRanges::IndexType::IndexType ( unsigned Idx)
inline

Definition at line 57 of file HexagonBlockRanges.h.

Member Function Documentation

◆ isInstr()

bool llvm::HexagonBlockRanges::IndexType::isInstr ( IndexType X)
inlinestatic

Definition at line 59 of file HexagonBlockRanges.h.

References First, IndexType(), and X.

◆ operator unsigned()

llvm::HexagonBlockRanges::IndexType::operator unsigned ( ) const
inline

Definition at line 177 of file HexagonBlockRanges.h.

References assert(), and First.

◆ operator!=() [1/2]

bool llvm::HexagonBlockRanges::IndexType::operator!= ( IndexType Idx) const
inline

Definition at line 194 of file HexagonBlockRanges.h.

References IndexType().

◆ operator!=() [2/2]

bool llvm::HexagonBlockRanges::IndexType::operator!= ( unsigned x) const
inline

Definition at line 190 of file HexagonBlockRanges.h.

◆ operator++()

HexagonBlockRanges::IndexType llvm::HexagonBlockRanges::IndexType::operator++ ( )
inline

Definition at line 199 of file HexagonBlockRanges.h.

References assert(), Entry, Exit, First, and None.

◆ operator<() [1/2]

bool llvm::HexagonBlockRanges::IndexType::operator< ( IndexType Idx) const
inline

Definition at line 213 of file HexagonBlockRanges.h.

References Entry, Exit, IndexType(), and None.

◆ operator<() [2/2]

bool llvm::HexagonBlockRanges::IndexType::operator< ( unsigned Idx) const
inline

Definition at line 209 of file HexagonBlockRanges.h.

References IndexType(), and llvm::operator<().

◆ operator<=()

bool llvm::HexagonBlockRanges::IndexType::operator<= ( IndexType Idx) const
inline

Definition at line 233 of file HexagonBlockRanges.h.

References IndexType(), llvm::operator<(), and llvm::operator==().

◆ operator==() [1/2]

bool llvm::HexagonBlockRanges::IndexType::operator== ( IndexType Idx) const
inline

Definition at line 186 of file HexagonBlockRanges.h.

References IndexType().

◆ operator==() [2/2]

bool llvm::HexagonBlockRanges::IndexType::operator== ( unsigned x) const
inline

Definition at line 182 of file HexagonBlockRanges.h.


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