ARM Scheduler Model: Add resources instructions, map resources in subtargets
authorArnold Schwaighofer <aschwaighofer@apple.com>
Mon, 1 Apr 2013 13:07:05 +0000 (13:07 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Mon, 1 Apr 2013 13:07:05 +0000 (13:07 +0000)
commit55097ff56765b9a1e41a7e676df764a8749bc81f
treeeb508691512aa35d79377b0c6f718a2e2373b2f2
parent13497b3aa7589fc4f9e924f850a7e5151e9ddd2f
ARM Scheduler Model: Add resources instructions, map resources in subtargets

Reapply r177968:
After commit 178074 we can now have undefined scheduler variants.

Move the CortexA9 resources into the CortexA9 SchedModel namespace. Define
resource mappings under the CortexA9 SchedModel. Define resources and mappings
for the SwiftModel.

Incooperate Andrew's feedback.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178460 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMSchedule.td
lib/Target/ARM/ARMScheduleA9.td
lib/Target/ARM/ARMScheduleSwift.td