harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Jitrino OPT/hlo api magic" by George Timoshenko
Date Tue, 06 May 2008 09:42:54 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by George Timoshenko:
http://wiki.apache.org/harmony/Jitrino_OPT/hlo_api_magic

New page:
The pass replaces known Java API method calls with predefined algorithms written with HIR.

If a call is being replaced with just a few instructions it should be done in the origin api_magic
pass in codegenerator. For the cases when a call should be replaced with a sub-graph wit ha
lot of different instructions including branches the replacement must be done in HLO path
due to at least two reasons:
 * It is much easier to create and insert sub-graph into HIR rather than into LIR;
 * After insertion new instructions can be optimized by other high-level optimizations. (The
effect is the same as for inlining)

Mime
View raw message