Lines Matching refs:InstructionSet

28 enum class InstructionSet {  enum
37 std::ostream& operator<<(std::ostream& os, InstructionSet rhs);
40 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm;
42 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm64;
44 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86;
46 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86_64;
48 static constexpr InstructionSet kRuntimeISA = InstructionSet::kNone;
73 const char* GetInstructionSetString(InstructionSet isa);
76 InstructionSet GetInstructionSetFromString(const char* instruction_set);
79 NO_RETURN void InstructionSetAbort(InstructionSet isa);
81 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize()
83 case InstructionSet::kArm: in GetInstructionSetPointerSize()
85 case InstructionSet::kThumb2: in GetInstructionSetPointerSize()
87 case InstructionSet::kArm64: in GetInstructionSetPointerSize()
89 case InstructionSet::kX86: in GetInstructionSetPointerSize()
91 case InstructionSet::kX86_64: in GetInstructionSetPointerSize()
94 case InstructionSet::kNone: in GetInstructionSetPointerSize()
100 constexpr size_t GetInstructionSetInstructionAlignment(InstructionSet isa) { in GetInstructionSetInstructionAlignment()
102 case InstructionSet::kArm: in GetInstructionSetInstructionAlignment()
104 case InstructionSet::kThumb2: in GetInstructionSetInstructionAlignment()
106 case InstructionSet::kArm64: in GetInstructionSetInstructionAlignment()
108 case InstructionSet::kX86: in GetInstructionSetInstructionAlignment()
110 case InstructionSet::kX86_64: in GetInstructionSetInstructionAlignment()
113 case InstructionSet::kNone: in GetInstructionSetInstructionAlignment()
119 constexpr bool IsValidInstructionSet(InstructionSet isa) { in IsValidInstructionSet()
121 case InstructionSet::kArm: in IsValidInstructionSet()
122 case InstructionSet::kThumb2: in IsValidInstructionSet()
123 case InstructionSet::kArm64: in IsValidInstructionSet()
124 case InstructionSet::kX86: in IsValidInstructionSet()
125 case InstructionSet::kX86_64: in IsValidInstructionSet()
128 case InstructionSet::kNone: in IsValidInstructionSet()
134 size_t GetInstructionSetAlignment(InstructionSet isa);
136 constexpr bool Is64BitInstructionSet(InstructionSet isa) { in Is64BitInstructionSet()
138 case InstructionSet::kArm: in Is64BitInstructionSet()
139 case InstructionSet::kThumb2: in Is64BitInstructionSet()
140 case InstructionSet::kX86: in Is64BitInstructionSet()
143 case InstructionSet::kArm64: in Is64BitInstructionSet()
144 case InstructionSet::kX86_64: in Is64BitInstructionSet()
147 case InstructionSet::kNone: in Is64BitInstructionSet()
153 constexpr PointerSize InstructionSetPointerSize(InstructionSet isa) { in InstructionSetPointerSize()
157 constexpr size_t GetBytesPerGprSpillLocation(InstructionSet isa) { in GetBytesPerGprSpillLocation()
159 case InstructionSet::kArm: in GetBytesPerGprSpillLocation()
161 case InstructionSet::kThumb2: in GetBytesPerGprSpillLocation()
163 case InstructionSet::kArm64: in GetBytesPerGprSpillLocation()
165 case InstructionSet::kX86: in GetBytesPerGprSpillLocation()
167 case InstructionSet::kX86_64: in GetBytesPerGprSpillLocation()
170 case InstructionSet::kNone: in GetBytesPerGprSpillLocation()
176 constexpr size_t GetBytesPerFprSpillLocation(InstructionSet isa) { in GetBytesPerFprSpillLocation()
178 case InstructionSet::kArm: in GetBytesPerFprSpillLocation()
180 case InstructionSet::kThumb2: in GetBytesPerFprSpillLocation()
182 case InstructionSet::kArm64: in GetBytesPerFprSpillLocation()
184 case InstructionSet::kX86: in GetBytesPerFprSpillLocation()
186 case InstructionSet::kX86_64: in GetBytesPerFprSpillLocation()
189 case InstructionSet::kNone: in GetBytesPerFprSpillLocation()
212 constexpr size_t GetStackOverflowReservedBytes(InstructionSet isa) { in GetStackOverflowReservedBytes()
214 case InstructionSet::kArm: // Intentional fall-through. in GetStackOverflowReservedBytes()
215 case InstructionSet::kThumb2: in GetStackOverflowReservedBytes()
218 case InstructionSet::kArm64: in GetStackOverflowReservedBytes()
221 case InstructionSet::kX86: in GetStackOverflowReservedBytes()
224 case InstructionSet::kX86_64: in GetStackOverflowReservedBytes()
227 case InstructionSet::kNone: in GetStackOverflowReservedBytes()