Split a block and suffix the current block name for the new successor.

Synopsis

Declared in <llvm/Frontend/OpenMP/OMPIRBuilder.h>

BasicBlock*
splitBBWithSuffix(
    IRBuilderBase& Builder,
    bool CreateBranch,
    llvm::Twine Suffix = ".split");

Description

Like splitBB, but reuses the current block's name for the new name.

Return Value

The new successor basic block.

Parameters

Name

Description

Builder

IRBuilder whose insertion point marks the split location.

CreateBranch

When true, insert a branch to the new successor block.

Suffix

Suffix appended to the current block name for the successor.

Created with MrDocs