Lines Matching refs:InstructionSet
28 enum class InstructionSet { enum
39 std::ostream& operator<<(std::ostream& os, const InstructionSet& rhs);
42 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm;
44 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm64;
46 static constexpr InstructionSet kRuntimeISA = InstructionSet::kMips;
48 static constexpr InstructionSet kRuntimeISA = InstructionSet::kMips64;
50 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86;
52 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86_64;
54 static constexpr InstructionSet kRuntimeISA = InstructionSet::kNone;
87 const char* GetInstructionSetString(InstructionSet isa);
90 InstructionSet GetInstructionSetFromString(const char* instruction_set);
93 NO_RETURN void InstructionSetAbort(InstructionSet isa);
95 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize()
97 case InstructionSet::kArm: in GetInstructionSetPointerSize()
99 case InstructionSet::kThumb2: in GetInstructionSetPointerSize()
101 case InstructionSet::kArm64: in GetInstructionSetPointerSize()
103 case InstructionSet::kX86: in GetInstructionSetPointerSize()
105 case InstructionSet::kX86_64: in GetInstructionSetPointerSize()
107 case InstructionSet::kMips: in GetInstructionSetPointerSize()
109 case InstructionSet::kMips64: in GetInstructionSetPointerSize()
112 case InstructionSet::kNone: in GetInstructionSetPointerSize()
118 constexpr size_t GetInstructionSetInstructionAlignment(InstructionSet isa) { in GetInstructionSetInstructionAlignment()
120 case InstructionSet::kArm: in GetInstructionSetInstructionAlignment()
122 case InstructionSet::kThumb2: in GetInstructionSetInstructionAlignment()
124 case InstructionSet::kArm64: in GetInstructionSetInstructionAlignment()
126 case InstructionSet::kX86: in GetInstructionSetInstructionAlignment()
128 case InstructionSet::kX86_64: in GetInstructionSetInstructionAlignment()
130 case InstructionSet::kMips: in GetInstructionSetInstructionAlignment()
132 case InstructionSet::kMips64: in GetInstructionSetInstructionAlignment()
135 case InstructionSet::kNone: in GetInstructionSetInstructionAlignment()
141 constexpr bool IsValidInstructionSet(InstructionSet isa) { in IsValidInstructionSet()
143 case InstructionSet::kArm: in IsValidInstructionSet()
144 case InstructionSet::kThumb2: in IsValidInstructionSet()
145 case InstructionSet::kArm64: in IsValidInstructionSet()
146 case InstructionSet::kX86: in IsValidInstructionSet()
147 case InstructionSet::kX86_64: in IsValidInstructionSet()
148 case InstructionSet::kMips: in IsValidInstructionSet()
149 case InstructionSet::kMips64: in IsValidInstructionSet()
152 case InstructionSet::kNone: in IsValidInstructionSet()
158 size_t GetInstructionSetAlignment(InstructionSet isa);
160 constexpr bool Is64BitInstructionSet(InstructionSet isa) { in Is64BitInstructionSet()
162 case InstructionSet::kArm: in Is64BitInstructionSet()
163 case InstructionSet::kThumb2: in Is64BitInstructionSet()
164 case InstructionSet::kX86: in Is64BitInstructionSet()
165 case InstructionSet::kMips: in Is64BitInstructionSet()
168 case InstructionSet::kArm64: in Is64BitInstructionSet()
169 case InstructionSet::kX86_64: in Is64BitInstructionSet()
170 case InstructionSet::kMips64: in Is64BitInstructionSet()
173 case InstructionSet::kNone: in Is64BitInstructionSet()
179 constexpr PointerSize InstructionSetPointerSize(InstructionSet isa) { in InstructionSetPointerSize()
183 constexpr size_t GetBytesPerGprSpillLocation(InstructionSet isa) { in GetBytesPerGprSpillLocation()
185 case InstructionSet::kArm: in GetBytesPerGprSpillLocation()
187 case InstructionSet::kThumb2: in GetBytesPerGprSpillLocation()
189 case InstructionSet::kArm64: in GetBytesPerGprSpillLocation()
191 case InstructionSet::kX86: in GetBytesPerGprSpillLocation()
193 case InstructionSet::kX86_64: in GetBytesPerGprSpillLocation()
195 case InstructionSet::kMips: in GetBytesPerGprSpillLocation()
197 case InstructionSet::kMips64: in GetBytesPerGprSpillLocation()
200 case InstructionSet::kNone: in GetBytesPerGprSpillLocation()
206 constexpr size_t GetBytesPerFprSpillLocation(InstructionSet isa) { in GetBytesPerFprSpillLocation()
208 case InstructionSet::kArm: in GetBytesPerFprSpillLocation()
210 case InstructionSet::kThumb2: in GetBytesPerFprSpillLocation()
212 case InstructionSet::kArm64: in GetBytesPerFprSpillLocation()
214 case InstructionSet::kX86: in GetBytesPerFprSpillLocation()
216 case InstructionSet::kX86_64: in GetBytesPerFprSpillLocation()
218 case InstructionSet::kMips: in GetBytesPerFprSpillLocation()
220 case InstructionSet::kMips64: in GetBytesPerFprSpillLocation()
223 case InstructionSet::kNone: in GetBytesPerFprSpillLocation()
249 constexpr size_t GetStackOverflowReservedBytes(InstructionSet isa) { in GetStackOverflowReservedBytes()
251 case InstructionSet::kArm: // Intentional fall-through. in GetStackOverflowReservedBytes()
252 case InstructionSet::kThumb2: in GetStackOverflowReservedBytes()
255 case InstructionSet::kArm64: in GetStackOverflowReservedBytes()
258 case InstructionSet::kMips: in GetStackOverflowReservedBytes()
261 case InstructionSet::kMips64: in GetStackOverflowReservedBytes()
264 case InstructionSet::kX86: in GetStackOverflowReservedBytes()
267 case InstructionSet::kX86_64: in GetStackOverflowReservedBytes()
270 case InstructionSet::kNone: in GetStackOverflowReservedBytes()