OLD | NEW |
---|---|
1 //===-- MipsBaseInfo.h - Top level definitions for MIPS MC ------*- C++ -*-===// | 1 //===-- MipsBaseInfo.h - Top level definitions for MIPS MC ------*- C++ -*-===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
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 contains small standalone helper functions and enum definitions for | 10 // This file contains small standalone helper functions and enum definitions for |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
83 | 83 |
84 /// MO_HIGHER/HIGHEST - Represents the highest or higher half word of a | 84 /// MO_HIGHER/HIGHEST - Represents the highest or higher half word of a |
85 /// 64-bit symbol address. | 85 /// 64-bit symbol address. |
86 MO_HIGHER, | 86 MO_HIGHER, |
87 MO_HIGHEST, | 87 MO_HIGHEST, |
88 | 88 |
89 /// MO_GOT_HI16/LO16, MO_CALL_HI16/LO16 - Relocations used for large GOTs. | 89 /// MO_GOT_HI16/LO16, MO_CALL_HI16/LO16 - Relocations used for large GOTs. |
90 MO_GOT_HI16, | 90 MO_GOT_HI16, |
91 MO_GOT_LO16, | 91 MO_GOT_LO16, |
92 MO_CALL_HI16, | 92 MO_CALL_HI16, |
93 MO_CALL_LO16 | 93 MO_CALL_LO16, |
94 | |
95 // LOCALMOD-START | |
Mark Seaborn
2013/10/17 19:00:11
Nit: The convention is "@LOCALMOD..." (same in oth
petarj
2013/10/22 23:10:27
Done.
| |
96 /// MO_NACL_LONG_BRANCH - Represents target basic block of long branch. | |
97 MO_NACL_LONG_BRANCH | |
98 // LOCALMOD-END | |
94 }; | 99 }; |
95 | 100 |
96 enum { | 101 enum { |
97 //===------------------------------------------------------------------===// | 102 //===------------------------------------------------------------------===// |
98 // Instruction encodings. These are the standard/most common forms for | 103 // Instruction encodings. These are the standard/most common forms for |
99 // Mips instructions. | 104 // Mips instructions. |
100 // | 105 // |
101 | 106 |
102 // Pseudo - This represents an instruction that is a pseudo instruction | 107 // Pseudo - This represents an instruction that is a pseudo instruction |
103 // or one that has not been implemented yet. It is illegal to code generate | 108 // or one that has not been implemented yet. It is illegal to code generate |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 } | 149 } |
145 | 150 |
146 if (Kind != MCExpr::SymbolRef) | 151 if (Kind != MCExpr::SymbolRef) |
147 return std::make_pair((const MCSymbolRefExpr*)0, (int64_t)0); | 152 return std::make_pair((const MCSymbolRefExpr*)0, (int64_t)0); |
148 | 153 |
149 return std::make_pair(cast<MCSymbolRefExpr>(Expr), 0); | 154 return std::make_pair(cast<MCSymbolRefExpr>(Expr), 0); |
150 } | 155 } |
151 } | 156 } |
152 | 157 |
153 #endif | 158 #endif |
OLD | NEW |