hugr_llvm::utils

Module fat

source
Expand description

We define a type FatNode, named for analogy with a “fat pointer”.

We define a trait FatExt, an extension trait for HugrView. It provides methods that return FatNodes rather than Nodes.

Structs§

  • A Fat Node is a Node along with a reference to the HugrView whence it originates. It carries a type OT, the OpType of that node. OT may be general, i.e. exactly OpType, or specifec, e.g. FuncDefn.

Traits§