LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::HexagonBlockRanges::IndexRange Class Reference

#include "Target/Hexagon/HexagonBlockRanges.h"

Inheritance diagram for llvm::HexagonBlockRanges::IndexRange:
Inheritance graph
[legend]
Collaboration diagram for llvm::HexagonBlockRanges::IndexRange:
Collaboration graph
[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 79 of file HexagonBlockRanges.h.

Constructor & Destructor Documentation

◆ IndexRange() [1/2]

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

◆ IndexRange() [2/2]

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

Definition at line 82 of file HexagonBlockRanges.h.

Member Function Documentation

◆ contains()

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

Definition at line 48 of file HexagonBlockRanges.cpp.

References E, end(), llvm::HexagonBlockRanges::IndexType::None, and start().

◆ end()

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

◆ merge()

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

◆ operator<()

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

Definition at line 88 of file HexagonBlockRanges.h.

References contains(), and start().

◆ overlaps()

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

◆ start()

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

Member Data Documentation

◆ Fixed

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

◆ TiedEnd

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

Definition at line 97 of file HexagonBlockRanges.h.

Referenced by merge(), llvm::operator<<(), and overlaps().


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