#![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, Case, End, Function, Node, Origin, Precision, Region, Space, Target, Terminator, ValueDef,
Var,
};
pub use op::{
Address, AtomicOp, Axis, Barrier, Binary, Builtin, Cmp, CounterOp, Fineness, FloatToInt, GatherOffset,
LabelId, Level, Memory, MinMaxNan, MulZero, OnZero, Op, OutOfBounds, QuadSwap, Query, Res, Rounding,
SaturateNan, Scope, Ternary, Unary, ValueId, VarId, Wave, WaveOp, WaveScan, standard_sample_position,
};
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;