| 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 // This file declares the TargetLowering and LoweringContext | 10 // This file declares the TargetLowering and LoweringContext |
| 11 // classes. TargetLowering is an abstract class used to drive the | 11 // classes. TargetLowering is an abstract class used to drive the |
| 12 // translation/lowering process. LoweringContext maintains a | 12 // translation/lowering process. LoweringContext maintains a |
| 13 // context for lowering each instruction, offering conveniences such | 13 // context for lowering each instruction, offering conveniences such |
| 14 // as iterating over non-deleted instructions. | 14 // as iterating over non-deleted instructions. |
| 15 // | 15 // |
| 16 //===----------------------------------------------------------------------===// | 16 //===----------------------------------------------------------------------===// |
| 17 | 17 |
| 18 #ifndef SUBZERO_SRC_ICETARGETLOWERING_H | 18 #ifndef SUBZERO_SRC_ICETARGETLOWERING_H |
| 19 #define SUBZERO_SRC_ICETARGETLOWERING_H | 19 #define SUBZERO_SRC_ICETARGETLOWERING_H |
| 20 | 20 |
| 21 #include "IceDefs.h" | 21 #include "IceDefs.h" |
| 22 #include "IceInst.h" // for the names of the Inst subtypes |
| 22 #include "IceTypes.h" | 23 #include "IceTypes.h" |
| 23 | 24 |
| 24 #include "IceInst.h" // for the names of the Inst subtypes | |
| 25 | |
| 26 namespace Ice { | 25 namespace Ice { |
| 27 | 26 |
| 28 class Assembler; | 27 class Assembler; |
| 29 | 28 |
| 30 // LoweringContext makes it easy to iterate through non-deleted | 29 // LoweringContext makes it easy to iterate through non-deleted |
| 31 // instructions in a node, and insert new (lowered) instructions at | 30 // instructions in a node, and insert new (lowered) instructions at |
| 32 // the current point. Along with the instruction list container and | 31 // the current point. Along with the instruction list container and |
| 33 // associated iterators, it holds the current node, which is needed | 32 // associated iterators, it holds the current node, which is needed |
| 34 // when inserting new instructions in order to track whether variables | 33 // when inserting new instructions in order to track whether variables |
| 35 // are used as single-block or multi-block. | 34 // are used as single-block or multi-block. |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 private: | 255 private: |
| 257 TargetGlobalInitLowering(const TargetGlobalInitLowering &) | 256 TargetGlobalInitLowering(const TargetGlobalInitLowering &) |
| 258 LLVM_DELETED_FUNCTION; | 257 LLVM_DELETED_FUNCTION; |
| 259 TargetGlobalInitLowering & | 258 TargetGlobalInitLowering & |
| 260 operator=(const TargetGlobalInitLowering &) LLVM_DELETED_FUNCTION; | 259 operator=(const TargetGlobalInitLowering &) LLVM_DELETED_FUNCTION; |
| 261 }; | 260 }; |
| 262 | 261 |
| 263 } // end of namespace Ice | 262 } // end of namespace Ice |
| 264 | 263 |
| 265 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 264 #endif // SUBZERO_SRC_ICETARGETLOWERING_H |
| OLD | NEW |