aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-10-26 22:31:16 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-10-26 22:31:16 +0000
commite10deca33e74a7c70ab585f78eee3fb52937f668 (patch)
tree040756b08ba58b1bd3d181e4fee5cb2d662925ec /include/llvm/CodeGen
parent06d4033a354115904e9df23608f9a7cd543d5dbc (diff)
Allow the aggressive anti-dep breaker to process the same region multiple times. This is necessary because new anti-dependencies are exposed when "current" ones are broken.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/AntiDepBreaker.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AntiDepBreaker.h b/include/llvm/CodeGen/AntiDepBreaker.h
index af45eb9b2f..dac700076a 100644
--- a/include/llvm/CodeGen/AntiDepBreaker.h
+++ b/include/llvm/CodeGen/AntiDepBreaker.h
@@ -31,6 +31,10 @@ class AntiDepBreaker {
public:
virtual ~AntiDepBreaker();
+ /// GetMaxTrials - Return the maximum number of anti-dependence
+ /// breaking attempts that will be made for a block.
+ virtual unsigned GetMaxTrials() =0;
+
/// Start - Initialize anti-dep breaking for a new basic block.
virtual void StartBlock(MachineBasicBlock *BB) =0;