Move instructions, in an order‐preserving manner, from FromBB to the beginning of ToBB when proven safe.
Synopsis
Declared in <llvm/Transforms/Utils/CodeMoverUtils.h>
void
moveInstructionsToTheBeginning(
BasicBlock& FromBB,
BasicBlock& ToBB,
DominatorTree& DT,
PostDominatorTree const& PDT,
DependenceInfo& DI,
ScalarEvolution& SE);
Parameters
Name |
Description |
FromBB |
Block whose safe instructions are moved. |
ToBB |
Destination block that receives the moved instructions. |
DT |
Dominator tree for the function. |
PDT |
Post‐dominator tree for the function. |
DI |
Dependence information used for safety checks. |
SE |
Scalar evolution analysis invalidated for moved values. |
Created with MrDocs