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);
92 InstructionSet GetInstructionSetFromELF(uint16_t e_machine, uint32_t e_flags);
95 NO_RETURN void InstructionSetAbort(InstructionSet isa);
97 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize()
99 case InstructionSet::kArm: in GetInstructionSetPointerSize()
101 case InstructionSet::kThumb2: in GetInstructionSetPointerSize()
103 case InstructionSet::kArm64: in GetInstructionSetPointerSize()
105 case InstructionSet::kX86: in GetInstructionSetPointerSize()
107 case InstructionSet::kX86_64: in GetInstructionSetPointerSize()
109 case InstructionSet::kMips: in GetInstructionSetPointerSize()
111 case InstructionSet::kMips64: in GetInstructionSetPointerSize()
114 case InstructionSet::kNone: in GetInstructionSetPointerSize()
120 constexpr size_t GetInstructionSetInstructionAlignment(InstructionSet isa) { in GetInstructionSetInstructionAlignment()
122 case InstructionSet::kArm: in GetInstructionSetInstructionAlignment()
124 case InstructionSet::kThumb2: in GetInstructionSetInstructionAlignment()
126 case InstructionSet::kArm64: in GetInstructionSetInstructionAlignment()
128 case InstructionSet::kX86: in GetInstructionSetInstructionAlignment()
130 case InstructionSet::kX86_64: in GetInstructionSetInstructionAlignment()
132 case InstructionSet::kMips: in GetInstructionSetInstructionAlignment()
134 case InstructionSet::kMips64: in GetInstructionSetInstructionAlignment()
137 case InstructionSet::kNone: in GetInstructionSetInstructionAlignment()
143 constexpr bool IsValidInstructionSet(InstructionSet isa) { in IsValidInstructionSet()
145 case InstructionSet::kArm: in IsValidInstructionSet()
146 case InstructionSet::kThumb2: in IsValidInstructionSet()
147 case InstructionSet::kArm64: in IsValidInstructionSet()
148 case InstructionSet::kX86: in IsValidInstructionSet()
149 case InstructionSet::kX86_64: in IsValidInstructionSet()
150 case InstructionSet::kMips: in IsValidInstructionSet()
151 case InstructionSet::kMips64: in IsValidInstructionSet()
154 case InstructionSet::kNone: in IsValidInstructionSet()
160 size_t GetInstructionSetAlignment(InstructionSet isa);
162 constexpr bool Is64BitInstructionSet(InstructionSet isa) { in Is64BitInstructionSet()
164 case InstructionSet::kArm: in Is64BitInstructionSet()
165 case InstructionSet::kThumb2: in Is64BitInstructionSet()
166 case InstructionSet::kX86: in Is64BitInstructionSet()
167 case InstructionSet::kMips: in Is64BitInstructionSet()
170 case InstructionSet::kArm64: in Is64BitInstructionSet()
171 case InstructionSet::kX86_64: in Is64BitInstructionSet()
172 case InstructionSet::kMips64: in Is64BitInstructionSet()
175 case InstructionSet::kNone: in Is64BitInstructionSet()
181 constexpr PointerSize InstructionSetPointerSize(InstructionSet isa) { in InstructionSetPointerSize()
185 constexpr size_t GetBytesPerGprSpillLocation(InstructionSet isa) { in GetBytesPerGprSpillLocation()
187 case InstructionSet::kArm: in GetBytesPerGprSpillLocation()
189 case InstructionSet::kThumb2: in GetBytesPerGprSpillLocation()
191 case InstructionSet::kArm64: in GetBytesPerGprSpillLocation()
193 case InstructionSet::kX86: in GetBytesPerGprSpillLocation()
195 case InstructionSet::kX86_64: in GetBytesPerGprSpillLocation()
197 case InstructionSet::kMips: in GetBytesPerGprSpillLocation()
199 case InstructionSet::kMips64: in GetBytesPerGprSpillLocation()
202 case InstructionSet::kNone: in GetBytesPerGprSpillLocation()
208 constexpr size_t GetBytesPerFprSpillLocation(InstructionSet isa) { in GetBytesPerFprSpillLocation()
210 case InstructionSet::kArm: in GetBytesPerFprSpillLocation()
212 case InstructionSet::kThumb2: in GetBytesPerFprSpillLocation()
214 case InstructionSet::kArm64: in GetBytesPerFprSpillLocation()
216 case InstructionSet::kX86: in GetBytesPerFprSpillLocation()
218 case InstructionSet::kX86_64: in GetBytesPerFprSpillLocation()
220 case InstructionSet::kMips: in GetBytesPerFprSpillLocation()
222 case InstructionSet::kMips64: in GetBytesPerFprSpillLocation()
225 case InstructionSet::kNone: in GetBytesPerFprSpillLocation()
231 size_t GetStackOverflowReservedBytes(InstructionSet isa);