llvm::createGCEmptyBasicBlocksLegacyPass

createGCEmptyBasicblocksPass - Empty basic blocks (basic blocks without real code) appear as the result of optimization passes removing instructions. These blocks confuscate profile analysis (e.g., basic block sections) since they will share the address of their fallthrough blocks. This pass garbage-collects such basic blocks.

Synopsis

Declared in <llvm/CodeGen/Passes.h>

MachineFunctionPass*
createGCEmptyBasicBlocksLegacyPass();

Return Value

MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of passes that operate on the MachineFunction representation. Instead of overriding runOnFunction, subclasses override runOnMachineFunction.