Define more SchedWrites for annotating X86 instructions.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 16 Mar 2013 00:02:17 +0000 (00:02 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 16 Mar 2013 00:02:17 +0000 (00:02 +0000)
commite0c489d22b3152cf041255e339d8df45345ca8e4
tree556dbe217e60402cf20d88ec5c7b8f6fd9490a38
parent64110ffc9eecbe999c29ac9d9f6697447a110036
Define more SchedWrites for annotating X86 instructions.

Since almost all X86 instructions can fold loads, use a multiclass to
define register/memory pairs of SchedWrites.

An X86FoldableSchedWrite represents the register version of an
instruction. It holds a reference to the SchedWrite to use when the
instruction folds a load.

This will be used inside multiclasses that define rr and rm instruction
versions together.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177210 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86Schedule.td