Skip to content

Commit f376f39

Browse files
authored
Update BasicBlock.h
1 parent 9a3874b commit f376f39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/IR/BasicBlock.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ class BasicBlock final : public Value, // Basic blocks are data objects also
126126
/// BasicBlock has PHINode
127127
bool hasPHINode();
128128

129+
// Transform BlockA->BlockB to BlockA->BlockStub->BlockB
130+
BasicBlock *createStubBlock(BasicBlock *BlockA, BasicBlock *BlockB);
131+
129132
/// Get the context in which this basic block lives.
130133
LLVMContext &getContext() const;
131134

0 commit comments

Comments
 (0)