OSDN Git Service

Change MCSchedModel to be a struct of statically initialized data.
authorPete Cooper <peter_cooper@apple.com>
Tue, 2 Sep 2014 17:43:54 +0000 (17:43 +0000)
committerPete Cooper <peter_cooper@apple.com>
Tue, 2 Sep 2014 17:43:54 +0000 (17:43 +0000)
commit6de6c6aae484734f0b2b6508afabcc7b840cf4a6
treec3a702f793e718fb06cd5c633fa7f805d1be1184
parentac31076b11371f3dc48f563698086205a2db3fc9
Change MCSchedModel to be a struct of statically initialized data.

This removes static initializers from the backends which generate this data, and also makes this struct match the other Tablegen generated structs in behaviour

Reviewed by Andy Trick and Chandler C

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216919 91177308-0d34-0410-b5e6-96231b3b80d8
23 files changed:
include/llvm/CodeGen/TargetSchedule.h
include/llvm/MC/MCInstrItineraries.h
include/llvm/MC/MCSchedule.h
include/llvm/MC/MCSubtargetInfo.h
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/BasicTargetTransformInfo.cpp
lib/CodeGen/EarlyIfConversion.cpp
lib/CodeGen/IfConversion.cpp
lib/CodeGen/MachineCombiner.cpp
lib/CodeGen/MachineTraceMetrics.cpp
lib/CodeGen/ScheduleDAGInstrs.cpp
lib/CodeGen/ScoreboardHazardRecognizer.cpp
lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
lib/CodeGen/TargetInstrInfo.cpp
lib/CodeGen/TargetSchedule.cpp
lib/MC/MCDisassembler/Disassembler.cpp
lib/MC/MCSubtargetInfo.cpp
lib/Target/AArch64/AArch64ConditionalCompares.cpp
lib/Target/AArch64/AArch64StorePairSuppress.cpp
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/TargetSubtargetInfo.cpp
utils/TableGen/SubtargetEmitter.cpp