OLD | NEW |
1 //===- subzero/src/IceAssemblerMIPS32.h - Assembler for MIPS ----*- C++ -*-===// | 1 //===- subzero/src/IceAssemblerMIPS32.h - Assembler for MIPS ----*- C++ -*-===// |
2 // | 2 // |
3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
6 // | 6 // |
7 // Modified by the Subzero authors. | 7 // Modified by the Subzero authors. |
8 // | 8 // |
9 //===----------------------------------------------------------------------===// | 9 //===----------------------------------------------------------------------===// |
10 // | 10 // |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // TODO(reed kotler) . Find out what this should be. | 55 // TODO(reed kotler) . Find out what this should be. |
56 static const uint8_t Padding[] = {0xE7, 0xFE, 0xDE, 0xF0}; | 56 static const uint8_t Padding[] = {0xE7, 0xFE, 0xDE, 0xF0}; |
57 return llvm::ArrayRef<uint8_t>(Padding, 4); | 57 return llvm::ArrayRef<uint8_t>(Padding, 4); |
58 } | 58 } |
59 | 59 |
60 void padWithNop(intptr_t Padding) override { | 60 void padWithNop(intptr_t Padding) override { |
61 (void)Padding; | 61 (void)Padding; |
62 llvm::report_fatal_error("Not yet implemented."); | 62 llvm::report_fatal_error("Not yet implemented."); |
63 } | 63 } |
64 | 64 |
65 Label *getOrCreateCfgNodeLabel(SizeT NodeNumber) override { | 65 Ice::Label *getCfgNodeLabel(SizeT NodeNumber) override { |
66 (void)NodeNumber; | 66 (void)NodeNumber; |
67 llvm_unreachable("Not yet implemented."); | 67 llvm_unreachable("Not yet implemented."); |
68 } | 68 } |
69 | 69 |
70 void bindCfgNodeLabel(SizeT NodeNumber) override { | 70 void bindCfgNodeLabel(SizeT NodeNumber) override { |
71 (void)NodeNumber; | 71 (void)NodeNumber; |
72 llvm::report_fatal_error("Not yet implemented."); | 72 llvm::report_fatal_error("Not yet implemented."); |
73 } | 73 } |
74 | 74 |
75 bool fixupIsPCRel(FixupKind Kind) const override { | 75 bool fixupIsPCRel(FixupKind Kind) const override { |
76 (void)Kind; | 76 (void)Kind; |
77 llvm::report_fatal_error("Not yet implemented."); | 77 llvm::report_fatal_error("Not yet implemented."); |
78 } | 78 } |
79 | 79 |
80 static bool classof(const Assembler *Asm) { | 80 static bool classof(const Assembler *Asm) { |
81 return Asm->getKind() == Asm_MIPS32; | 81 return Asm->getKind() == Asm_MIPS32; |
82 } | 82 } |
83 }; | 83 }; |
84 | 84 |
85 } // end of namespace MIPS32 | 85 } // end of namespace MIPS32 |
86 } // end of namespace Ice | 86 } // end of namespace Ice |
87 | 87 |
88 #endif // SUBZERO_SRC_ICEASSEMBLERMIPS32_H | 88 #endif // SUBZERO_SRC_ICEASSEMBLERMIPS32_H |
OLD | NEW |