diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-06-16 07:35:02 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-06-16 07:35:02 +0000 |
commit | 46df4eb46e784036cf895db271fe29e1cf2a975a (patch) | |
tree | 7a7225e258b7af507f92aec209f538b3bcf78671 /lib/CodeGen/CriticalAntiDepBreaker.h | |
parent | ffd33cd36494cf29a0b0c80f00ed1a51b599b31f (diff) | |
download | external_llvm-46df4eb46e784036cf895db271fe29e1cf2a975a.zip external_llvm-46df4eb46e784036cf895db271fe29e1cf2a975a.tar.gz external_llvm-46df4eb46e784036cf895db271fe29e1cf2a975a.tar.bz2 |
Make post-ra scheduling, anti-dep breaking, and register scavenger (conservatively) aware of predicated instructions. This enables ARM to move if-conversion before post-ra scheduler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CriticalAntiDepBreaker.h')
-rw-r--r-- | lib/CodeGen/CriticalAntiDepBreaker.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/CriticalAntiDepBreaker.h b/lib/CodeGen/CriticalAntiDepBreaker.h index cc42dd2..5406300 100644 --- a/lib/CodeGen/CriticalAntiDepBreaker.h +++ b/lib/CodeGen/CriticalAntiDepBreaker.h @@ -22,15 +22,18 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/ScheduleDAG.h" -#include "llvm/Target/TargetRegisterInfo.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/SmallSet.h" #include <map> namespace llvm { +class TargetInstrInfo; +class TargetRegisterInfo; + class CriticalAntiDepBreaker : public AntiDepBreaker { MachineFunction& MF; MachineRegisterInfo &MRI; + const TargetInstrInfo *TII; const TargetRegisterInfo *TRI; /// AllocatableSet - The set of allocatable registers. |