misched: Use the TargetSchedModel interface wherever possible.
authorAndrew Trick <atrick@apple.com>
Wed, 10 Oct 2012 05:43:09 +0000 (05:43 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 10 Oct 2012 05:43:09 +0000 (05:43 +0000)
commitdd79f0fcea50317933a1f4645b94da285a6675d9
treef4891a4267d6215bb61c0e49acc26746351510cf
parent8e9c1d8998dc0983133b7e261997352993bceebf
misched: Use the TargetSchedModel interface wherever possible.

Allows the new machine model to be used for NumMicroOps and OutputLatency.

Allows the HazardRecognizer to be disabled along with itineraries.

llvm-svn: 165603
12 files changed:
llvm/include/llvm/CodeGen/MachineScheduler.h
llvm/include/llvm/CodeGen/ScheduleDAG.h
llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
llvm/include/llvm/CodeGen/TargetSchedule.h
llvm/include/llvm/Target/TargetInstrInfo.h
llvm/lib/CodeGen/MachineScheduler.cpp
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
llvm/lib/CodeGen/TargetSchedule.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.h
llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
llvm/lib/Target/Hexagon/HexagonMachineScheduler.h