LLVM 20.0.0git
|
#include "llvm/ADT/IntervalMap.h"
Static Public Member Functions | |
static bool | startLess (const T &x, const T &a) |
startLess - Return true if x is not in [a;b]. | |
static bool | stopLess (const T &b, const T &x) |
stopLess - Return true if x is not in [a;b]. | |
static bool | adjacent (const T &a, const T &b) |
adjacent - Return true when the intervals [x;a] and [b;y] can coalesce. | |
static bool | nonEmpty (const T &a, const T &b) |
nonEmpty - Return true if [a;b] is non-empty. | |
Definition at line 140 of file IntervalMap.h.
|
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 155 of file IntervalMap.h.
|
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 161 of file IntervalMap.h.
|
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 143 of file IntervalMap.h.
|
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 149 of file IntervalMap.h.