CIRCT

Circuit IR Compilers and Tools

-handshake-materialize-forks-sinks: Materialize fork and sink operations. 

This pass analyses a handshake.func operation and inserts fork and sink operations ensuring that all values have exactly one use.

-handshake-op-count: Count the number of operations (resources) in a handshake function. 

This pass analyses a handshake.func operation and prints the number of operations (resources) used the function.

-handshake-print-dot: Print .dot graph of a handshake function. 

This pass analyses a handshake.func operation and prints a .dot graph of the structure. If multiple functions are present in the IR, the top level function will be printed, and called functions will be subgraphs within the main graph.

-handshake-remove-buffers: Remove buffers from handshake functions. 

This pass analyses a handshake.func operation and removes any buffers from the function.