| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringX8632.cpp - x86-32 lowering -----------===// | 1 //===- subzero/src/IceTargetLoweringX8632.cpp - x86-32 lowering -----------===// |
| 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 TargetLoweringX8632 class, which | 10 // This file implements the TargetLoweringX8632 class, which |
| 11 // consists almost entirely of the lowering sequence for each | 11 // consists almost entirely of the lowering sequence for each |
| 12 // high-level instruction. | 12 // high-level instruction. |
| 13 // | 13 // |
| 14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 15 | 15 |
| 16 #include "llvm/Support/CommandLine.h" | 16 #include "llvm/Support/CommandLine.h" |
| 17 #include "llvm/Support/MathExtras.h" | 17 #include "llvm/Support/MathExtras.h" |
| 18 | 18 |
| 19 #include "IceCfg.h" | 19 #include "IceCfg.h" |
| 20 #include "IceCfgNode.h" | 20 #include "IceCfgNode.h" |
| 21 #include "IceClFlags.h" | 21 #include "IceClFlags.h" |
| 22 #include "IceDefs.h" | 22 #include "IceDefs.h" |
| 23 #include "IceELFObjectWriter.h" |
| 23 #include "IceGlobalInits.h" | 24 #include "IceGlobalInits.h" |
| 24 #include "IceInstX8632.h" | 25 #include "IceInstX8632.h" |
| 25 #include "IceLiveness.h" | 26 #include "IceLiveness.h" |
| 26 #include "IceOperand.h" | 27 #include "IceOperand.h" |
| 27 #include "IceRegistersX8632.h" | 28 #include "IceRegistersX8632.h" |
| 28 #include "IceTargetLoweringX8632.def" | 29 #include "IceTargetLoweringX8632.def" |
| 29 #include "IceTargetLoweringX8632.h" | 30 #include "IceTargetLoweringX8632.h" |
| 30 #include "IceUtils.h" | 31 #include "IceUtils.h" |
| 31 | 32 |
| 32 namespace Ice { | 33 namespace Ice { |
| (...skipping 4684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4717 } else if (IsConstant || IsExternal) | 4718 } else if (IsConstant || IsExternal) |
| 4718 Str << "\t.zero\t" << Size << "\n"; | 4719 Str << "\t.zero\t" << Size << "\n"; |
| 4719 // Size is part of .comm. | 4720 // Size is part of .comm. |
| 4720 | 4721 |
| 4721 if (IsConstant || HasNonzeroInitializer || IsExternal) | 4722 if (IsConstant || HasNonzeroInitializer || IsExternal) |
| 4722 Str << "\t.size\t" << MangledName << ", " << Size << "\n"; | 4723 Str << "\t.size\t" << MangledName << ", " << Size << "\n"; |
| 4723 // Size is part of .comm. | 4724 // Size is part of .comm. |
| 4724 } | 4725 } |
| 4725 | 4726 |
| 4726 } // end of namespace Ice | 4727 } // end of namespace Ice |
| OLD | NEW |