|
Halide 21.0.0
Halide compiler and libraries
|
#include <Simplify_Internal.h>
Classes | |
| struct | ExprInfo |
| struct | ScopedFact |
| struct | VarInfo |
Public Attributes | |
| bool | remove_dead_code |
| 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 ) |
Referenced by Halide::Internal::Simplify::ScopedFact::ScopedFact().
|
inline |
Definition at line 199 of file Simplify_Internal.h.
|
inline |
Definition at line 205 of file Simplify_Internal.h.
References Halide::Internal::Simplify::ExprInfo::alignment, Halide::Internal::Simplify::ExprInfo::bounds, and Halide::Internal::ConstantInterval::single_point().
Referenced by make_const(), and make_const().
Definition at line 212 of file Simplify_Internal.h.
References Halide::Type::bits(), Halide::Type::is_int(), Halide::Type::is_uint(), and Halide::Internal::Type.
Referenced by make_const(), and make_const().
Definition at line 243 of file Simplify_Internal.h.
References Halide::Internal::make_const(), normalize_constant(), set_expr_info_to_constant(), and Halide::Internal::Type.
Referenced by const_false(), and const_true().
Definition at line 249 of file Simplify_Internal.h.
References Halide::Internal::Simplify::ExprInfo::alignment, Halide::Internal::ConstantInterval::bounded_below(), Halide::Internal::Simplify::ExprInfo::bounds, Halide::Internal::make_const(), normalize_constant(), set_expr_info_to_constant(), and Halide::Internal::Type.
|
inline |
Definition at line 269 of file Simplify_Internal.h.
References Halide::Internal::make_const(), and Halide::Internal::Type.
|
inline |
Definition at line 275 of file Simplify_Internal.h.
References make_const(), and Halide::UInt().
|
inline |
Definition at line 280 of file Simplify_Internal.h.
References make_const(), and Halide::UInt().
|
inline |
Definition at line 330 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 351 of file Simplify_Internal.h.
References Halide::Internal::VariadicVisitor< Simplify, Expr, Stmt >::dispatch().
|
inline |
Definition at line 360 of file Simplify_Internal.h.
References Halide::Type::bits(), Halide::Type::is_int(), and Halide::Internal::Type.
Referenced by no_overflow(), and no_overflow_scalar_int().
|
inline |
Definition at line 365 of file Simplify_Internal.h.
References Halide::Type::is_scalar(), no_overflow_int(), and Halide::Internal::Type.
|
inline |
Definition at line 371 of file Simplify_Internal.h.
References Halide::Type::is_float(), no_overflow_int(), and Halide::Internal::Type.
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 ) |
References HALIDE_ALWAYS_INLINE.
|
inline |
Definition at line 415 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 462 of file Simplify_Internal.h.
References Halide::Internal::Simplify::ScopedFact::learn_true().
|
inline |
Definition at line 470 of file Simplify_Internal.h.
References Halide::Internal::Simplify::ScopedFact::learn_false().
Definition at line 476 of file Simplify_Internal.h.
References mutate().
Definition at line 479 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 356 of file Simplify_Internal.h.
Definition at line 381 of file Simplify_Internal.h.
Definition at line 384 of file Simplify_Internal.h.
| IRMatcher::Wild<0> Halide::Internal::Simplify::x |
Definition at line 387 of file Simplify_Internal.h.
Referenced by Halide::Internal::Simplify::ExprInfo::largest_power_of_two_factor().
| IRMatcher::Wild<1> Halide::Internal::Simplify::y |
Definition at line 388 of file Simplify_Internal.h.
| IRMatcher::Wild<2> Halide::Internal::Simplify::z |
Definition at line 389 of file Simplify_Internal.h.
| IRMatcher::Wild<3> Halide::Internal::Simplify::w |
Definition at line 390 of file Simplify_Internal.h.
| IRMatcher::Wild<4> Halide::Internal::Simplify::u |
Definition at line 391 of file Simplify_Internal.h.
| IRMatcher::Wild<5> Halide::Internal::Simplify::v |
Definition at line 392 of file Simplify_Internal.h.
Referenced by Halide::Internal::Simplify::ScopedFact::learn_lower_bound(), and Halide::Internal::Simplify::ScopedFact::learn_upper_bound().
| IRMatcher::WildConst<0> Halide::Internal::Simplify::c0 |
Definition at line 393 of file Simplify_Internal.h.
| IRMatcher::WildConst<1> Halide::Internal::Simplify::c1 |
Definition at line 394 of file Simplify_Internal.h.
| IRMatcher::WildConst<2> Halide::Internal::Simplify::c2 |
Definition at line 395 of file Simplify_Internal.h.
| IRMatcher::WildConst<3> Halide::Internal::Simplify::c3 |
Definition at line 396 of file Simplify_Internal.h.
| IRMatcher::WildConst<4> Halide::Internal::Simplify::c4 |
Definition at line 397 of file Simplify_Internal.h.
| IRMatcher::WildConst<5> Halide::Internal::Simplify::c5 |
Definition at line 398 of file Simplify_Internal.h.
| bool Halide::Internal::Simplify::in_vector_loop = false |
Definition at line 403 of file Simplify_Internal.h.
| bool Halide::Internal::Simplify::in_unreachable = false |
Definition at line 406 of file Simplify_Internal.h.
| std::set<Expr, IRDeepCompare> Halide::Internal::Simplify::truths |
Definition at line 432 of file Simplify_Internal.h.
| std::set<Expr, IRDeepCompare> Halide::Internal::Simplify::falsehoods |
Definition at line 432 of file Simplify_Internal.h.