Differences between revisions 3 and 4
Revision 3 as of 2008-05-14 08:02:26
Size: 1029
Comment:
Revision 4 as of 2009-09-20 21:55:15
Size: 1033
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[[BR]][[BR]] <<BR>><<BR>>
Line 4: Line 4:
[[BR]] <<BR>>
Line 6: Line 6:
[[BR]] <<BR>>
Line 9: Line 9:
header file: [http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.h?view=markup http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.h] [[BR]]
implementation file: [http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.cpp?view=markup http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.cpp]
header file: [[http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.h?view=markup|http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.h]] <<BR>>
implementation file: [[http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.cpp?view=markup|http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.cpp]]

'memopt' - a memory optimization pass that reduces the number of operations with memory by removing redundant loading and storing instructions.

The optimization works on the SSA form to combine all locations of an object into one alias.
After that, the optimization updates use-def dependencies with the alias instead of locations. According to these new dependencies, 'memopt' deletes redundant stores.
Finally, it performs scoped hash-value numbering on the resulting control flow graph to eliminate redundant load operations.

header file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.h
implementation file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/memoryopt.cpp

Jitrino_OPT/memopt (last edited 2009-09-20 21:55:15 by localhost)