|
LLVM
4.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,"machine-combiner","Machine InstCombiner", false, false) INITIALIZE_PASS_END(MachineCombiner | |
| static CombinerObjective | getCombinerObjective (MachineCombinerPattern P) |
Variables | |
| machine | combiner |
| machine Machine | InstCombiner |
| machine Machine | false |
| #define DEBUG_TYPE "machine-combiner" |
Definition at line 14 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 218 of file MachineCombiner.cpp.
|
static |
Definition at line 223 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 | , |
| "machine-combiner" | , | ||
| "Machine InstCombiner" | , | ||
| false | , | ||
| false | |||
| ) |
| STATISTIC | ( | NumInstCombined | , |
| "Number of machineinst combined" | |||
| ) |
| machine combiner |
Definition at line 93 of file MachineCombiner.cpp.
| machine Machine false |
Definition at line 93 of file MachineCombiner.cpp.
| machine Machine InstCombiner |
Definition at line 93 of file MachineCombiner.cpp.
1.8.6