◆ get_orig_cfg()
◆ transform_basic_block()
Create a transformed version of the instructions in a basic block.
Note that an InstructionSequence "owns" the Instruction objects it contains, and is responsible for deleting them. Therefore, be careful to avoid having two InstructionSequences contain pointers to the same Instruction. If you need to make an exact copy of an Instruction object, you can do so using the duplicate() member function, as follows:
Instruction object type.
Definition: instruction.h:31
Instruction * duplicate() const
Return an exact duplicate of this Instruction.
Definition: instruction.h:69
- Parameters
-
| orig_bb | the original basic block |
- Returns
- shared pointer to the new basic block InstructionSequence
Implements ControlFlowGraphTransform.
◆ transform_cfg()
| std::shared_ptr< ControlFlowGraph > ControlFlowGraphTransform::transform_cfg |
( |
| ) |
|
|
virtualinherited |
The documentation for this class was generated from the following files: