SplitBlock overloads
Declared in <llvm/Transforms/Utils/BasicBlockUtils.h>
Split a block so instructions from SplitPt move to a new successor.
BasicBlock*
SplitBlock(
BasicBlock* Old,
BasicBlock::iterator SplitPt,
DomTreeUpdater* DTU = nullptr,
LoopInfo* LI = nullptr,
MemorySSAUpdater* MSSAU = nullptr,
Twine const& BBName = "");
» more...
Split a block so instructions from SplitPt move to a new successor.
BasicBlock*
SplitBlock(
BasicBlock* Old,
BasicBlock::iterator SplitPt,
DominatorTree* DT,
LoopInfo* LI = nullptr,
MemorySSAUpdater* MSSAU = nullptr,
Twine const& BBName = "");
» more...
Split a block at an instruction using a dominator-tree updater.
BasicBlock*
SplitBlock(
BasicBlock* Old,
Instruction* SplitPt,
DomTreeUpdater* DTU = nullptr,
LoopInfo* LI = nullptr,
MemorySSAUpdater* MSSAU = nullptr,
Twine const& BBName = "");
» more...
Split a block at an instruction using a dominator tree.
BasicBlock*
SplitBlock(
BasicBlock* Old,
Instruction* SplitPt,
DominatorTree* DT,
LoopInfo* LI = nullptr,
MemorySSAUpdater* MSSAU = nullptr,
Twine const& BBName = "");
» more...
The newly created successor block containing instructions from SplitPt onward.
| Name | Description |
|---|---|
| Old | Block to split. |
| SplitPt | First instruction moved into the new block. |
| DTU | Optional dominator-tree updater for CFG changes. |
| LI | Optional loop info to update. |
| MSSAU | Optional MemorySSA updater for the split. |
| BBName | Optional name for the newly created block. |
| DT | Dominator tree to update. |