Controlling the phases of the Graal compiler
Gilles Duboscq
gilles.m.duboscq at oracle.com
Tue Feb 14 11:09:11 UTC 2017
Hi David,
You can also look at the CompilerConfigurationFactory mechanism which should allow you to create alternative compiler configuration that can customize the High/Mid/LowTiers to add/remove phases.
Gilles
On 14/02/17 03:01, David Clarke wrote:
> Good people,
>
> I have found Bahram Yarahmadi’s post of 5th Jun 2016 3:34pm regarding his attempt to use the Graal compiler to generate the machine code for his test program.
> I need the ability to write a new optimisation phase and inject it into the suite of phases in the correct place. I know what I want to do, but I don’t know how to get my code integrated into the compiler.
> Please can someone point me to the relevant place in the documentation that describes what the various compiler phases do, the order in which they must be invoked and any implicit dependencies. Alternatively, which Java classes would you suggest as models so that I can start “code-diving”?
>
>
> Thank you for your help.
>
>
>
> David (Knobby) CLARKE
> 6 Coptfold Court
> Glen Waverley
> VIC 3150
> Australia
> +61 408 793 793
> dawclarke at gmail.com
>
>
>
More information about the graal-dev
mailing list