Leonardo de Moura
fc0ce5b97e
chore(library/aliases, frontends/lean): remove local_ref's
...
We don't need them since we removed parameters
2019-05-27 21:28:22 -07:00
Leonardo de Moura
9aa40e2491
chore(library/aliases): remove dead code
2019-05-27 21:28:22 -07:00
Leonardo de Moura
8c6ae127c9
chore(library/scoped_ext): remove dead code
2019-05-27 21:28:22 -07:00
Sebastian Ullrich
d3097d08c1
feat(tests/playground/report): polish cross benches
2019-05-26 22:13:43 +02:00
Sebastian Ullrich
9708e9aced
feat(tests/playground/Makefile): rbmap_checkpoint_10 benchmark
2019-05-26 21:27:08 +02:00
Leonardo de Moura
0e8abd81bb
chore(stage0): update
2019-05-25 16:35:43 -07:00
Leonardo de Moura
0f43c2e2d9
feat(library/init/data/array/basic): efficient heterogeneous Array.map
...
This commit also removes Array.hmap.
Motivation: I wanted to use Array.hmap as an example in the paper, but
I found it would be too distracting to explain why we had `Array.hmap`
and `Array.map`.
cc @kha
2019-05-25 16:32:59 -07:00
Leonardo de Moura
421da67490
test(tests/playground/deriv): implement count using UInt32
2019-05-25 05:56:44 -07:00
Leonardo de Moura
4b896bc71c
fix(library/init/lean/compiler/ir/rc): use updated ctx at addDecForAlt
...
Compiler was introducing unnecessary `dec` operations
2019-05-24 19:20:20 -07:00
Sebastian Ullrich
fa7e17c5bb
fix(tests/playground/rbmap_checkpoint): do something with the list tail
2019-05-24 20:06:08 +02:00
Sebastian Ullrich
64cae92cc1
fix(tests/playground/report): only normalize runtimes
2019-05-24 19:53:28 +02:00
Sebastian Ullrich
9d7875ca05
feat(tests/playground/report): reimplement normalizing by first column
2019-05-24 19:01:23 +02:00
Sebastian Ullrich
4eab0528bc
feat(tests/playground/Makefile): add MLton and MLKit
2019-05-24 19:01:10 +02:00
Sebastian Ullrich
3255092125
chore(tests/playground/bench): update temci
2019-05-24 16:24:10 +02:00
Sebastian Ullrich
7762efc334
chore(tests/playground/report): Lean: rename GC to del
2019-05-24 16:22:59 +02:00
Sebastian Ullrich
9c31425379
chore(tests/playground/temci): more new settings
2019-05-24 15:44:16 +02:00
Sebastian Ullrich
e7276188f9
chore(tests/playground/report): simplify
2019-05-24 15:01:43 +02:00
Sebastian Ullrich
1815bef873
chore(tests/playground/temci): add new settings
2019-05-24 13:34:11 +02:00
Sebastian Ullrich
1c1d8933e0
chore(tests/playground/report): use temci API directly
2019-05-24 13:34:11 +02:00
Sebastian Ullrich
ee6c60ddfe
chore(tests/playground/bench): update Lean version
2019-05-24 11:06:02 +02:00
Sebastian Ullrich
9d682d6465
chore(bin/lean-bootstrapped): remove obsolete file
2019-05-24 11:05:49 +02:00
Leonardo de Moura
074002eb84
chore(stage0): update
2019-05-23 18:34:22 -07:00
Leonardo de Moura
5d04027050
chore(tests/playground): scripts for using old IR compiler
2019-05-23 18:33:29 -07:00
Leonardo de Moura
f72d54c2a0
chore(shell/lean): set new IR compiler as the default
2019-05-23 18:27:41 -07:00
Leonardo de Moura
c6f717e55b
chore(stage0): update
2019-05-23 18:20:12 -07:00
Leonardo de Moura
3f26ec8777
fix(library/init/lean/compiler/ir/expandresetreuse): typo at consumed
2019-05-23 18:17:44 -07:00
Leonardo de Moura
7ef495a526
fix(library/init/lean/compiler/ir): use setTag at expandresetreuse
...
This commit also adds the instruction `setTag`, and removes `release`.
2019-05-23 17:41:14 -07:00
Leonardo de Moura
bf3575a316
feat(library/init/lean/compiler/ir): improve expandresetreuse
2019-05-23 17:23:50 -07:00
Leonardo de Moura
78fe0b901d
fix(library/init/lean/compiler/ir/resetreuse): bug at D
2019-05-23 16:57:59 -07:00
Leonardo de Moura
506c354a76
feat(library/init/lean/compiler/ir): push projections more aggresively
...
The implementation was not matching the C++ version
2019-05-23 15:03:51 -07:00
Leonardo de Moura
7cb5c04f4f
feat(library/init/lean/compiler/ir/expandresetreuse): first draft
2019-05-23 14:07:08 -07:00
Leonardo de Moura
c6c46df285
feat(library/init/lean/compiler/ir): develop expandresetreuse
2019-05-23 12:42:31 -07:00
Leonardo de Moura
f9f4e6c14b
feat(library/init/lean/compiler/ir): add expandresetreuse
2019-05-23 08:58:16 -07:00
Leonardo de Moura
aede2476de
chore(stage0): update
...
We changed the IR representation, and the C++ code interacts with both
stage0 and stage1.
2019-05-23 08:22:36 -07:00
Leonardo de Moura
8ba7dd4cff
feat(library/init/lean/compiler/ir): add del instruction for releasing memory
2019-05-23 08:01:15 -07:00
Leonardo de Moura
c6433460fb
chore(library/init/lean/compiler/ir/format): naming consistency
2019-05-22 18:46:50 -07:00
Leonardo de Moura
013f0c9edb
feat(library/init/lean/compiler/ir/rc): missing optimization
2019-05-22 18:46:43 -07:00
Leonardo de Moura
6bed0ca5b5
chore(library/compiler): style
2019-05-22 18:46:37 -07:00
Leonardo de Moura
5ee7a211cf
chore(tests/lean/run/rc_tests): fix test
2019-05-22 18:46:30 -07:00
Leonardo de Moura
3e76e43843
fix(library/init/lean/compiler/ir/borrow): visit join point body
2019-05-22 17:31:56 -07:00
Leonardo de Moura
fe0141918a
fix(library/init/lean/compiler/ir) bug at addDecAfterFullApp
2019-05-22 16:30:42 -07:00
Sebastian Ullrich
7106c7d15e
feat(tests/playground/Makefile): measure Lean GC% as lean::del/dealloc execution times via perf
...
It looks like the Nix CXX wrapper did this for me so far
2019-05-22 23:32:33 +02:00
Sebastian Ullrich
e5ed96798b
fix(tests/playground/Makefile): actually compile Lean code with optimizations
2019-05-22 23:23:30 +02:00
Sebastian Ullrich
29623cd2c5
fix(shell/lean): --cpp on stand-alone files
2019-05-22 23:23:30 +02:00
Sebastian Ullrich
c3eed47cdb
feat(tests/playground/Makefile): replace bench with temci
2019-05-22 23:23:29 +02:00
Leonardo de Moura
a570e35161
chore(stage0): update
2019-05-22 11:45:58 -07:00
Leonardo de Moura
568bd1c269
fix(library/init/lean/compiler/ir/borrow): do not perform borrow inference for @[export] declarations
2019-05-22 11:44:34 -07:00
Leonardo de Moura
a8f8df1475
chore(library/init/lean/compiler): add export.lean
2019-05-22 11:27:25 -07:00
Leonardo de Moura
2408d6dd80
fix(library/init/lean/compiler/ir/boxing): created boxed version for externs
2019-05-22 10:56:51 -07:00
Leonardo de Moura
fa3079f04e
chore(stage0): update
2019-05-22 10:36:36 -07:00