mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Change the interface for getting a target HazardRecognizer to be more clean.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -62,9 +62,9 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
/// GetTargetHazardRecognizer - Return the hazard recognizer to use for this
|
||||
/// target when scheduling the DAG.
|
||||
virtual HazardRecognizer &GetTargetHazardRecognizer();
|
||||
/// CreateTargetHazardRecognizer - Return a newly allocated hazard recognizer
|
||||
/// to use for this target when scheduling the DAG.
|
||||
virtual HazardRecognizer *CreateTargetHazardRecognizer();
|
||||
|
||||
protected:
|
||||
/// Pick a safe ordering and emit instructions for each target node in the
|
||||
|
Reference in New Issue
Block a user