LLVM  6.0.0svn
Static Public Member Functions | List of all members
llvm::IntervalMapInfo< T > Struct Template Reference

#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]. More...
 
static bool stopLess (const T &b, const T &x)
 stopLess - Return true if x is not in [a;b]. More...
 
static bool adjacent (const T &a, const T &b)
 adjacent - Return true when the intervals [x;a] and [b;y] can coalesce. More...
 
static bool nonEmpty (const T &a, const T &b)
 nonEmpty - Return true if [a;b] is non-empty. More...
 

Detailed Description

template<typename T>
struct llvm::IntervalMapInfo< T >

Definition at line 137 of file IntervalMap.h.

Member Function Documentation

◆ adjacent()

template<typename T >
static bool llvm::IntervalMapInfo< T >::adjacent ( const T a,
const T 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 152 of file IntervalMap.h.

◆ nonEmpty()

template<typename T >
static bool llvm::IntervalMapInfo< T >::nonEmpty ( const T a,
const T 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 158 of file IntervalMap.h.

◆ startLess()

template<typename T >
static bool llvm::IntervalMapInfo< T >::startLess ( const T x,
const T 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 140 of file IntervalMap.h.

◆ stopLess()

template<typename T >
static bool llvm::IntervalMapInfo< T >::stopLess ( const T b,
const T 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 146 of file IntervalMap.h.


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