Halide 19.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 33 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 denominator, exists, Halide::Internal::gcd(), Halide::Internal::lcm(), and numerator.
|
inline |
Definition at line 63 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 80 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 91 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 102 of file FunctionDAG.h.
References exists.
|
inline |
Definition at line 109 of file FunctionDAG.h.
References exists.
|
inline |
Definition at line 116 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 120 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 36 of file FunctionDAG.h.
References denominator.
|
inline |
Definition at line 46 of file FunctionDAG.h.
References denominator, Halide::Internal::gcd(), Halide::Internal::lcm(), and numerator.
|
inline |
Definition at line 65 of file FunctionDAG.h.
References denominator, and numerator.
|
inline |
Definition at line 73 of file FunctionDAG.h.
References denominator, and numerator.
|
inline |
Definition at line 89 of file FunctionDAG.h.
References denominator, and numerator.
|
inline |
Definition at line 99 of file FunctionDAG.h.
References denominator, and numerator.
|
inline |
Definition at line 109 of file FunctionDAG.h.
References exists.
|
inline |
Definition at line 116 of file FunctionDAG.h.
References exists.
|
inline |
Definition at line 123 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 127 of file FunctionDAG.h.
References denominator, exists, and numerator.
bool Halide::Internal::Autoscheduler::OptionalRational::exists = false |
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.