Commit graph

10 commits

Author SHA1 Message Date
Leonardo de Moura
ea35f6e091 fix: missing mkJpDeclIfNotSimple 2022-08-17 14:35:07 -07:00
Leonardo de Moura
31f7c51d14 feat: add simp loop
Keeps simplifying while making progress.
2022-08-17 11:57:33 -07:00
Leonardo de Moura
f0370749f9 feat: check whether there are jumps to out of scope join points
In a local function declaration, we can only jump to local join
points.
2022-08-17 09:38:19 -07:00
Leonardo de Moura
0d52a3f92b fix: add attachJp
Auxiliary function for attaching jump to a join point to an existing
let-code block.
2022-08-17 07:32:11 -07:00
Leonardo de Moura
600740da85 feat: inlining local function declarations 2022-08-16 18:23:49 -07:00
Leonardo de Moura
aac711cf92 feat: inlining statistics 2022-08-16 18:23:49 -07:00
Leonardo de Moura
2f57a0e6d5 refactor: cleaup compiler simplifier 2022-08-16 18:23:49 -07:00
Leonardo de Moura
9f46996db7 feat: inliner 2022-08-16 18:23:49 -07:00
Leonardo de Moura
e8fdfe4193 feat: eliminate trivial let-declarations 2022-08-16 18:23:49 -07:00
Leonardo de Moura
117db0da01 feat: add Compiler/Simp.lean 2022-08-16 18:23:49 -07:00