Halide
Halide::Internal::Autoscheduler::Span Class Reference

#include <FunctionDAG.h>

Public Member Functions

int64_t min () const
 
int64_t max () const
 
int64_t extent () const
 
bool constant_extent () const
 
void union_with (const Span &other)
 
void set_extent (int64_t e)
 
void translate (int64_t x)
 
 Span (int64_t a, int64_t b, bool c)
 
 Span ()=default
 
 Span (const Span &other)=default
 

Static Public Member Functions

static Span empty_span ()
 

Detailed Description

Definition at line 205 of file FunctionDAG.h.

Constructor & Destructor Documentation

◆ Span() [1/3]

Halide::Internal::Autoscheduler::Span::Span ( int64_t  a,
int64_t  b,
bool  c 
)
inline

Definition at line 238 of file FunctionDAG.h.

◆ Span() [2/3]

Halide::Internal::Autoscheduler::Span::Span ( )
default

Referenced by empty_span().

◆ Span() [3/3]

Halide::Internal::Autoscheduler::Span::Span ( const Span other)
default

Member Function Documentation

◆ min()

int64_t Halide::Internal::Autoscheduler::Span::min ( ) const
inline

Definition at line 210 of file FunctionDAG.h.

Referenced by union_with().

◆ max()

int64_t Halide::Internal::Autoscheduler::Span::max ( ) const
inline

Definition at line 213 of file FunctionDAG.h.

Referenced by union_with().

◆ extent()

int64_t Halide::Internal::Autoscheduler::Span::extent ( ) const
inline

Definition at line 216 of file FunctionDAG.h.

◆ constant_extent()

bool Halide::Internal::Autoscheduler::Span::constant_extent ( ) const
inline

Definition at line 219 of file FunctionDAG.h.

Referenced by union_with().

◆ union_with()

void Halide::Internal::Autoscheduler::Span::union_with ( const Span other)
inline

Definition at line 223 of file FunctionDAG.h.

References constant_extent(), max(), Halide::max(), min(), and Halide::min().

◆ set_extent()

void Halide::Internal::Autoscheduler::Span::set_extent ( int64_t  e)
inline

Definition at line 229 of file FunctionDAG.h.

◆ translate()

void Halide::Internal::Autoscheduler::Span::translate ( int64_t  x)
inline

Definition at line 233 of file FunctionDAG.h.

◆ empty_span()

static Span Halide::Internal::Autoscheduler::Span::empty_span ( )
inlinestatic

Definition at line 243 of file FunctionDAG.h.

References Span().


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