summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGISel.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-08-01 18:29:48 +0000
committerJim Laskey <jlaskey@mac.com>2006-08-01 18:29:48 +0000
commit9ff542f2cce5bf7bf3cf9f692cf3ec0690ad2b3b (patch)
tree1030dc0480cb653cffe5486e2ec55ad3a81c302d /include/llvm/CodeGen/SelectionDAGISel.h
parent2f2d32437a2bb55bb1dda4805a6ba743183f02a2 (diff)
downloadllvm-9ff542f2cce5bf7bf3cf9f692cf3ec0690ad2b3b.tar.gz
llvm-9ff542f2cce5bf7bf3cf9f692cf3ec0690ad2b3b.tar.bz2
llvm-9ff542f2cce5bf7bf3cf9f692cf3ec0690ad2b3b.tar.xz
1. Change use of "Cache" to "Default".
2. Added argument to instruction scheduler creators so the creators can do special things. 3. Repaired target hazard code. 4. Misc. More to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGISel.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h
index cd8e5f4989..78179c9e2a 100644
--- a/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/include/llvm/CodeGen/SelectionDAGISel.h
@@ -67,6 +67,10 @@ public:
/// folded during instruction selection?
virtual bool CanBeFoldedBy(SDNode *N, SDNode *U) { return true; }
+ /// CreateTargetHazardRecognizer - Return a newly allocated hazard recognizer
+ /// to use for this target when scheduling the DAG.
+ virtual HazardRecognizer *CreateTargetHazardRecognizer();
+
/// CaseBlock - This structure is used to communicate between SDLowering and
/// SDISel for the code generation of additional basic blocks needed by multi-
/// case switch statements.