ΒΆvoid hoistAllInstructionsInto(
    llvm::BasicBlock* DomBlock,
    llvm::Instruction* InsertPt,
    llvm::BasicBlock* BB)

Description

Hoist all of the instructions in the \p IfBlock to the dominant block\p DomBlock, by moving its instructions to the insertion point \p InsertPt. The moved instructions receive the insertion point debug location values (DILocations) and their debug intrinsic instructions are removed.

Declared at: llvm/include/llvm/Transforms/Utils/Local.h:492

Parameters

llvm::BasicBlock* DomBlock
llvm::Instruction* InsertPt
llvm::BasicBlock* BB