ΒΆMachineBasicBlock::iterator
findPHICopyInsertPoint(
    llvm::MachineBasicBlock* MBB,
    llvm::MachineBasicBlock* SuccMBB,
    unsigned int SrcReg)

Description

findPHICopyInsertPoint - Find a safe place in MBB to insert a copy from SrcReg when following the CFG edge to SuccMBB. This needs to be after any def of SrcReg, but before any subsequent point where control flow might jump out of the basic block.

Declared at: llvm/lib/CodeGen/PHIEliminationUtils.h:20

Parameters

llvm::MachineBasicBlock* MBB
llvm::MachineBasicBlock* SuccMBB
unsigned int SrcReg