Lines Matching refs:target_isa
192 static bool CanExecuteOnHardware(InstructionSet target_isa) { in CanExecuteOnHardware() argument
193 return (target_isa == kRuntimeISA) in CanExecuteOnHardware()
195 || (kRuntimeISA == InstructionSet::kArm && target_isa == InstructionSet::kThumb2); in CanExecuteOnHardware()
198 static bool CanExecute(InstructionSet target_isa) { in CanExecute() argument
199 CodeSimulatorContainer simulator(target_isa); in CanExecute()
200 return CanExecuteOnHardware(target_isa) || simulator.CanSimulate(); in CanExecute()
225 static void VerifyGeneratedCode(InstructionSet target_isa, in VerifyGeneratedCode() argument
229 ASSERT_TRUE(CanExecute(target_isa)) << "Target isa is not executable."; in VerifyGeneratedCode()
232 CodeSimulatorContainer simulator(target_isa); in VerifyGeneratedCode()
241 if (CanExecuteOnHardware(target_isa)) { in VerifyGeneratedCode()
254 InstructionSet target_isa = codegen.GetInstructionSet(); in Run() local
263 code_holder.MakeExecutable(allocator.GetMemory(), ArrayRef<const uint8_t>(), target_isa); in Run()
267 VerifyGeneratedCode(target_isa, f, has_result, expected); in Run()