spliceBB overloads

Synopses

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

Splice a basic block at an IRBuilder insertion point.

void
spliceBB(
    IRBuilder<>& Builder,
    BasicBlock* New,
    bool CreateBranch);

Move instructions after an insertion point to the start of another block.

void
spliceBB(
    IRBuilderBase::InsertPoint IP,
    BasicBlock* New,
    bool CreateBranch,
    DebugLoc DL);

Parameters

Name

Description

Builder

IRBuilder whose insertion point marks the splice location.

New

Destination basic block receiving the moved instructions.

CreateBranch

When true, insert a branch from the source block to New.

IP

Insertion point whose trailing instructions are moved.

DL

Debug location for a created branch instruction.

Created with MrDocs