splitBB overloads

Synopses

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

Split a basic block at an IRBuilder insertion point.

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

Split a basic block at an IRBuilder insertion point.

BasicBlock*
splitBB(
    IRBuilder<>& Builder,
    bool CreateBranch,
    llvm::Twine Name);

Split a basic block at an insertion point, even if it lacks a terminator.

BasicBlock*
splitBB(
    IRBuilderBase::InsertPoint IP,
    bool CreateBranch,
    DebugLoc DL,
    llvm::Twine 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.

Name

Optional name for the new successor block.

IP

Insertion point at which to split the block.

DL

Debug location for a created branch instruction.

Created with MrDocs