Remove attribution from file headers, per discussion on llvmdev.
[oota-llvm.git] / lib / Target / CellSPU / SPUHazardRecognizers.h
1 //===-- SPUHazardRecognizers.h - Cell SPU Hazard Recognizer -----*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines hazard recognizers for scheduling on the Cell SPU
11 // processor.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef SPUHAZRECS_H
16 #define SPUHAZRECS_H
17
18 #include "llvm/CodeGen/ScheduleDAG.h"
19 #include "SPUInstrInfo.h"
20
21 namespace llvm {
22   
23 /// SPUHazardRecognizer
24 class SPUHazardRecognizer : public HazardRecognizer
25 {
26 private:
27   const TargetInstrInfo &TII;
28   int EvenOdd;
29
30 public:
31   SPUHazardRecognizer(const TargetInstrInfo &TII);
32   virtual HazardType getHazardType(SDNode *Node);
33   virtual void EmitInstruction(SDNode *Node);
34   virtual void AdvanceCycle();
35   virtual void EmitNoop();
36 };
37
38 } // end namespace llvm
39
40 #endif
41