wasm-chisel icon indicating copy to clipboard operation
wasm-chisel copied to clipboard

Introduce IR for analysis

Open axic opened this issue 6 years ago • 1 comments

Or at least helpers with some data structures.

A good start would be doing a CFG (control flow graph) or at least a primitive version which shows dependencies of functions.

This can be used in two ways in the short term:

  • finding unused functions
  • in "atomic metering" to find the leaf nodes to start metering on

axic avatar Jan 21 '19 17:01 axic

Could consider using https://github.com/rustwasm/walrus because it has the same goals.

axic avatar Jul 25 '19 12:07 axic