| OLD | NEW |
| 1 //===- subzero/src/IceGlobalInits.h - Global declarations -------*- C++ -*-===// | 1 //===- subzero/src/IceGlobalInits.h - Global declarations -------*- 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 representation of function declarations, | 11 /// This file declares the representation of function declarations, |
| 12 /// global variable declarations, and the corresponding variable | 12 /// global variable declarations, and the corresponding variable |
| 13 /// initializers in Subzero. Global variable initializers are | 13 /// initializers in Subzero. Global variable initializers are |
| 14 /// represented as a sequence of simple initializers. | 14 /// represented as a sequence of simple initializers. |
| 15 /// | 15 /// |
| 16 //===----------------------------------------------------------------------===// | 16 //===----------------------------------------------------------------------===// |
| 17 | 17 |
| 18 #ifndef SUBZERO_SRC_ICEGLOBALINITS_H | 18 #ifndef SUBZERO_SRC_ICEGLOBALINITS_H |
| 19 #define SUBZERO_SRC_ICEGLOBALINITS_H | 19 #define SUBZERO_SRC_ICEGLOBALINITS_H |
| 20 | 20 |
| 21 #include "IceDefs.h" | 21 #include "IceDefs.h" |
| 22 #include "IceGlobalContext.h" | 22 #include "IceGlobalContext.h" |
| 23 #include "IceTypes.h" | 23 #include "IceTypes.h" |
| 24 | 24 |
| 25 #pragma clang diagnostic push | 25 #pragma clang diagnostic push |
| 26 #pragma clang diagnostic ignored "-Wunused-parameter" | 26 #pragma clang diagnostic ignored "-Wunused-parameter" |
| 27 #pragma clang diagnostic ignored "-Wredundant-move" |
| 27 #include "llvm/Bitcode/NaCl/NaClBitcodeParser.h" // for NaClBitcodeRecord. | 28 #include "llvm/Bitcode/NaCl/NaClBitcodeParser.h" // for NaClBitcodeRecord. |
| 28 #include "llvm/IR/CallingConv.h" | 29 #include "llvm/IR/CallingConv.h" |
| 29 #include "llvm/IR/GlobalValue.h" // for GlobalValue::LinkageTypes. | 30 #include "llvm/IR/GlobalValue.h" // for GlobalValue::LinkageTypes. |
| 30 #pragma clang diagnostic pop | 31 #pragma clang diagnostic pop |
| 31 | 32 |
| 32 #include <memory> | 33 #include <memory> |
| 33 #include <utility> | 34 #include <utility> |
| 34 | 35 |
| 35 // TODO(kschimpf): Remove ourselves from using LLVM representation for calling | 36 // TODO(kschimpf): Remove ourselves from using LLVM representation for calling |
| 36 // conventions and linkage types. | 37 // conventions and linkage types. |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 template <class StreamType> | 353 template <class StreamType> |
| 353 inline StreamType &operator<<(StreamType &Stream, | 354 inline StreamType &operator<<(StreamType &Stream, |
| 354 const GlobalDeclaration &Addr) { | 355 const GlobalDeclaration &Addr) { |
| 355 Addr.dump(Stream); | 356 Addr.dump(Stream); |
| 356 return Stream; | 357 return Stream; |
| 357 } | 358 } |
| 358 | 359 |
| 359 } // end of namespace Ice | 360 } // end of namespace Ice |
| 360 | 361 |
| 361 #endif // SUBZERO_SRC_ICEGLOBALINITS_H | 362 #endif // SUBZERO_SRC_ICEGLOBALINITS_H |
| OLD | NEW |