Lines Matching refs:InstructionSet

27 void InstructionSetAbort(InstructionSet isa) {  in InstructionSetAbort()
29 case InstructionSet::kArm: in InstructionSetAbort()
30 case InstructionSet::kThumb2: in InstructionSetAbort()
31 case InstructionSet::kArm64: in InstructionSetAbort()
32 case InstructionSet::kX86: in InstructionSetAbort()
33 case InstructionSet::kX86_64: in InstructionSetAbort()
34 case InstructionSet::kMips: in InstructionSetAbort()
35 case InstructionSet::kMips64: in InstructionSetAbort()
36 case InstructionSet::kNone: in InstructionSetAbort()
44 const char* GetInstructionSetString(InstructionSet isa) { in GetInstructionSetString()
46 case InstructionSet::kArm: in GetInstructionSetString()
47 case InstructionSet::kThumb2: in GetInstructionSetString()
49 case InstructionSet::kArm64: in GetInstructionSetString()
51 case InstructionSet::kX86: in GetInstructionSetString()
53 case InstructionSet::kX86_64: in GetInstructionSetString()
55 case InstructionSet::kMips: in GetInstructionSetString()
57 case InstructionSet::kMips64: in GetInstructionSetString()
59 case InstructionSet::kNone: in GetInstructionSetString()
66 InstructionSet GetInstructionSetFromString(const char* isa_str) { in GetInstructionSetFromString()
70 return InstructionSet::kArm; in GetInstructionSetFromString()
72 return InstructionSet::kArm64; in GetInstructionSetFromString()
74 return InstructionSet::kX86; in GetInstructionSetFromString()
76 return InstructionSet::kX86_64; in GetInstructionSetFromString()
78 return InstructionSet::kMips; in GetInstructionSetFromString()
80 return InstructionSet::kMips64; in GetInstructionSetFromString()
83 return InstructionSet::kNone; in GetInstructionSetFromString()
86 InstructionSet GetInstructionSetFromELF(uint16_t e_machine, uint32_t e_flags) { in GetInstructionSetFromELF()
89 return InstructionSet::kArm; in GetInstructionSetFromELF()
91 return InstructionSet::kArm64; in GetInstructionSetFromELF()
93 return InstructionSet::kX86; in GetInstructionSetFromELF()
95 return InstructionSet::kX86_64; in GetInstructionSetFromELF()
99 return InstructionSet::kMips; in GetInstructionSetFromELF()
101 return InstructionSet::kMips64; in GetInstructionSetFromELF()
106 return InstructionSet::kNone; in GetInstructionSetFromELF()
109 size_t GetInstructionSetAlignment(InstructionSet isa) { in GetInstructionSetAlignment()
111 case InstructionSet::kArm: in GetInstructionSetAlignment()
113 case InstructionSet::kThumb2: in GetInstructionSetAlignment()
115 case InstructionSet::kArm64: in GetInstructionSetAlignment()
117 case InstructionSet::kX86: in GetInstructionSetAlignment()
119 case InstructionSet::kX86_64: in GetInstructionSetAlignment()
121 case InstructionSet::kMips: in GetInstructionSetAlignment()
123 case InstructionSet::kMips64: in GetInstructionSetAlignment()
125 case InstructionSet::kNone: in GetInstructionSetAlignment()
172 size_t GetStackOverflowReservedBytes(InstructionSet isa) { in GetStackOverflowReservedBytes()
174 case InstructionSet::kArm: // Intentional fall-through. in GetStackOverflowReservedBytes()
175 case InstructionSet::kThumb2: in GetStackOverflowReservedBytes()
178 case InstructionSet::kArm64: in GetStackOverflowReservedBytes()
181 case InstructionSet::kMips: in GetStackOverflowReservedBytes()
184 case InstructionSet::kMips64: in GetStackOverflowReservedBytes()
187 case InstructionSet::kX86: in GetStackOverflowReservedBytes()
190 case InstructionSet::kX86_64: in GetStackOverflowReservedBytes()
193 case InstructionSet::kNone: in GetStackOverflowReservedBytes()