OLD | NEW |
1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// | 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 /// | 9 /// |
10 /// \file | 10 /// \file |
11 /// This file declares the TargetLowering, LoweringContext, and | 11 /// \brief Declares the TargetLowering, LoweringContext, and TargetDataLowering |
12 /// TargetDataLowering classes. TargetLowering is an abstract class used to | 12 /// classes. |
13 /// drive the translation/lowering process. LoweringContext maintains a context | 13 /// |
14 /// for lowering each instruction, offering conveniences such as iterating over | 14 /// TargetLowering is an abstract class used to drive the translation/lowering |
15 /// non-deleted instructions. TargetDataLowering is an abstract class used to | 15 /// process. LoweringContext maintains a context for lowering each instruction, |
16 /// drive the lowering/emission of global initializers, external global | 16 /// offering conveniences such as iterating over non-deleted instructions. |
17 /// declarations, and internal constant pools. | 17 /// TargetDataLowering is an abstract class used to drive the lowering/emission |
| 18 /// of global initializers, external global declarations, and internal constant |
| 19 /// pools. |
18 /// | 20 /// |
19 //===----------------------------------------------------------------------===// | 21 //===----------------------------------------------------------------------===// |
20 | 22 |
21 #ifndef SUBZERO_SRC_ICETARGETLOWERING_H | 23 #ifndef SUBZERO_SRC_ICETARGETLOWERING_H |
22 #define SUBZERO_SRC_ICETARGETLOWERING_H | 24 #define SUBZERO_SRC_ICETARGETLOWERING_H |
23 | 25 |
24 #include "IceDefs.h" | 26 #include "IceDefs.h" |
25 #include "IceInst.h" // for the names of the Inst subtypes | 27 #include "IceInst.h" // for the names of the Inst subtypes |
26 #include "IceOperand.h" | 28 #include "IceOperand.h" |
27 #include "IceTypes.h" | 29 #include "IceTypes.h" |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 virtual void lower() {} | 470 virtual void lower() {} |
469 | 471 |
470 protected: | 472 protected: |
471 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} | 473 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} |
472 GlobalContext *Ctx; | 474 GlobalContext *Ctx; |
473 }; | 475 }; |
474 | 476 |
475 } // end of namespace Ice | 477 } // end of namespace Ice |
476 | 478 |
477 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 479 #endif // SUBZERO_SRC_ICETARGETLOWERING_H |
OLD | NEW |