Class DefUseAnalysis


public class DefUseAnalysis extends MethodAnalysis<DefUse>
Computes intra-procedural def-use and use-def chains based on reaching definition analysis.
  • Field Details

  • Constructor Details

  • Method Details

    • analyze

      public DefUse analyze(IR ir)
      Description copied from class: MethodAnalysis
      Runs this analysis for the given IR. The result will be stored in IR. If the result is not used by following analyses, then this method should return null.
      Specified by:
      analyze in class MethodAnalysis<DefUse>
      Parameters:
      ir - IR of the method to be analyzed
      Returns:
      the analysis result for given ir.