Re: [rvm-research] Escape analysis
Erik Brangs <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 14.10.2013 19:38, Richard Jones wrote: > I'm interested in some fairly simple escape analysis. While Jikes RVM seems to provide a framework for analysing escapement and applying transformations, this seems to depend on SSA, e.g. see org.jikesrvm.compilers.opt.escape.EscapeTransformations.perform(). Are you referring to the calls to DefUse.recomputeSSA(ir) and reg.isSSA() in EscapeTransformations.perform()? AFAIK these do not actually depend on SSA, they merely deal with the SSA property for each register. This property is true if the register in question has only one assignment. This property would not need to be checked if the IR was in SSA form because SSA form implies that it is true for every register. When I want to determine whether a compiler phase uses SSA, I normally look at its shouldPerform() method and its place in the OptimizationPlanner. For example, EscapeTransformations is used during the normal HIR optimizations which means it cannot depend on SSA. Kind regards, Erik Brangs ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk