Differences between revisions 2 and 3
Revision 2 as of 2008-05-14 08:37:20
Size: 633
Editor: 195
Revision 3 as of 2009-09-20 21:55:11
Size: 635
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[[BR]] <<BR>>
Line 11: Line 11:
implementation file: [http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32DCE.cpp?view=markup http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32DCE.cpp] implementation file: [[http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32DCE.cpp?view=markup|http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32DCE.cpp]]

'cg_dce' LIR transformation removes unused operands, instruction and unreachable nodes from LIR

The algorithm:

1. For every instruction check if it has any side effect
2. Remove the instruction if no side effect found. Remove one of the edges if the instruction removed is a branch.
3. Remove empty nodes and unreachable nodes and merge adjustment nodes.

implementation file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32DCE.cpp

Jitrino_OPT/cg_dce (last edited 2009-09-20 21:55:11 by localhost)