• 'dce'* is stands for Dead Code Elimination

The pass detects and removes dead code by using a sparse liveness traversal over use-def links of the SSA form.

As 'dce' may produce some unreachable code it worth having Unreachable Code Eliminator follows 'dce' in the HLO path.

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

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

  • No labels