LLVM API Documentation
#include "llvm/CodeGen/Passes.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/ScopedHashTable.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/Statistic.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Support/RecyclingAllocator.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "machine-cse" |
Functions | |
| STATISTIC (NumCoalesces,"Number of copies coalesced") | |
| STATISTIC (NumCSEs,"Number of common subexpression eliminated") | |
| STATISTIC (NumPhysCSEs,"Number of physreg referencing common subexpr eliminated") | |
| STATISTIC (NumCrossBBCSEs,"Number of cross-MBB physreg referencing CS eliminated") | |
| STATISTIC (NumCommutes,"Number of copies coalesced after commuting") | |
| INITIALIZE_PASS_BEGIN (MachineCSE,"machine-cse","Machine Common Subexpression Elimination", false, false) INITIALIZE_PASS_END(MachineCSE | |
Variables | |
| machine | cse |
| machine Machine Common Subexpression | Elimination |
| machine Machine Common Subexpression | false |
| #define DEBUG_TYPE "machine-cse" |
Definition at line 31 of file MachineCSE.cpp.
| INITIALIZE_PASS_BEGIN | ( | MachineCSE | , |
| "machine-cse" | , | ||
| "Machine Common Subexpression Elimination" | , | ||
| false | , | ||
| false | |||
| ) |
| STATISTIC | ( | NumCoalesces | , |
| "Number of copies coalesced" | |||
| ) |
| STATISTIC | ( | NumCSEs | , |
| "Number of common subexpression eliminated" | |||
| ) |
| STATISTIC | ( | NumPhysCSEs | , |
| "Number of physreg referencing common subexpr eliminated" | |||
| ) |
| STATISTIC | ( | NumCrossBBCSEs | , |
| "Number of cross-MBB physreg referencing CS eliminated" | |||
| ) |
| STATISTIC | ( | NumCommutes | , |
| "Number of copies coalesced after commuting" | |||
| ) |
| machine cse |
Definition at line 114 of file MachineCSE.cpp.
| machine Machine Common Subexpression Elimination |
Definition at line 114 of file MachineCSE.cpp.
Definition at line 114 of file MachineCSE.cpp.