ΒΆvoid spliceBB(IRBuilderBase::InsertPoint IP,
llvm::BasicBlock* New,
bool CreateBranch)
void spliceBB(IRBuilderBase::InsertPoint IP,
llvm::BasicBlock* New,
bool CreateBranch)
Description
Move the instruction after an InsertPoint to the beginning of another BasicBlock. The instructions after \p IP are moved to the beginning of \p New which must not have any PHINodes. If \p CreateBranch is true, a branch instruction to\p New will be added such that there is no semantic change. Otherwise, the\p IP insert block remains degenerate and it is up to the caller to insert a terminator.
Declared at: llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h:34
Parameters
- IRBuilderBase::InsertPoint IP
- llvm::BasicBlock* New
- bool CreateBranch