788 Commits (f4aafa10d6110e09cd63403820bef7ac6fa22261)
 

Author SHA1 Message Date
Cédric Pasteur f4aafa10d6 Added a build system for Heptagon
./configure 
make
make install
13 years ago
Léonard Gérard 81ad14ab7b changed interf_schedule to use clocks correctly 13 years ago
Cédric Pasteur 21433f6416 Only do one copy for two recursive registers 13 years ago
Cédric Pasteur 72cac326a8 Fixed normalization of fby
We should normalize not only outputs but also 
other fbys to generate correct code. The test shows
a program that was compiled incorrectly.
13 years ago
Cédric Pasteur a31715ecde Proper fix for causality
This time it should work in all cases
13 years ago
Cédric Pasteur c61371de5d Fixed the Mc_memalloc example
Replaced  some ifs by merges. The previous code 
was incorrect.
13 years ago
Cédric Pasteur 85be1252b0 Another try to fix causality of linear ifs 13 years ago
Adrien Guatto 1ec97d187b Adapted minimization to reinit. 13 years ago
Cédric Pasteur 04b8853a1d Added a new reinit operator
It has type:
reinit: t at r * t -> t at r

It can be used to put a constant value in a 
location.
13 years ago
Cédric Pasteur 4f9a91eebd Fixed dependency issue with linear splits 13 years ago
Cédric Pasteur e2d4d33d97 Fixed linear typing with args that are tuples 13 years ago
Cédric Pasteur c2ab607195 Fix for causality when using linear types 13 years ago
Cédric Pasteur 6fefd551b1 Fixed typing of iterators in some cases
If a variable is already used linearly before,
do not reuse it linearly
13 years ago
Cédric Pasteur 0f403e3694 Fix for wrong number of expected args 13 years ago
Léonard Gérard f51ca395d8 script to clean the compiler binaries
To refresh everything, it is now sufficient
first clean_heptc
second use heptc
13 years ago
Léonard Gérard ef4478e37e removed some stupid warnings. 13 years ago
Adrien Guatto ee2f5ca443 Tomato: simplification + update signature via modules.
test/good/linear_init.ept now compiles.
13 years ago
Cédric Pasteur 1aac6f7be4 Fixed bug in unicity check in linear typing
Test case included
13 years ago
Adrien Guatto 3269a04052 Do not inline linear extended values. 13 years ago
Adrien Guatto 30089e7d0f Fixed extvalue inlining w.r.t. linear copy 13 years ago
Cédric Pasteur 175c8e34ff Fixed control fusion 13 years ago
Adrien Guatto d0ed09c3e5 Ext-value inlining pass. 13 years ago
Cédric Pasteur 0c29505821 Inlined example with linearity annotations 13 years ago
Cédric Pasteur 902cbaf7a1 Fixed error with memalloc and const value with when 13 years ago
Cédric Pasteur 4c9a7a42a6 Fixed linearity annotations
This is a bug in the compiler. It should not 
be accepted.
13 years ago
Cédric Pasteur 5e39091321 Some work on the build script for examples 13 years ago
Adrien Guatto 2fb27770b8 Fixed iterator minimization bug. 13 years ago
Cédric Pasteur 80f24b747c Updated comments 13 years ago
Cédric Pasteur 168a161690 Correct inlined version 13 years ago
Cédric Pasteur 36c1c7252e Fixed memalloc application with fields 13 years ago
Cédric Pasteur 1231afdbb1 Fixed inlining
Inlining is now recursive.
13 years ago
Cédric Pasteur 26ad2739dd Inlined version of mission control 13 years ago
Cédric Pasteur da3660c08c Tweaked the printer to generate correct code
There is still a big problem with priority
of operators
13 years ago
Cédric Pasteur 339feaa747 Ignore unknown nodes (instead of crashing) 13 years ago
Cédric Pasteur 332ddabba4 Mission control example with inlining 13 years ago
Cédric Pasteur 346b223a94 Mission control example with inlining 13 years ago
Cédric Pasteur 1c43a8b1ac Fixed code generation for constant arrays 13 years ago
Cédric Pasteur 3a9dc1c34d Small fixes in Inline
Also inline function calls, not only nodes.
13 years ago
Cédric Pasteur d786803a6e Use heptc script directly 13 years ago
Cédric Pasteur 1d6b68cef6 Fix syntax for ocaml < 3.12 13 years ago
Cédric Pasteur 4648f7fbab Scade example with linear annotations 13 years ago
Cédric Pasteur 4d912e9349 Added more options for memalloc
There is now three options for memory allocation:
  - -only-linear activates only the linear 
annotations (with typing and code generation)
  - -only-memalloc does only memory allocation
  - -memalloc does both

When linear typing is not activated, linearity 
annotations are ignored (the signature in the .epi
does not contain the annotations)
13 years ago
Cédric Pasteur eb18342c33 Do not forget to also traverse local linear vars 13 years ago
Cédric Pasteur b0bb7ad39f Fixed problem with application of memalloc 13 years ago
Cédric Pasteur c550b09805 Fixed code generated for alias types to arrays 13 years ago
Cédric Pasteur 9427117fe1 Fixed linear typing of accumulators 13 years ago
Cédric Pasteur eb0a19926c Erase all linearities if memalloc is not activated 13 years ago
Cédric Pasteur 08437bf448 Fixed linear typing of nested calls 13 years ago
Cédric Pasteur 7bf5f3f323 Fixed typing of iterator 13 years ago
Cédric Pasteur 09afb3aca4 Fixed invalid types in static expressions 13 years ago