Expand description
The operation types for the HUGR.
Re-exports§
pub use constant::Const;
pub use constant::Value;
pub use controlflow::BasicBlock;
pub use controlflow::CFG;
pub use controlflow::Case;
pub use controlflow::Conditional;
pub use controlflow::DataflowBlock;
pub use controlflow::ExitBlock;
pub use controlflow::TailLoop;
pub use custom::ExtensionOp;
pub use custom::OpaqueOp;
pub use dataflow::Call;
pub use dataflow::CallIndirect;
pub use dataflow::DFG;
pub use dataflow::DataflowOpTrait;
pub use dataflow::DataflowParent;
pub use dataflow::Input;
pub use dataflow::LoadConstant;
pub use dataflow::LoadFunction;
pub use dataflow::Output;
pub use module::AliasDecl;
pub use module::AliasDefn;
pub use module::FuncDecl;
pub use module::FuncDefn;
pub use module::Module;
pub use sum::Tag;
pub use tag::OpTag;
Modules§
- constant
- Constant value definitions.
- controlflow
- Control flow operations.
- custom
- Extensible operations.
- dataflow
- Dataflow operations.
- handle
- Handles to nodes in HUGR.
- module
- Module-level operations
- sum
- Definition of dataflow operations with no children.
- tag
- Tags for sets of operation kinds.
- validate
- Definitions for validating hugr nodes according to their operation type.
Enums§
- OpType
- The concrete operation types for a node in the HUGR.
Constants§
- DEFAULT_
OPTYPE - The default
OpType
(as returned byDefault::default
)
Traits§
- OpParent
- Properties of child graphs of ops, if the op has children.
- OpTrait
- Trait implemented by all
OpType
variants. - Static
Tag - Trait statically querying the tag of an operation.
- Validate
Op - Methods for Ops to validate themselves and children