LLVM 20.0.0git
|
#include "llvm/CodeGen/VLIWMachineScheduler.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/DFAPacketizer.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/RegisterClassInfo.h"
#include "llvm/CodeGen/RegisterPressure.h"
#include "llvm/CodeGen/ScheduleDAG.h"
#include "llvm/CodeGen/ScheduleHazardRecognizer.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetOpcodes.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSchedule.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <iomanip>
#include <limits>
#include <memory>
#include <sstream>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "machine-scheduler" |
Functions | |
static bool | isSingleUnscheduledPred (SUnit *SU, SUnit *SU2) |
isSingleUnscheduledPred - If SU2 is the only unscheduled predecessor of SU, return true (we may have duplicates) | |
static bool | isSingleUnscheduledSucc (SUnit *SU, SUnit *SU2) |
isSingleUnscheduledSucc - If SU2 is the only unscheduled successor of SU, return true (we may have duplicates) | |
Variables | |
static cl::opt< bool > | IgnoreBBRegPressure ("ignore-bb-reg-pressure", cl::Hidden, cl::init(false)) |
static cl::opt< bool > | UseNewerCandidate ("use-newer-candidate", cl::Hidden, cl::init(true)) |
static cl::opt< unsigned > | SchedDebugVerboseLevel ("misched-verbose-level", cl::Hidden, cl::init(1)) |
static cl::opt< bool > | CheckEarlyAvail ("check-early-avail", cl::Hidden, cl::init(true)) |
static cl::opt< float > | RPThreshold ("vliw-misched-reg-pressure", cl::Hidden, cl::init(0.75f), cl::desc("High register pressure threhold.")) |
#define DEBUG_TYPE "machine-scheduler" |
Definition at line 42 of file VLIWMachineScheduler.cpp.
isSingleUnscheduledPred - If SU2 is the only unscheduled predecessor of SU, return true (we may have duplicates)
Definition at line 545 of file VLIWMachineScheduler.cpp.
References llvm::SUnit::NumPredsLeft, and llvm::SUnit::Preds.
Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().
isSingleUnscheduledSucc - If SU2 is the only unscheduled successor of SU, return true (we may have duplicates)
Definition at line 560 of file VLIWMachineScheduler.cpp.
References llvm::SUnit::NumSuccsLeft, and llvm::SUnit::Succs.
Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().
|
static |
Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().
|
static |
Referenced by llvm::ConvergingVLIWScheduler::SchedulingCost().
|
static |
Referenced by llvm::ConvergingVLIWScheduler::initialize().
|
static |
Referenced by llvm::ConvergingVLIWScheduler::pickNodeFromQueue().
|
static |
Referenced by llvm::ConvergingVLIWScheduler::pickNodeFromQueue().