ΒΆllvm::BasicBlock* splitBB(
    llvm::IRBuilderBase& Builder,
    bool CreateBranch,
    llvm::Twine Name = {})

Description

Split a BasicBlock at \p Builder's insertion point, even if the block is degenerate (missing the terminator). Its new insert location will stick to after the instruction before the insertion point (instead of moving with the instruction the InsertPoint stores internally).

Declared at: llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h:59

Parameters

llvm::IRBuilderBase& Builder
bool CreateBranch
llvm::Twine Name = {}