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;
76 const char* GetInstructionSetString(InstructionSet isa);
79 InstructionSet GetInstructionSetFromString(const char* instruction_set);
82 NO_RETURN void InstructionSetAbort(InstructionSet isa);
84 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize()
86 case InstructionSet::kArm: in GetInstructionSetPointerSize()
88 case InstructionSet::kThumb2: in GetInstructionSetPointerSize()
90 case InstructionSet::kArm64: in GetInstructionSetPointerSize()
92 case InstructionSet::kX86: in GetInstructionSetPointerSize()
94 case InstructionSet::kX86_64: in GetInstructionSetPointerSize()
97 case InstructionSet::kNone: in GetInstructionSetPointerSize()
103 constexpr size_t GetInstructionSetInstructionAlignment(InstructionSet isa) { in GetInstructionSetInstructionAlignment()
105 case InstructionSet::kArm: in GetInstructionSetInstructionAlignment()
107 case InstructionSet::kThumb2: in GetInstructionSetInstructionAlignment()
109 case InstructionSet::kArm64: in GetInstructionSetInstructionAlignment()
111 case InstructionSet::kX86: in GetInstructionSetInstructionAlignment()
113 case InstructionSet::kX86_64: in GetInstructionSetInstructionAlignment()
116 case InstructionSet::kNone: in GetInstructionSetInstructionAlignment()
122 constexpr bool IsValidInstructionSet(InstructionSet isa) { in IsValidInstructionSet()
124 case InstructionSet::kArm: in IsValidInstructionSet()
125 case InstructionSet::kThumb2: in IsValidInstructionSet()
126 case InstructionSet::kArm64: in IsValidInstructionSet()
127 case InstructionSet::kX86: in IsValidInstructionSet()
128 case InstructionSet::kX86_64: in IsValidInstructionSet()
131 case InstructionSet::kNone: in IsValidInstructionSet()
137 size_t GetInstructionSetAlignment(InstructionSet isa);
139 constexpr bool Is64BitInstructionSet(InstructionSet isa) { in Is64BitInstructionSet()
141 case InstructionSet::kArm: in Is64BitInstructionSet()
142 case InstructionSet::kThumb2: in Is64BitInstructionSet()
143 case InstructionSet::kX86: in Is64BitInstructionSet()
146 case InstructionSet::kArm64: in Is64BitInstructionSet()
147 case InstructionSet::kX86_64: in Is64BitInstructionSet()
150 case InstructionSet::kNone: in Is64BitInstructionSet()
156 constexpr PointerSize InstructionSetPointerSize(InstructionSet isa) { in InstructionSetPointerSize()
160 constexpr size_t GetBytesPerGprSpillLocation(InstructionSet isa) { in GetBytesPerGprSpillLocation()
162 case InstructionSet::kArm: in GetBytesPerGprSpillLocation()
164 case InstructionSet::kThumb2: in GetBytesPerGprSpillLocation()
166 case InstructionSet::kArm64: in GetBytesPerGprSpillLocation()
168 case InstructionSet::kX86: in GetBytesPerGprSpillLocation()
170 case InstructionSet::kX86_64: in GetBytesPerGprSpillLocation()
173 case InstructionSet::kNone: in GetBytesPerGprSpillLocation()
179 constexpr size_t GetBytesPerFprSpillLocation(InstructionSet isa) { in GetBytesPerFprSpillLocation()
181 case InstructionSet::kArm: in GetBytesPerFprSpillLocation()
183 case InstructionSet::kThumb2: in GetBytesPerFprSpillLocation()
185 case InstructionSet::kArm64: in GetBytesPerFprSpillLocation()
187 case InstructionSet::kX86: in GetBytesPerFprSpillLocation()
189 case InstructionSet::kX86_64: in GetBytesPerFprSpillLocation()
192 case InstructionSet::kNone: in GetBytesPerFprSpillLocation()
215 constexpr size_t GetStackOverflowReservedBytes(InstructionSet isa) { in GetStackOverflowReservedBytes()
217 case InstructionSet::kArm: // Intentional fall-through. in GetStackOverflowReservedBytes()
218 case InstructionSet::kThumb2: in GetStackOverflowReservedBytes()
221 case InstructionSet::kArm64: in GetStackOverflowReservedBytes()
224 case InstructionSet::kX86: in GetStackOverflowReservedBytes()
227 case InstructionSet::kX86_64: in GetStackOverflowReservedBytes()
230 case InstructionSet::kNone: in GetStackOverflowReservedBytes()