Package pascal.taie.analysis.deadcode
Class DeadCodeDetection
Detects dead code in an IR.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class pascal.taie.analysis.Analysis
getId, getOptions
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
DeadCodeDetection
-
-
Method Details
-
analyze
Description copied from class:MethodAnalysis
Runs this analysis for the givenIR
. The result will be stored inIR
. If the result is not used by following analyses, then this method should returnnull
.- Specified by:
analyze
in classMethodAnalysis<Set<Stmt>>
- Parameters:
ir
- IR of the method to be analyzed- Returns:
- the analysis result for given ir.
-