artiq/artiq/compiler
David Nadlinger da255bee1b compiler: Implement element type coercion for arrays
So far, this is not exposed to the user beyond implicit conversions.

Note that all the implicit conversions, such as triggered by adding
arrays of mismatching types, or dividing integer arrays, are currently
emitted in a maximally inefficient way, where a temporary copy is first
made for the type conversion. The conversions would more sensibly be
implemented during the per-element operations to save on the extra
copies, but the current behaviour fell out of the rest of the IR
generator structure without extra changes.
2020-08-09 03:54:41 +01:00
..
algorithms compiler: do not associate SSA values with iodelay even when inlining. 2015-12-25 15:02:33 +08:00
analyses compiler: Constness is a validator, not analysis. 2017-06-09 07:29:31 +00:00
testbench use tokenize.open() to open Python source files 2018-07-07 17:04:56 +08:00
transforms compiler: Implement element type coercion for arrays 2020-08-09 03:54:41 +01:00
validators compiler: Implement unary plus/minus for arrays 2020-08-09 03:54:41 +01:00
__init__.py compiler: pull in dependencies in more finely grained way (fixes #181). 2015-11-24 17:32:04 +08:00
asttyped.py compiler: allow specifying per-function "fast-math" flags. 2016-03-28 21:44:08 +00:00
builtins.py language: Allow instantating TArray using bare ints 2020-08-09 03:54:41 +01:00
embedding.py compiler: Allow None in type hints 2019-12-19 09:36:45 +08:00
import_cache.py import_cache: make sure last line ends with \n as linecache does. Closes #547 2016-09-02 11:01:28 +08:00
iodelay.py compiler.iodelay: correctly fold max(0, [0, ]...). 2015-11-24 00:46:55 +08:00
ir.py compiler: Factor rpc_tag() out of llvm_ir_generator 2020-08-09 03:54:41 +01:00
module.py compiler: first monomorphize ints, then casts. 2019-01-12 13:40:12 +00:00
prelude.py compiler: Implement abs() for scalars 2019-04-13 13:39:16 +08:00
targets.py compiler: linker discard local symbols. 2020-08-06 16:07:28 +08:00
types.py compiler.types: Change invalid default value [nfc] 2020-08-09 03:54:41 +01:00