Remove a CPUI_INDIRECT if its blocking PcodeOp is dead.
More...
Remove a CPUI_INDIRECT if its blocking PcodeOp is dead.
◆ applyOp()
Attempt to apply this Rule.
This method contains the main logic for applying the Rule. It must use a given PcodeOp as the point at which the Rule applies. If it does apply, changes are made directly to the function and 1 (non-zero) is returned, otherwise 0 is returned.
- Parameters
-
op | is the given PcodeOp where the Rule may apply |
data | is the function to which to apply |
Reimplemented from Rule.
◆ clone()
Clone the Rule.
If this Rule is a member of one of the groups in the grouplist, this returns a clone of the Rule, otherwise NULL is returned.
- Parameters
-
grouplist | is the list of groups being cloned |
- Returns
- the cloned Rule or NULL
Implements Rule.
◆ getOpList()
void RuleIndirectCollapse::getOpList |
( |
vector< uint4 > & |
oplist | ) |
const |
|
virtual |
List of op codes this rule operates on.
Populate the given array with all possible OpCodes this Rule might apply to. By default, this method returns all possible OpCodes
- Parameters
-
oplist | is the array to populate |
Reimplemented from Rule.
The documentation for this class was generated from the following files: