MCPcopy Create free account
hub / github.com/circify/circ / inline

Function inline

src/ir/opt/inline.rs:167–176  ·  view source on GitHub ↗

Performs "inline" optimizations. That is, finds equalities between variables and terms, and substitutes the term for the variable. Maintains a few invariants as it sweeps the assertions. First, maintains a set of variables being substituted. Second, maintain a

(assertions: &mut Vec<Term>, public_inputs: &FxHashSet<String>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

optFunction · 0.85
sub_testFunction · 0.85

Calls 2

ingest_termMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected