Halide 19.0.0
Halide compiler and libraries
|
#include <Simplify_Internal.h>
Classes | |
struct | ExprInfo |
struct | ScopedFact |
struct | VarInfo |
Public Attributes | |
bool | remove_dead_code |
bool | no_float_simplify = false |
Scope< VarInfo > | var_info |
Scope< ExprInfo > | bounds_and_alignment_info |
IRMatcher::Wild< 0 > | x |
IRMatcher::Wild< 1 > | y |
IRMatcher::Wild< 2 > | z |
IRMatcher::Wild< 3 > | w |
IRMatcher::Wild< 4 > | u |
IRMatcher::Wild< 5 > | v |
IRMatcher::WildConst< 0 > | c0 |
IRMatcher::WildConst< 1 > | c1 |
IRMatcher::WildConst< 2 > | c2 |
IRMatcher::WildConst< 3 > | c3 |
IRMatcher::WildConst< 4 > | c4 |
IRMatcher::WildConst< 5 > | c5 |
bool | in_vector_loop = false |
bool | in_unreachable = false |
std::set< Expr, IRDeepCompare > | truths |
std::set< Expr, IRDeepCompare > | falsehoods |
Definition at line 33 of file Simplify_Internal.h.
Halide::Internal::Simplify::Simplify | ( | bool | r, |
const Scope< Interval > * | bi, | ||
const Scope< ModulusRemainder > * | ai ) |
|
inline |
Definition at line 131 of file Simplify_Internal.h.
|
inline |
Definition at line 173 of file Simplify_Internal.h.
References Halide::Internal::VariadicVisitor< Simplify, Expr, Stmt >::dispatch().
Referenced by mutate_let_body(), and mutate_let_body().
Definition at line 194 of file Simplify_Internal.h.
References Halide::Internal::VariadicVisitor< Simplify, Expr, Stmt >::dispatch().
|
inline |
Definition at line 203 of file Simplify_Internal.h.
References Halide::Type::is_float(), and no_float_simplify.
|
inline |
Definition at line 209 of file Simplify_Internal.h.
References Halide::Type::bits(), and Halide::Type::is_int().
Referenced by no_overflow(), and no_overflow_scalar_int().
|
inline |
Definition at line 214 of file Simplify_Internal.h.
References Halide::Type::is_scalar(), and no_overflow_int().
|
inline |
Definition at line 220 of file Simplify_Internal.h.
References Halide::Type::is_float(), and no_overflow_int().
Referenced by Halide::Internal::Simplify::ExprInfo::trim_bounds_using_alignment().
void Halide::Internal::Simplify::found_buffer_reference | ( | const std::string & | name, |
size_t | dimensions = 0 ) |
|
inline |
Definition at line 264 of file Simplify_Internal.h.
References Halide::Internal::IRHandle::as(), Halide::Internal::Variable::name, Halide::Internal::IRHandle::node_type(), and Halide::Internal::Variable.
|
inline |
Definition at line 311 of file Simplify_Internal.h.
References Halide::Internal::Simplify::ScopedFact::learn_true().
|
inline |
Definition at line 319 of file Simplify_Internal.h.
References Halide::Internal::Simplify::ScopedFact::learn_false().
Definition at line 325 of file Simplify_Internal.h.
References mutate().
Definition at line 328 of file Simplify_Internal.h.
References mutate().
Body Halide::Internal::Simplify::simplify_let | ( | const T * | op, |
ExprInfo * | info ) |
Expr Halide::Internal::Simplify::visit | ( | const Reinterpret * | op, |
ExprInfo * | info ) |
Stmt Halide::Internal::Simplify::visit | ( | const IfThenElse * | op | ) |
Expr Halide::Internal::Simplify::visit | ( | const VectorReduce * | op, |
ExprInfo * | info ) |
Stmt Halide::Internal::Simplify::visit | ( | const AssertStmt * | op | ) |
Stmt Halide::Internal::Simplify::visit | ( | const ProducerConsumer * | op | ) |
Stmt Halide::Internal::Simplify::visit | ( | const HoistedStorage * | op | ) |
std::pair< std::vector< Expr >, bool > Halide::Internal::Simplify::mutate_with_changes | ( | const std::vector< Expr > & | old_exprs | ) |
bool Halide::Internal::Simplify::remove_dead_code |
Definition at line 199 of file Simplify_Internal.h.
bool Halide::Internal::Simplify::no_float_simplify = false |
Definition at line 200 of file Simplify_Internal.h.
Referenced by may_simplify().
Definition at line 230 of file Simplify_Internal.h.
Definition at line 233 of file Simplify_Internal.h.
IRMatcher::Wild<0> Halide::Internal::Simplify::x |
Definition at line 236 of file Simplify_Internal.h.
IRMatcher::Wild<1> Halide::Internal::Simplify::y |
Definition at line 237 of file Simplify_Internal.h.
IRMatcher::Wild<2> Halide::Internal::Simplify::z |
Definition at line 238 of file Simplify_Internal.h.
IRMatcher::Wild<3> Halide::Internal::Simplify::w |
Definition at line 239 of file Simplify_Internal.h.
IRMatcher::Wild<4> Halide::Internal::Simplify::u |
Definition at line 240 of file Simplify_Internal.h.
IRMatcher::Wild<5> Halide::Internal::Simplify::v |
Definition at line 241 of file Simplify_Internal.h.
IRMatcher::WildConst<0> Halide::Internal::Simplify::c0 |
Definition at line 242 of file Simplify_Internal.h.
IRMatcher::WildConst<1> Halide::Internal::Simplify::c1 |
Definition at line 243 of file Simplify_Internal.h.
IRMatcher::WildConst<2> Halide::Internal::Simplify::c2 |
Definition at line 244 of file Simplify_Internal.h.
IRMatcher::WildConst<3> Halide::Internal::Simplify::c3 |
Definition at line 245 of file Simplify_Internal.h.
IRMatcher::WildConst<4> Halide::Internal::Simplify::c4 |
Definition at line 246 of file Simplify_Internal.h.
IRMatcher::WildConst<5> Halide::Internal::Simplify::c5 |
Definition at line 247 of file Simplify_Internal.h.
bool Halide::Internal::Simplify::in_vector_loop = false |
Definition at line 252 of file Simplify_Internal.h.
bool Halide::Internal::Simplify::in_unreachable = false |
Definition at line 255 of file Simplify_Internal.h.
std::set<Expr, IRDeepCompare> Halide::Internal::Simplify::truths |
Definition at line 281 of file Simplify_Internal.h.
std::set<Expr, IRDeepCompare> Halide::Internal::Simplify::falsehoods |
Definition at line 281 of file Simplify_Internal.h.