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

#include "Target/Hexagon/HexagonBlockRanges.h"

Inheritance diagram for llvm::HexagonBlockRanges::IndexRange:
[legend]

Public Member Functions

 IndexRange ()=default
 IndexRange (IndexType Start, IndexType End, bool F=false, bool T=false)
IndexType start () const
IndexType end () const
bool operator< (const IndexRange &A) const
bool overlaps (const IndexRange &A) const
bool contains (const IndexRange &A) const
void merge (const IndexRange &A)

Public Attributes

bool Fixed = false
bool TiedEnd = false

Detailed Description

Definition at line 81 of file HexagonBlockRanges.h.

Constructor & Destructor Documentation

◆ IndexRange() [1/2]

llvm::HexagonBlockRanges::IndexRange::IndexRange ( )
default

Referenced by contains(), merge(), operator<(), and overlaps().

◆ IndexRange() [2/2]

llvm::HexagonBlockRanges::IndexRange::IndexRange ( IndexType Start,
IndexType End,
bool F = false,
bool T = false )
inline

Definition at line 84 of file HexagonBlockRanges.h.

References F, Fixed, T, and TiedEnd.

Member Function Documentation

◆ contains()

bool HexagonBlockRanges::IndexRange::contains ( const IndexRange & A) const

◆ end()

IndexType llvm::HexagonBlockRanges::IndexRange::end ( ) const
inline

Definition at line 88 of file HexagonBlockRanges.h.

Referenced by contains(), merge(), and overlaps().

◆ merge()

void HexagonBlockRanges::IndexRange::merge ( const IndexRange & A)

◆ operator<()

bool llvm::HexagonBlockRanges::IndexRange::operator< ( const IndexRange & A) const
inline

Definition at line 90 of file HexagonBlockRanges.h.

References A(), IndexRange(), and start().

◆ overlaps()

bool HexagonBlockRanges::IndexRange::overlaps ( const IndexRange & A) const

Definition at line 33 of file HexagonBlockRanges.cpp.

References A(), end(), IndexRange(), start(), and TiedEnd.

Referenced by merge(), and llvm::HexagonBlockRanges::RangeList::subtract().

◆ start()

IndexType llvm::HexagonBlockRanges::IndexRange::start ( ) const
inline

Definition at line 87 of file HexagonBlockRanges.h.

Referenced by contains(), merge(), operator<(), and overlaps().

Member Data Documentation

◆ Fixed

bool llvm::HexagonBlockRanges::IndexRange::Fixed = false

Definition at line 98 of file HexagonBlockRanges.h.

Referenced by IndexRange(), and merge().

◆ TiedEnd

bool llvm::HexagonBlockRanges::IndexRange::TiedEnd = false

Definition at line 99 of file HexagonBlockRanges.h.

Referenced by IndexRange(), merge(), and overlaps().


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