User defined callback to optimize microcode blocks.
More...
#include <hexrays.hpp>
User defined callback to optimize microcode blocks.
◆ ~optblock_t()
virtual optblock_t::~optblock_t |
( |
| ) |
|
|
inlinevirtual |
◆ func()
virtual int idaapi optblock_t::func |
( |
mblock_t * | blk | ) |
|
|
pure virtual |
Optimize a block.
This function usually performs the optimizations that require analyzing the entire block and/or its neighbors. For example it can recognize patterns and perform conversions like: b0: b0: ... ... jnz x, 0, @b2 => jnz x, 0, @b2 b1: b1: add x, 0, y mov x, y ... ...
- Parameters
-
blk | Basic block to optimize as a whole. |
- Returns
- number of changes made to the block. See also mark_lists_dirty.
The documentation for this struct was generated from the following file: