OLD | NEW |
---|---|
1 //===- subzero/src/IceGlobalContext.h - Global context defs -----*- C++ -*-===// | 1 //===- subzero/src/IceGlobalContext.h - Global context defs -----*- 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 aspects of the compilation that persist across multiple | 11 /// \brief Declares aspects of the compilation that persist across |
Jim Stichnoth
2015/12/01 18:41:16
Reflow to 80-col.
rkotlerimgtec
2015/12/02 01:32:48
Done.
| |
12 /// functions. | 12 /// multiple functions. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #ifndef SUBZERO_SRC_ICEGLOBALCONTEXT_H | 16 #ifndef SUBZERO_SRC_ICEGLOBALCONTEXT_H |
17 #define SUBZERO_SRC_ICEGLOBALCONTEXT_H | 17 #define SUBZERO_SRC_ICEGLOBALCONTEXT_H |
18 | 18 |
19 #include "IceDefs.h" | 19 #include "IceDefs.h" |
20 #include "IceClFlags.h" | 20 #include "IceClFlags.h" |
21 #include "IceIntrinsics.h" | 21 #include "IceIntrinsics.h" |
22 #include "IceRNG.h" | 22 #include "IceRNG.h" |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
602 explicit OstreamLocker(GlobalContext *Ctx) : Ctx(Ctx) { Ctx->lockStr(); } | 602 explicit OstreamLocker(GlobalContext *Ctx) : Ctx(Ctx) { Ctx->lockStr(); } |
603 ~OstreamLocker() { Ctx->unlockStr(); } | 603 ~OstreamLocker() { Ctx->unlockStr(); } |
604 | 604 |
605 private: | 605 private: |
606 GlobalContext *const Ctx; | 606 GlobalContext *const Ctx; |
607 }; | 607 }; |
608 | 608 |
609 } // end of namespace Ice | 609 } // end of namespace Ice |
610 | 610 |
611 #endif // SUBZERO_SRC_ICEGLOBALCONTEXT_H | 611 #endif // SUBZERO_SRC_ICEGLOBALCONTEXT_H |
OLD | NEW |