LLVM 20.0.0git
|
This file contains the implementation of empty blocks garbage collection pass. More...
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/InitializePasses.h"
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 | |
This file contains the implementation of empty blocks garbage collection pass.
Definition in file GCEmptyBasicBlocks.cpp.
#define DEBUG_TYPE "gc-empty-basic-blocks" |
Definition at line 26 of file GCEmptyBasicBlocks.cpp.
INITIALIZE_PASS | ( | GCEmptyBasicBlocks | , |
"gc-empty-basic-blocks" | , | ||
"Removes empty basic blocks and redirects their uses to their " "fallthrough blocks." | , | ||
false | , | ||
false | |||
) |
Definition at line 93 of file GCEmptyBasicBlocks.cpp.
STATISTIC | ( | NumEmptyBlocksRemoved | , |
"Number of empty blocks removed" | |||
) |