OLD | NEW |
1 //===- subzero/src/IceAssembler.h - Integrated assembler --------*- C++ -*-===// | 1 //===- subzero/src/IceAssembler.h - Integrated assembler --------*- C++ -*-===// |
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
5 // | 5 // |
6 // Modified by the Subzero authors. | 6 // Modified by the Subzero authors. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // The Subzero Code Generator | 10 // The Subzero Code Generator |
11 // | 11 // |
12 // This file is distributed under the University of Illinois Open Source | 12 // This file is distributed under the University of Illinois Open Source |
13 // License. See LICENSE.TXT for details. | 13 // License. See LICENSE.TXT for details. |
14 // | 14 // |
15 //===----------------------------------------------------------------------===// | 15 //===----------------------------------------------------------------------===// |
16 /// | 16 /// |
17 /// \file | 17 /// \file |
18 /// This file declares the Assembler base class. Instructions are assembled by | 18 /// \brief Declares the Assembler base class. |
19 /// architecture-specific assemblers that derive from this base class. This base | 19 /// |
20 /// class manages buffers and fixups for emitting code, etc. | 20 /// Instructions are assembled by architecture-specific assemblers that derive |
| 21 /// from this base class. This base class manages buffers and fixups for |
| 22 /// emitting code, etc. |
21 /// | 23 /// |
22 //===----------------------------------------------------------------------===// | 24 //===----------------------------------------------------------------------===// |
23 | 25 |
24 #ifndef SUBZERO_SRC_ICEASSEMBLER_H | 26 #ifndef SUBZERO_SRC_ICEASSEMBLER_H |
25 #define SUBZERO_SRC_ICEASSEMBLER_H | 27 #define SUBZERO_SRC_ICEASSEMBLER_H |
26 | 28 |
27 #include "IceDefs.h" | 29 #include "IceDefs.h" |
28 #include "IceFixups.h" | 30 #include "IceFixups.h" |
29 #include "IceUtils.h" | 31 #include "IceUtils.h" |
30 | 32 |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 protected: | 350 protected: |
349 // Buffer's constructor uses the Allocator, so it needs to appear after it. | 351 // Buffer's constructor uses the Allocator, so it needs to appear after it. |
350 // TODO(jpp): dependencies on construction order are a nice way of shooting | 352 // TODO(jpp): dependencies on construction order are a nice way of shooting |
351 // yourself in the foot. Fix this. | 353 // yourself in the foot. Fix this. |
352 AssemblerBuffer Buffer; | 354 AssemblerBuffer Buffer; |
353 }; | 355 }; |
354 | 356 |
355 } // end of namespace Ice | 357 } // end of namespace Ice |
356 | 358 |
357 #endif // SUBZERO_SRC_ICEASSEMBLER_H_ | 359 #endif // SUBZERO_SRC_ICEASSEMBLER_H_ |
OLD | NEW |