| OLD | NEW |
| 1 //===- subzero/src/IceTargetLowering.cpp - Basic lowering implementation --===// | 1 //===- subzero/src/IceTargetLowering.cpp - Basic lowering implementation --===// |
| 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 implements the skeleton of the TargetLowering class, specifically | 11 /// \brief Implements the skeleton of the TargetLowering class. |
| 12 /// invoking the appropriate lowering method for a given instruction kind and | 12 /// |
| 13 /// driving global register allocation. It also implements the non-deleted | 13 /// Specifically this invokes the appropriate lowering method for a given |
| 14 /// instruction iteration in LoweringContext. | 14 /// instruction kind and driving global register allocation. It also implements |
| 15 /// the non-deleted instruction iteration in LoweringContext. |
| 15 /// | 16 /// |
| 16 //===----------------------------------------------------------------------===// | 17 //===----------------------------------------------------------------------===// |
| 17 | 18 |
| 18 #include "IceTargetLowering.h" | 19 #include "IceTargetLowering.h" |
| 19 | 20 |
| 20 #include "IceAssemblerARM32.h" | 21 #include "IceAssemblerARM32.h" |
| 21 #include "IceAssemblerMIPS32.h" | 22 #include "IceAssemblerMIPS32.h" |
| 22 #include "IceAssemblerX8632.h" | 23 #include "IceAssemblerX8632.h" |
| 23 #include "IceAssemblerX8664.h" | 24 #include "IceAssemblerX8664.h" |
| 24 #include "IceCfg.h" // setError() | 25 #include "IceCfg.h" // setError() |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 if (Target == Target_##X) \ | 665 if (Target == Target_##X) \ |
| 665 return TargetHeader##X::create(Ctx); | 666 return TargetHeader##X::create(Ctx); |
| 666 #include "llvm/Config/SZTargets.def" | 667 #include "llvm/Config/SZTargets.def" |
| 667 | 668 |
| 668 llvm::report_fatal_error("Unsupported target header lowering"); | 669 llvm::report_fatal_error("Unsupported target header lowering"); |
| 669 } | 670 } |
| 670 | 671 |
| 671 TargetHeaderLowering::~TargetHeaderLowering() = default; | 672 TargetHeaderLowering::~TargetHeaderLowering() = default; |
| 672 | 673 |
| 673 } // end of namespace Ice | 674 } // end of namespace Ice |
| OLD | NEW |