#![no_std]
#![deny(missing_docs)]
#![deny(clippy::disallowed_methods, clippy::disallowed_types)]
#![cfg_attr(
not(test),
deny(
clippy::indexing_slicing,
clippy::arithmetic_side_effects,
clippy::cast_possible_truncation
)
)]
extern crate alloc;
mod builder;
mod func;
pub mod gate;
pub mod interface;
mod op;
mod program;
mod refusal;
pub mod text;
mod ty;
mod validate;
pub const VERSION: u32 = 2;
pub use builder::Builder;
pub use func::{
Block, Body, End, Function, Node, Origin, Precision, Region, Target, Terminator, ValueDef, Var,
};
pub use op::{
Axis, Binary, Cmp, Fineness, FloatToInt, LabelId, Level, MinMaxNan, MulZero, OnZero, Op, OutOfBounds,
Rounding, SaturateNan, Unary, ValueId, VarId,
};
pub use program::{ClipDepth, Conventions, Corner, Denormals, FloatEnv, Program, Provenance};
pub use refusal::{Refusal, Unit, source_hash};
pub use ty::{Scalar, Type};
pub use validate::{Problem, derived_type, dominators, masked_type, validate, value_type};
#[cfg(doctest)]
#[doc = include_str!("../README.md")]
struct ReadmeExamples;