Module cranelift_codegen::write [−][src]
Converting Cranelift IR to text.
The write module provides the write_function function which converts an IR Function to an
equivalent textual form. This textual form can be read back by the cranelift-reader crate.
Structs
| PlainWriter |
A |
Traits
| FuncWriter |
A |
Functions
| decorate_function |
Writes 'func' to 'w' as text. write_function_plain is passed as 'closure' to print instructions as text. pretty_function_error is passed as 'closure' to add error decoration. |
| write_ebb_header |
Write out the basic block header, outdented: |
| write_function |
Write |
| write_operands |
Write the operands of |