Halide 16.0.0
Halide compiler and libraries
|
#include <FunctionDAG.h>
Public Member Functions | |
OptionalRational ()=default | |
OptionalRational (bool e, int64_t n, int64_t d) | |
void | operator+= (const OptionalRational &other) |
OptionalRational | operator* (const OptionalRational &other) const |
bool | operator< (int x) const |
bool | operator<= (int x) const |
bool | operator> (int x) const |
bool | operator>= (int x) const |
bool | operator== (int x) const |
bool | operator== (const OptionalRational &other) const |
bool | exists () const |
OptionalRational ()=default | |
OptionalRational (int64_t n, int64_t d) | |
void | operator+= (const OptionalRational &other) |
OptionalRational | operator* (int64_t factor) const |
OptionalRational | operator* (const OptionalRational &other) const |
bool | operator< (int x) const |
bool | operator<= (int x) const |
bool | operator> (int x) const |
bool | operator>= (int x) const |
bool | operator== (int x) const |
bool | operator== (const OptionalRational &other) const |
Public Attributes | |
bool | exists = false |
int64_t | numerator = 0 |
int64_t | denominator = 0 |
int32_t | numerator = 0 |
int32_t | denominator = 0 |
Definition at line 35 of file FunctionDAG.h.
|
default |
|
inline |
Definition at line 40 of file FunctionDAG.h.
|
default |
Definition at line 41 of file FunctionDAG.h.
|
inline |
Definition at line 44 of file FunctionDAG.h.
References Halide::cast(), denominator, exists, Halide::Internal::gcd(), Halide::Internal::lcm(), and numerator.
|
inline |
Definition at line 63 of file FunctionDAG.h.
References Halide::cast(), denominator, exists, and numerator.
Definition at line 80 of file FunctionDAG.h.
References denominator, exists, and numerator.
Definition at line 91 of file FunctionDAG.h.
References denominator, exists, and numerator.
Definition at line 102 of file FunctionDAG.h.
References exists.
Definition at line 109 of file FunctionDAG.h.
References exists.
Definition at line 116 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 120 of file FunctionDAG.h.
References Halide::cast(), denominator, exists, and numerator.
|
inline |
Definition at line 36 of file FunctionDAG.h.
References denominator.
|
inline |
Definition at line 45 of file FunctionDAG.h.
References Halide::cast(), denominator, Halide::Internal::gcd(), Halide::Internal::lcm(), and numerator.
|
inline |
Definition at line 64 of file FunctionDAG.h.
References Halide::cast(), denominator, and numerator.
|
inline |
Definition at line 72 of file FunctionDAG.h.
References Halide::cast(), denominator, and numerator.
Definition at line 88 of file FunctionDAG.h.
References denominator, and numerator.
Definition at line 98 of file FunctionDAG.h.
References denominator, and numerator.
Definition at line 108 of file FunctionDAG.h.
References exists.
Definition at line 115 of file FunctionDAG.h.
References exists.
Definition at line 122 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 126 of file FunctionDAG.h.
References Halide::cast(), denominator, exists, and numerator.
Definition at line 36 of file FunctionDAG.h.
Referenced by operator*(), operator+=(), operator<(), operator<=(), operator==(), operator==(), operator>(), and operator>=().
int64_t Halide::Internal::Autoscheduler::OptionalRational::numerator = 0 |
Definition at line 37 of file FunctionDAG.h.
Referenced by operator*(), operator*(), operator+=(), operator<(), operator<=(), operator==(), and operator==().
int64_t Halide::Internal::Autoscheduler::OptionalRational::denominator = 0 |
Definition at line 37 of file FunctionDAG.h.
Referenced by exists(), operator*(), operator*(), operator+=(), operator<(), operator<=(), operator==(), and operator==().
int32_t Halide::Internal::Autoscheduler::OptionalRational::numerator = 0 |
Definition at line 34 of file FunctionDAG.h.
int32_t Halide::Internal::Autoscheduler::OptionalRational::denominator = 0 |
Definition at line 34 of file FunctionDAG.h.