Halide 21.0.0
Halide compiler and libraries
|
#include <Simplify_Internal.h>
Classes | |
struct | BitsKnown |
Public Member Functions | |
void | trim_bounds_using_alignment () |
uint64_t | largest_power_of_two_factor (uint64_t x) const |
void | cast_to (Type t) |
void | intersect (const ExprInfo &other) |
BitsKnown | to_bits_known (const Type &type) const |
void | from_bits_known (BitsKnown known, const Type &type) |
Public Attributes | |
ConstantInterval | bounds |
ModulusRemainder | alignment |
Definition at line 39 of file Simplify_Internal.h.
|
inline |
Definition at line 45 of file Simplify_Internal.h.
References Halide::Internal::add_with_overflow(), alignment, bounds, Halide::Internal::mod_imp(), Halide::Internal::Simplify::no_overflow(), Halide::Internal::ConstantInterval::single_point(), and Halide::Internal::sub_with_overflow().
Referenced by intersect().
|
inline |
Definition at line 83 of file Simplify_Internal.h.
References Halide::Internal::Simplify::x.
Referenced by cast_to().
|
inline |
Definition at line 101 of file Simplify_Internal.h.
References alignment, Halide::Type::bits(), bounds, Halide::Type::can_represent(), Halide::Type::is_int(), Halide::Type::is_uint(), largest_power_of_two_factor(), and Halide::Internal::Type.
|
inline |
Definition at line 132 of file Simplify_Internal.h.
References alignment, bounds, Halide::Internal::ModulusRemainder::intersect(), Halide::Internal::ConstantInterval::make_intersection(), and trim_bounds_using_alignment().
References Halide::Internal::Type.
References Halide::Internal::Type.
ConstantInterval Halide::Internal::Simplify::ExprInfo::bounds |
Definition at line 41 of file Simplify_Internal.h.
Referenced by cast_to(), intersect(), Halide::Internal::Simplify::make_const(), Halide::Internal::Simplify::set_expr_info_to_constant(), and trim_bounds_using_alignment().
ModulusRemainder Halide::Internal::Simplify::ExprInfo::alignment |
Definition at line 43 of file Simplify_Internal.h.
Referenced by cast_to(), intersect(), Halide::Internal::Simplify::make_const(), Halide::Internal::Simplify::set_expr_info_to_constant(), and trim_bounds_using_alignment().