|
LLVM
5.0.0
|
#include "llvm/CodeGen/MacroFusion.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineScheduler.h"#include "llvm/CodeGen/ScheduleDAG.h"#include "llvm/CodeGen/ScheduleDAGMutation.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetInstrInfo.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "machine-scheduler" |
Functions | |
| STATISTIC (NumFused,"Number of instr pairs fused") | |
| static void | fuseInstructionPair (ScheduleDAGMI &DAG, SUnit &FirstSU, SUnit &SecondSU) |
Variables | |
| static cl::opt< bool > | EnableMacroFusion ("misched-fusion", cl::Hidden, cl::desc("Enable scheduling for macro fusion."), cl::init(true)) |
| #define DEBUG_TYPE "machine-scheduler" |
Definition at line 27 of file MacroFusion.cpp.
|
static |
Definition at line 36 of file MacroFusion.cpp.
References llvm::ScheduleDAGMI::addEdge(), llvm::SDep::Artificial, llvm::SDep::Cluster, llvm::dbgs(), DEBUG, llvm::ScheduleDAG::ExitSU, llvm::SUnit::getInstr(), llvm::MCInstrInfo::getName(), llvm::MachineFunction::getName(), llvm::MachineInstr::getOpcode(), llvm::SDep::getSUnit(), llvm::ScheduleDAG::MF, llvm::SUnit::Preds, llvm::SUnit::print(), llvm::SDep::setLatency(), SI, llvm::SUnit::Succs, and llvm::ScheduleDAG::TII.
| STATISTIC | ( | NumFused | , |
| "Number of instr pairs fused" | |||
| ) |
|
static |
Referenced by llvm::createBranchMacroFusionDAGMutation(), and llvm::createMacroFusionDAGMutation().
1.8.6