ΒΆvoid guessSuccessors(
    const llvm::MachineBasicBlock& MBB,
    SmallVectorImpl<llvm::MachineBasicBlock*>&
        Result,
    bool& IsFallthrough)

Description

Determine a possible list of successors of a basic block based on the basic block machine operand being used inside the block. This should give you the correct list of successor blocks in most cases except for things like jump tables where the basic block references can't easily be found. The MIRPRinter will skip printing successors if they match the result of this funciton and the parser will use this function to construct a list if it is missing.

Declared at: llvm/include/llvm/CodeGen/MIRPrinter.h:39

Parameters

const llvm::MachineBasicBlock& MBB
SmallVectorImpl<llvm::MachineBasicBlock*>& Result
bool& IsFallthrough