| 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 // This file implements the skeleton of the TargetLowering class, | 10 /// \file |
| 11 // specifically invoking the appropriate lowering method for a given | 11 /// This file implements the skeleton of the TargetLowering class, |
| 12 // instruction kind and driving global register allocation. It also | 12 /// specifically invoking the appropriate lowering method for a given |
| 13 // implements the non-deleted instruction iteration in | 13 /// instruction kind and driving global register allocation. It also |
| 14 // LoweringContext. | 14 /// implements the non-deleted instruction iteration in |
| 15 // | 15 /// LoweringContext. |
| 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() |
| 25 #include "IceCfgNode.h" | 26 #include "IceCfgNode.h" |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 if (Target == Target_##X) \ | 565 if (Target == Target_##X) \ |
| 565 return TargetHeader##X::create(Ctx); | 566 return TargetHeader##X::create(Ctx); |
| 566 #include "llvm/Config/SZTargets.def" | 567 #include "llvm/Config/SZTargets.def" |
| 567 | 568 |
| 568 llvm::report_fatal_error("Unsupported target header lowering"); | 569 llvm::report_fatal_error("Unsupported target header lowering"); |
| 569 } | 570 } |
| 570 | 571 |
| 571 TargetHeaderLowering::~TargetHeaderLowering() = default; | 572 TargetHeaderLowering::~TargetHeaderLowering() = default; |
| 572 | 573 |
| 573 } // end of namespace Ice | 574 } // end of namespace Ice |
| OLD | NEW |