hashc
hashc copied to clipboard
The Hash programming language compiler :zap:
Another powerful optimisation opportunity is constant propagation. This pass should be able to simplify and optimise out as much constness out of an IR body as possible. This might include...
This will be needed for implementing custom backends like the VM and (potentially in the future other architecture backends like `x86`). It should be agnostic to a backend, and can...
This issue relates to the compiler knowing about the call graph of the program. This will enable the following: - optimise out dead code, functions which are never called and...
This pass will re-write the IR into SSA form so that things like liveness checking and register allocations can be more easily implemented.
For `ModDef`s, these should probably be represented as `ArgsId` with some flag denoting it is a module..
The `analysis` phase of the compiler has several distinguished parts and phases which run. In the recent spirit of improving performance across the compiler, it would be beneficial to collect...