summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2011-12-02 04:58:02 +0000
committerHal Finkel <hfinkel@anl.gov>2011-12-02 04:58:02 +0000
commit58ca3600817a2f930c9167a423578b6c5189f96b (patch)
treed323e9235ab879653c88b29d757f0d029c22dc38 /llvm/lib/Target/PowerPC/PPCSubtarget.h
parent596ab8ee08fd9780253353a2860cef212506d665 (diff)
downloadbcm5719-llvm-58ca3600817a2f930c9167a423578b6c5189f96b.tar.gz
bcm5719-llvm-58ca3600817a2f930c9167a423578b6c5189f96b.zip
update PPC 940 hazard rec. to function in postRA mode
llvm-svn: 145676
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index d2b853d7095..62b2424d82c 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -148,6 +148,10 @@ public:
bool isDarwinABI() const { return isDarwin(); }
bool isSVR4ABI() const { return !isDarwin(); }
+ /// enablePostRAScheduler - True at 'More' optimization.
+ bool enablePostRAScheduler(CodeGenOpt::Level OptLevel,
+ TargetSubtargetInfo::AntiDepBreakMode& Mode,
+ RegClassVector& CriticalPathRCs) const;
};
} // End llvm namespace
OpenPOWER on IntegriCloud