mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Switch MachineTraceMetrics to the new TargetSchedModel interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165235 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/CodeGen/MachineFunctionPass.h"
|
||||
#include "llvm/CodeGen/TargetSchedule.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
@@ -67,9 +68,9 @@ class MachineTraceMetrics : public MachineFunctionPass {
|
||||
const MachineFunction *MF;
|
||||
const TargetInstrInfo *TII;
|
||||
const TargetRegisterInfo *TRI;
|
||||
const InstrItineraryData *ItinData;
|
||||
const MachineRegisterInfo *MRI;
|
||||
const MachineLoopInfo *Loops;
|
||||
TargetSchedModel SchedModel;
|
||||
|
||||
public:
|
||||
class Ensemble;
|
||||
|
Reference in New Issue
Block a user