//===- InstrScheduling.cpp - Generic Instruction Scheduling support -------===//// // The LLVM Compiler Infrastructure//// This file was developed by the LLVM research group and is distributed under// the University of Illinois Open Source License. See LICENSE.TXT for details.// //===----------------------------------------------------------------------===////// This file implements the llvm/CodeGen/InstrScheduling.h interface, along with// generic support routines for instruction scheduling.////===----------------------------------------------------------------------===//#include"SchedPriorities.h"#include"llvm/BasicBlock.h"#include"llvm/CodeGen/MachineInstr.h"#include"llvm/CodeGen/MachineFunction.h"#include"llvm/Target/TargetMachine.h"#include"../../Target/SparcV9/MachineCodeForInstruction.h"#include"../../Target/SparcV9/LiveVar/FunctionLiveVarInfo.h"#include"../../Target/SparcV9/SparcV9InstrInfo.h"#include"llvm/Support/CommandLine.h"#include<algorithm>#include<iostream>namespacellvm{SchedDebugLevel_tSchedDebugLevel;staticcl::opt<bool>EnableFillingDelaySlots("sched-fill-delay-slots"