LLVM 22.0.0git
GCEmptyBasicBlocks.cpp File Reference

This file contains the implementation of empty blocks garbage collection pass. More...

Go to the source code of this file.

Classes

class  GCEmptyBasicBlocks

Macros

#define DEBUG_TYPE   "gc-empty-basic-blocks"

Functions

 STATISTIC (NumEmptyBlocksRemoved, "Number of empty blocks removed")
 INITIALIZE_PASS (GCEmptyBasicBlocks, "gc-empty-basic-blocks", "Removes empty basic blocks and redirects their uses to their " "fallthrough blocks.", false, false) MachineFunctionPass *llvm

Detailed Description

This file contains the implementation of empty blocks garbage collection pass.

Definition in file GCEmptyBasicBlocks.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "gc-empty-basic-blocks"

Definition at line 25 of file GCEmptyBasicBlocks.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( GCEmptyBasicBlocks ,
"gc-empty-basic-blocks" ,
"Removes empty basic blocks and redirects their uses to their " "fallthrough blocks." ,
false ,
false  )

Definition at line 92 of file GCEmptyBasicBlocks.cpp.

References llvm::createGCEmptyBasicBlocksPass().

◆ STATISTIC()

STATISTIC ( NumEmptyBlocksRemoved ,
"Number of empty blocks removed"  )