|
LLVM
7.0.0
|
#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/ScopedHashTable.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/Passes.h"#include "llvm/CodeGen/TargetInstrInfo.h"#include "llvm/CodeGen/TargetOpcodes.h"#include "llvm/CodeGen/TargetRegisterInfo.h"#include "llvm/CodeGen/TargetSubtargetInfo.h"#include "llvm/MC/MCInstrDesc.h"#include "llvm/MC/MCRegisterInfo.h"#include "llvm/Pass.h"#include "llvm/Support/Allocator.h"#include "llvm/Support/Debug.h"#include "llvm/Support/RecyclingAllocator.h"#include "llvm/Support/raw_ostream.h"#include <cassert>#include <iterator>#include <utility>#include <vector>Go to the source code of this file.
Macros | |
| #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, DEBUG_TYPE, "Machine Common Subexpression Elimination", false, false) INITIALIZE_PASS_END(MachineCSE | |
Variables | |
| DEBUG_TYPE | |
| Machine Common Subexpression | Elimination |
| Machine Common Subexpression | false |
| #define DEBUG_TYPE "machine-cse" |
Definition at line 49 of file MachineCSE.cpp.
| INITIALIZE_PASS_BEGIN | ( | MachineCSE | , |
| DEBUG_TYPE | , | ||
| "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" | |||
| ) |
| DEBUG_TYPE |
Definition at line 140 of file MachineCSE.cpp.
| Machine Common Subexpression Elimination |
Definition at line 140 of file MachineCSE.cpp.
| Machine Common Subexpression false |
Definition at line 140 of file MachineCSE.cpp.
1.8.13