Jesper Gravgaard
|
827f63c315
|
Added support for full var_models and var_models with default setting applied pre/post.
|
2020-02-25 21:38:29 +01:00 |
|
jespergravgaard
|
7dacbb2c75
|
Fixed code for __ma.
|
2020-02-15 09:30:27 +01:00 |
|
jespergravgaard
|
f45ba8eb10
|
Fixed early constant identification. Added test for constant initValue.
|
2020-02-15 09:00:57 +01:00 |
|
jespergravgaard
|
7b8488ef29
|
Fixed the last __ma exceptions.
|
2020-02-14 23:01:56 +01:00 |
|
jespergravgaard
|
3770874860
|
Unrolled condition variables are now converted to SSA automatically in pass 1.
|
2020-02-14 15:55:04 +01:00 |
|
jespergravgaard
|
d0bc5af94b
|
Now identifying USE's that are also DEFINE's as unused.
|
2020-02-14 10:57:29 +01:00 |
|
jespergravgaard
|
0beeab9be2
|
Refactored live ranges to work for multiple-assign variables. The price is that a few unused variables are no longer optimized away since they depend only on them selves. See duplace-loop-problem.kc.
|
2020-02-14 00:32:19 +01:00 |
|
Jesper Gravgaard
|
a5d14105d8
|
Fixed const in test.
|
2020-02-13 18:26:52 +01:00 |
|
Jesper Gravgaard
|
f92e750b61
|
Fixed removal of unused vars.
|
2020-02-13 13:46:54 +01:00 |
|
jespergravgaard
|
f106f953a8
|
Working on memory model ma_mem. Added some support for local static variables.
|
2020-02-13 11:36:27 +01:00 |
|
jespergravgaard
|
600a80dbcc
|
Fixed last errors for ssa_mem var-model.
|
2020-02-12 23:26:20 +01:00 |
|
jespergravgaard
|
687705f5d2
|
Eliminated old getAssignment() method.
|
2020-02-12 22:24:29 +01:00 |
|
jespergravgaard
|
3d7914c31f
|
Eliminated old getAssignment() methods.
|
2020-02-12 22:09:43 +01:00 |
|
jespergravgaard
|
6c4a99240d
|
Eliminated old getAssignment() methods.
|
2020-02-12 08:21:48 +01:00 |
|
jespergravgaard
|
92acd45493
|
Eliminated old getAssignment() methods.
|
2020-02-12 00:47:01 +01:00 |
|
jespergravgaard
|
45019c1116
|
Fixed test
|
2020-02-11 22:04:01 +01:00 |
|
Jesper Gravgaard
|
f2ef18829f
|
Improving synthesis
|
2020-02-11 21:00:04 +01:00 |
|
Jesper Gravgaard
|
ba20025165
|
Merge remote-tracking branch 'origin/master'
# Conflicts:
# src/main/java/dk/camelot64/kickc/model/VariableBuilder.java
|
2020-02-11 18:25:13 +01:00 |
|
Jesper Gravgaard
|
759e17829e
|
Working on fixing ma_mem variable model. Improving synths.
|
2020-02-11 18:23:19 +01:00 |
|
jespergravgaard
|
2daf1c0f87
|
Added a few fragments.
|
2020-02-10 21:57:15 +01:00 |
|
jespergravgaard
|
8fe8773dc1
|
Fixed fragment tests. Using new VarAssignments method in alias elimination.
|
2020-02-10 20:14:22 +01:00 |
|
Jesper Gravgaard
|
8f2d766e52
|
Working on fixing ma_mem variable model.
|
2020-02-10 18:39:25 +01:00 |
|
jespergravgaard
|
bd9a403b64
|
Improving ssa_mem variable support.
|
2020-02-10 00:33:16 +01:00 |
|
jespergravgaard
|
353d45ab65
|
Improving ssa_mem variable support.
|
2020-02-09 18:50:17 +01:00 |
|
jespergravgaard
|
9faabae052
|
Merged memory-variables to main. Includes support for C-standard structs, much better constant identification, much better handling of arrays/structs inside structs, removal of string type, initialization/copying using memcpy/memset and new #pragma var_model().
|
2020-02-09 16:54:14 +01:00 |
|
jespergravgaard
|
4f54062a43
|
Added test with two different variable models.
|
2020-02-09 15:06:16 +01:00 |
|
jespergravgaard
|
be05569013
|
Fixed tests
|
2020-02-09 14:30:27 +01:00 |
|
jespergravgaard
|
a119d38b5e
|
Added a few tests for the new #pragma var_model().
|
2020-02-09 12:55:17 +01:00 |
|
jespergravgaard
|
c8523c488e
|
Now using VariableBuilderConfig for setting up SSA/MA & MemoryArea.
|
2020-02-09 12:44:36 +01:00 |
|
Jesper Gravgaard
|
eed8d58d74
|
Now using VariableBuilderConfig for SSA/MA.
|
2020-02-09 11:48:17 +01:00 |
|
jespergravgaard
|
df9bde2ee8
|
Added pragma var_model(...) for configuring memory and optimization model for variables.
|
2020-02-08 10:35:43 +01:00 |
|
jespergravgaard
|
f73b048d2e
|
Eliminated SymbolType.STRING
|
2020-02-06 22:52:23 +01:00 |
|
jespergravgaard
|
a612562dc7
|
Work in progress: eliminating SymbolType.STRING
|
2020-02-06 22:29:41 +01:00 |
|
jespergravgaard
|
fda0940062
|
Work in progress: eliminating SymbolType.STRING
|
2020-02-06 22:20:53 +01:00 |
|
jespergravgaard
|
a231b7495f
|
Collecting SIZEOF/INDEXOF constants in one class. Dropping defunct struct pointer rewrite pass.
|
2020-02-06 19:22:56 +01:00 |
|
jespergravgaard
|
13ab7e8da3
|
Removed unnecesary address-of handling.
|
2020-02-06 18:19:02 +01:00 |
|
jespergravgaard
|
45ad6b64b0
|
Dropped inferred volatile.
|
2020-02-06 18:07:56 +01:00 |
|
jespergravgaard
|
1a978bc82d
|
Fixed struct address-of handling.
|
2020-02-06 15:40:27 +01:00 |
|
jespergravgaard
|
345b154264
|
Removed all old unwinding code.
|
2020-02-06 10:18:46 +01:00 |
|
jespergravgaard
|
b9cdfa5f39
|
Removed all the old unwinding code.
|
2020-02-06 09:49:32 +01:00 |
|
jespergravgaard
|
64afa1791e
|
Call parameters rewrite now using ValueSources.
|
2020-02-06 01:26:46 +01:00 |
|
jespergravgaard
|
8a3039112b
|
Call LValue rewrite now using ValueSources.
|
2020-02-06 01:19:34 +01:00 |
|
jespergravgaard
|
0057e16517
|
StructMemberReferences rewrite now using ValueSources.
|
2020-02-06 01:08:55 +01:00 |
|
jespergravgaard
|
511020649a
|
Working on new ValueSource based unwinding. Most of the old unwinding code is now unused.
|
2020-02-05 17:29:25 +01:00 |
|
Jesper Gravgaard
|
b17d4ab8fc
|
Unwindings moving to ValueSource
|
2020-02-05 09:24:55 +01:00 |
|
jespergravgaard
|
0336b18a62
|
Working on new ValueSource based unwinding!
A few __ptr__ problems in test outputs remain.
|
2020-02-05 00:45:08 +01:00 |
|
jespergravgaard
|
e1258f943d
|
Working on new ValueSource based unwinding!
|
2020-02-04 20:52:58 +01:00 |
|
jespergravgaard
|
a50b295c45
|
Working on new ValueSource based unwinding!
|
2020-02-03 08:30:17 +01:00 |
|
jespergravgaard
|
ae79e813a2
|
Added test copying struct value into array.
|
2020-02-02 23:41:26 +01:00 |
|
jespergravgaard
|
2ebf7b698b
|
Added logging when postponing unwindings.
|
2020-02-02 23:06:59 +01:00 |
|