whitequark
1e851adf4f
Add a polymorphic print function.
2015-07-21 22:32:10 +03:00
Sebastien Bourdeauducq
179ca36d09
gui: basic scan support
2015-07-21 21:24:24 +02:00
whitequark
0e7294db8d
Null-terminate all string literals.
2015-07-21 19:57:18 +03:00
whitequark
9d20080624
Use internal linkage for interior Python global values.
2015-07-21 19:55:43 +03:00
whitequark
8c9d9cb5a1
Make compiler.testbench.llvmgen emit a main() function.
2015-07-21 19:48:44 +03:00
whitequark
7301a76d68
Mark string constants as unnamed_addr.
...
As a result they will be merged when possible.
2015-07-21 17:10:31 +03:00
whitequark
49ece6a12a
Add support for string literals.
2015-07-21 14:27:48 +03:00
whitequark
64d2604aa8
Tolerate assertion failures in tests when looking for diagnostics.
2015-07-21 14:12:27 +03:00
whitequark
e58b811d6d
Fix tests broken by fixed FloorDiv.
2015-07-21 14:05:07 +03:00
whitequark
ec9d40b04f
Add LLVM IR generation for function calls.
2015-07-21 13:45:27 +03:00
whitequark
e299801c0f
LocalAccessValidator: fix validation of closures with no outer variables.
2015-07-21 13:16:18 +03:00
whitequark
6f11fa6bb1
Add conversion to LLVM IR (except handling of exception handling).
2015-07-21 04:55:01 +03:00
Robert Jördens
47191eda91
dds monitor: relax timing (for pipistrello)
2015-07-19 21:36:51 -06:00
Sebastien Bourdeauducq
1a0dc499dd
gui: exit when main window is closed
2015-07-19 18:27:41 +02:00
Sebastien Bourdeauducq
97ebdee2c6
gui: add pyqtgraph patch to prevent closing of detached nonclosable docks (move them to main window instead)
2015-07-19 18:08:24 +02:00
Sebastien Bourdeauducq
bb05ed268e
language/scan: add argument processor
2015-07-19 16:47:35 +02:00
whitequark
c6cd318f19
Fix artiq.compiler.ir.BasicBlock.__repr__.
2015-07-19 16:32:33 +03:00
Sebastien Bourdeauducq
937ca853aa
language/scan: fix random scan, add explicit scan, specify what runs on host/device
2015-07-19 11:36:52 +02:00
whitequark
7e3f91c0bb
Teach closures to LocalAccessValidator.
2015-07-19 12:08:26 +03:00
whitequark
2c010b10ee
Remove UnaryOp ARTIQ IR instruction; rename BinaryOp to Arith.
...
Everything it can express can also be expressed via Arith.
2015-07-19 11:51:53 +03:00
whitequark
ac491fae47
Add LocalAccessValidator.
2015-07-19 11:44:51 +03:00
whitequark
f5d9e11b38
Remove irgen tests.
...
These are too hard to write and will be replaced by integration
tests of ARTIQ IR generator + LLVM IR generator once the latter
gets implemented.
2015-07-19 11:30:53 +03:00
whitequark
adf18bb042
Fix assignment to tuples in IRGenerator.
2015-07-19 10:31:11 +03:00
whitequark
4bd83fb43d
Use ".k" instead of "k" for the finalizer continuation variable.
...
The dot signifies that this is an internal variable and it
does not need to be tracked as if it was a user-defined one.
2015-07-19 10:30:42 +03:00
whitequark
8eedb3bc44
Fix IRGenerator.append(loc=...).
2015-07-19 10:29:33 +03:00
whitequark
f212ec0263
Add a trivial dead code elimination transform.
...
Its purpose is to sweep up basic blocks with no predecessors,
which are annoying to handle explicitly elsewhere.
2015-07-19 10:29:14 +03:00
whitequark
603d49dffa
Add a dominator analysis.
2015-07-18 20:48:52 +03:00
whitequark
224a93fde3
Make compiler.ir.BasicBlock.predecessors much faster.
2015-07-18 20:48:11 +03:00
Sebastien Bourdeauducq
deaa492566
language: add scan iterators
2015-07-18 19:26:41 +02:00
Sebastien Bourdeauducq
9e29a4650a
environment,gui: more argument types
2015-07-18 16:25:08 +02:00
Sebastien Bourdeauducq
5f95a302e6
environment: improve docstrings
2015-07-18 16:24:37 +02:00
Sebastien Bourdeauducq
657f198cdc
gui: display '---' on failed number result
2015-07-18 10:26:47 +02:00
whitequark
47cbadb564
Revert "Ensure bindings are created in correct order for e.g. "x, y = y, x"."
...
This reverts commit bcd1832203
.
The bindings are actually created in lexical order, as evident
in e.g. "x = lambda: x". The safety provided by this check should
be instead provided by a local access analysis.
2015-07-18 09:54:11 +03:00
whitequark
8e1cc8d985
Add an explicit ARTIQ IR instruction to create a closure.
2015-07-18 09:27:34 +03:00
whitequark
5ad02d5282
Fix ARTIQ IR generation for variables declared global.
2015-07-18 09:10:41 +03:00
whitequark
21eafefd28
Fix inference for globals.
2015-07-18 08:13:49 +03:00
whitequark
0d66bdfbf8
Fix For miscompilation.
2015-07-18 07:58:43 +03:00
whitequark
dde2e67c3f
Add source locations to ARTIQ IR instructions.
2015-07-18 07:49:42 +03:00
whitequark
255ffec483
Generate more compact ARTIQ IR for else-less if.
2015-07-18 07:49:27 +03:00
Sebastien Bourdeauducq
dd7920f0c3
gui: basic argument support
2015-07-17 21:28:46 +02:00
whitequark
e96bc3c36c
Add complete IR generator.
2015-07-17 21:29:06 +03:00
Sebastien Bourdeauducq
2576036ba1
language,worker: preserve order of arguments
2015-07-17 19:32:38 +02:00
Sebastien Bourdeauducq
6b36d93cc2
master,client: support repository rescan
2015-07-17 18:55:48 +02:00
Sebastien Bourdeauducq
4907991ea3
sync_struct: docstring cleanup
2015-07-17 18:53:43 +02:00
whitequark
f28549a11a
Add builtins.is_exception.
2015-07-17 16:05:02 +03:00
whitequark
3b661b2b65
Fix environment corruption by ExceptHandler without a name.
2015-07-17 16:04:46 +03:00
Sebastien Bourdeauducq
39c6bc940c
coreconfig: use new database API ( closes #75 )
2015-07-17 10:49:55 +02:00
Sebastien Bourdeauducq
9649e1837a
gui: basic plotting
2015-07-16 20:52:53 +02:00
Sebastien Bourdeauducq
a83473a19a
sync_struct: clarify notify_cb doc
2015-07-16 20:52:27 +02:00
Yann Sionneau
78ee4bdb99
pyqtgraph: use more up to date revision a6d5e28 on develop branch
2015-07-16 20:00:08 +02:00