vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Common-subexpression elimination helpers for pure IR expressions.

/// Per-pass table of previously seen expression keys.
pub(crate) use cse_ctx::CseCtx;
/// Classify whether an expression is unsafe to merge.
pub(crate) use expr_has_effect::expr_has_effect;
/// Structural key used to compare candidate expressions.
pub(crate) use expr_key::ExprKey;
/// Return whether a binary operator can canonicalize operand order.
pub(crate) use is_commutative::is_commutative;
/// Compact key for expression result types.
pub(crate) use type_key::TypeKey;

automod::dir!(pub "src/ir/transform/optimize/cse");