Halide
12.0.1
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 |
Public Attributes | |
bool | exists = false |
int64_t | numerator = 0 |
int64_t | denominator = 0 |
Definition at line 33 of file FunctionDAG.h.
|
default |
|
inline |
Definition at line 38 of file FunctionDAG.h.
|
inline |
Definition at line 42 of file FunctionDAG.h.
References denominator, exists, Halide::Internal::gcd(), Halide::Internal::lcm(), and numerator.
|
inline |
Definition at line 61 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 78 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 89 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 100 of file FunctionDAG.h.
References exists.
|
inline |
Definition at line 107 of file FunctionDAG.h.
References exists.
|
inline |
Definition at line 114 of file FunctionDAG.h.
References denominator, exists, and numerator.
|
inline |
Definition at line 118 of file FunctionDAG.h.
References denominator, exists, and numerator.
bool Halide::Internal::Autoscheduler::OptionalRational::exists = false |
Definition at line 34 of file FunctionDAG.h.
Referenced by operator*(), operator+=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().
int64_t Halide::Internal::Autoscheduler::OptionalRational::numerator = 0 |
Definition at line 35 of file FunctionDAG.h.
Referenced by operator*(), operator+=(), operator<(), operator<=(), and operator==().
int64_t Halide::Internal::Autoscheduler::OptionalRational::denominator = 0 |
Definition at line 35 of file FunctionDAG.h.
Referenced by operator*(), operator+=(), operator<(), operator<=(), and operator==().