|
LLVM
5.0.0
|
#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineLoopInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/MachineTraceMetrics.h"#include "llvm/CodeGen/Passes.h"#include "llvm/CodeGen/TargetSchedule.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "machine-combiner" |
Enumerations | |
| enum | CombinerObjective { CombinerObjective::MustReduceDepth, CombinerObjective::Default } |
| The combiner's goal may differ based on which pattern it is attempting to optimize. More... | |
Functions | |
| STATISTIC (NumInstCombined,"Number of machineinst combined") | |
| INITIALIZE_PASS_BEGIN (MachineCombiner, DEBUG_TYPE,"Machine InstCombiner", false, false) INITIALIZE_PASS_END(MachineCombiner | |
| static CombinerObjective | getCombinerObjective (MachineCombinerPattern P) |
| static void | insertDeleteInstructions (MachineBasicBlock *MBB, MachineInstr &MI, SmallVector< MachineInstr *, 16 > InsInstrs, SmallVector< MachineInstr *, 16 > DelInstrs, MachineTraceMetrics *Traces) |
Variables | |
| DEBUG_TYPE | |
| Machine | InstCombiner |
| Machine | false |
| #define DEBUG_TYPE "machine-combiner" |
Definition at line 33 of file MachineCombiner.cpp.
|
strong |
The combiner's goal may differ based on which pattern it is attempting to optimize.
| Enumerator | |
|---|---|
| MustReduceDepth | |
| Default | |
Definition at line 220 of file MachineCombiner.cpp.
|
static |
Definition at line 225 of file MachineCombiner.cpp.
References Default, MustReduceDepth, llvm::REASSOC_AX_BY, llvm::REASSOC_AX_YB, llvm::REASSOC_XA_BY, and llvm::REASSOC_XA_YB.
| INITIALIZE_PASS_BEGIN | ( | MachineCombiner | , |
| DEBUG_TYPE | , | ||
| "Machine InstCombiner" | , | ||
| false | , | ||
| false | |||
| ) |
|
static |
Definition at line 357 of file MachineCombiner.cpp.
References llvm::MachineBasicBlock::insert(), llvm::MachineTraceMetrics::invalidate(), and llvm::MachineTraceMetrics::verifyAnalysis().
| STATISTIC | ( | NumInstCombined | , |
| "Number of machineinst combined" | |||
| ) |
| DEBUG_TYPE |
Definition at line 93 of file MachineCombiner.cpp.
| Machine false |
Definition at line 93 of file MachineCombiner.cpp.
Definition at line 93 of file MachineCombiner.cpp.
1.8.6