Expand description
Pass timing.
This modules provides facilities for timing the execution of individual compilation passes.
Structs§
- Default
Profiler - The default profiler. You can get the results using
take_current
. - Pass
Times - Accumulated timing for all passes.
Enums§
- Pass
- A single profiled pass.
Constants§
- NUM_
PASSES - The amount of profiled passes.
Traits§
- Profiler
- A profiler.
Functions§
- canonicalize_
nans - Canonicalization of NaNs
- compile
- Compilation passes
- domtree
- Dominator tree
- egraph
- Egraph based optimizations
- flowgraph
- Control flow graph
- gvn
- Global value numbering
- layout_
renumber - Layout full renumbering
- licm
- Loop invariant code motion
- loop_
analysis - Loop analysis
- parse_
text - Parsing textual Cranelift IR
- preopt
- Pre-legalization rewriting
- process_
file - Processing test file
- regalloc
- Register allocation
- regalloc_
checker - Register allocation symbolic verification
- remove_
constant_ phis - Remove constant phi-nodes
- set_
thread_ profiler - Set the profiler for the current thread.
- store_
incremental_ cache - Store in incremental cache
- take_
current - Take the current accumulated pass timings and reset the timings for the current thread.
- try_
incremental_ cache - Try loading from incremental cache
- unreachable_
code - Remove unreachable blocks
- vcode_
emit - VCode emission
- vcode_
emit_ finish - VCode emission finalization
- vcode_
lower - VCode lowering
- verifier
- Verify Cranelift IR
- wasm_
translate_ function - Translate WASM function
- wasm_
translate_ module - Translate WASM module