LLVM 22.0.0git
llvm::IntervalMapInfo< SlotIndex > Struct Reference

#include "llvm/CodeGen/SlotIndexes.h"

Inheritance diagram for llvm::IntervalMapInfo< SlotIndex >:
[legend]

Static Public Member Functions

static bool startLess (const SlotIndex &x, const SlotIndex &a)
 startLess - Return true if x is not in [a;b].
static bool stopLess (const SlotIndex &b, const SlotIndex &x)
 stopLess - Return true if x is not in [a;b].
static bool adjacent (const SlotIndex &a, const SlotIndex &b)
 adjacent - Return true when the intervals [x;a] and [b;y] can coalesce.
static bool nonEmpty (const SlotIndex &a, const SlotIndex &b)
 nonEmpty - Return true if [a;b] is non-empty.
Static Public Member Functions inherited from llvm::IntervalMapHalfOpenInfo< SlotIndex >
static bool startLess (const SlotIndex &x, const SlotIndex &a)
 startLess - Return true if x is not in [a;b).
static bool stopLess (const SlotIndex &b, const SlotIndex &x)
 stopLess - Return true if x is not in [a;b).
static bool adjacent (const SlotIndex &a, const SlotIndex &b)
 adjacent - Return true when the intervals [x;a) and [b;y) can coalesce.
static bool nonEmpty (const SlotIndex &a, const SlotIndex &b)
 nonEmpty - Return true if [a;b) is non-empty.

Detailed Description

Definition at line 642 of file SlotIndexes.h.

Member Function Documentation

◆ adjacent()

bool llvm::IntervalMapInfo< SlotIndex >::adjacent ( const SlotIndex & a,
const SlotIndex & b )
inlinestatic

adjacent - Return true when the intervals [x;a] and [b;y] can coalesce.

This is a+1 == b for closed intervals, a == b for half-open intervals.

Definition at line 156 of file IntervalMap.h.

◆ nonEmpty()

bool llvm::IntervalMapInfo< SlotIndex >::nonEmpty ( const SlotIndex & a,
const SlotIndex & b )
inlinestatic

nonEmpty - Return true if [a;b] is non-empty.

This is a <= b for a closed interval, a < b for [a;b) half-open intervals.

Definition at line 162 of file IntervalMap.h.

◆ startLess()

bool llvm::IntervalMapInfo< SlotIndex >::startLess ( const SlotIndex & x,
const SlotIndex & a )
inlinestatic

startLess - Return true if x is not in [a;b].

This is x < a both for closed intervals and for [a;b) half-open intervals.

Definition at line 144 of file IntervalMap.h.

◆ stopLess()

bool llvm::IntervalMapInfo< SlotIndex >::stopLess ( const SlotIndex & b,
const SlotIndex & x )
inlinestatic

stopLess - Return true if x is not in [a;b].

This is b < x for a closed interval, b <= x for [a;b) half-open intervals.

Definition at line 150 of file IntervalMap.h.


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