Interface IEOptFilterCanDiscard
public interface IEOptFilterCanDiscard
Interface for can-discard filter implementations used by a master optimizer.
Refer to
IEMasterOptimizer.addDisregardedOutputFilter(IEOptFilterCanDiscard)
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
check
(CFG<IEStatement> cfg, long insnAddress, int varDefId)
-
Method Details
-
check
- Parameters:
cfg
- CFGinsnAddress
- instruction in CFGvarDefId
- a variable id being defined by the instruction- Returns:
- true if the definition at the instruction could be considered useless
-