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::kRiscv64: in InstructionSetAbort()
33 case InstructionSet::kX86: in InstructionSetAbort()
34 case InstructionSet::kX86_64: in InstructionSetAbort()
35 case InstructionSet::kNone: in InstructionSetAbort()
43 const char* GetInstructionSetString(InstructionSet isa) { in GetInstructionSetString()
45 case InstructionSet::kArm: in GetInstructionSetString()
46 case InstructionSet::kThumb2: in GetInstructionSetString()
48 case InstructionSet::kArm64: in GetInstructionSetString()
50 case InstructionSet::kRiscv64: in GetInstructionSetString()
52 case InstructionSet::kX86: in GetInstructionSetString()
54 case InstructionSet::kX86_64: in GetInstructionSetString()
56 case InstructionSet::kNone: in GetInstructionSetString()
63 InstructionSet GetInstructionSetFromString(const char* isa_str) { in GetInstructionSetFromString()
67 return InstructionSet::kArm; in GetInstructionSetFromString()
69 return InstructionSet::kArm64; in GetInstructionSetFromString()
71 return InstructionSet::kRiscv64; in GetInstructionSetFromString()
73 return InstructionSet::kX86; in GetInstructionSetFromString()
75 return InstructionSet::kX86_64; in GetInstructionSetFromString()
78 return InstructionSet::kNone; in GetInstructionSetFromString()
81 std::vector<InstructionSet> GetSupportedInstructionSets(std::string* error_msg) { in GetSupportedInstructionSets()
89 case InstructionSet::kArm: in GetSupportedInstructionSets()
90 case InstructionSet::kArm64: in GetSupportedInstructionSets()
92 return {InstructionSet::kArm64, InstructionSet::kArm}; in GetSupportedInstructionSets()
94 return {InstructionSet::kArm64}; in GetSupportedInstructionSets()
96 return {InstructionSet::kArm}; in GetSupportedInstructionSets()
101 case InstructionSet::kRiscv64: in GetSupportedInstructionSets()
102 return {InstructionSet::kRiscv64}; in GetSupportedInstructionSets()
103 case InstructionSet::kX86: in GetSupportedInstructionSets()
104 case InstructionSet::kX86_64: in GetSupportedInstructionSets()
106 return {InstructionSet::kX86_64, InstructionSet::kX86}; in GetSupportedInstructionSets()
108 return {InstructionSet::kX86_64}; in GetSupportedInstructionSets()
110 return {InstructionSet::kX86}; in GetSupportedInstructionSets()