/art/disassembler/ |
H A D | disassembler.cc | 30 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { argument 31 if (instruction_set == kArm || instruction_set == kThumb2) { 33 } else if (instruction_set == kArm64) { 35 } else if (instruction_set == kMips) { 37 } else if (instruction_set == kMips64) { 39 } else if (instruction_set == kX86) { 41 } else if (instruction_set == kX86_64) { 44 UNIMPLEMENTED(FATAL) << "no disassembler for " << instruction_set;
|
/art/compiler/linker/ |
H A D | relative_patcher.cc | 29 InstructionSet instruction_set, const InstructionSetFeatures* features, 67 switch (instruction_set) { 28 Create( InstructionSet instruction_set, const InstructionSetFeatures* features, RelativePatcherTargetProvider* provider) argument
|
H A D | relative_patcher_test.h | 20 #include "arch/instruction_set.h" 42 RelativePatcherTest(InstructionSet instruction_set, const std::string& variant) argument 47 Compiler::kQuick, instruction_set, nullptr, 51 instruction_set_(instruction_set), 52 features_(InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg_)), 54 patcher_(RelativePatcher::Create(instruction_set, features_.get(), &method_offset_map_)), 61 CHECK(error_msg_.empty()) << instruction_set << "/" << variant;
|
/art/compiler/jni/quick/ |
H A D | calling_convention.cc | 32 bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) { 33 switch (instruction_set) { 48 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; 107 InstructionSet instruction_set) { 108 switch (instruction_set) { 123 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; 31 Create( bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument 105 Create(bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument
|
H A D | jni_compiler.cc | 69 InstructionSet instruction_set = driver->GetInstructionSet(); local 70 const bool is_64_bit_target = Is64BitInstructionSet(instruction_set); 73 JniCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); 77 ManagedRuntimeCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); 93 JniCallingConvention::Create(is_static, is_synchronized, jni_end_shorty, instruction_set)); 96 std::unique_ptr<Assembler> jni_asm(Assembler::Create(instruction_set)); 358 InstructionSetPointerSize(instruction_set)); 378 if ((instruction_set == kMips || instruction_set == kMips64) && 484 instruction_set, [all...] |
/art/runtime/ |
H A D | native_bridge_art_interface.cc | 125 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { argument 126 if (android::InitializeNativeBridge(env, instruction_set)) {
|
H A D | oat.cc | 46 OatHeader* OatHeader::Create(InstructionSet instruction_set, argument 59 return new (memory) OatHeader(instruction_set, 67 OatHeader::OatHeader(InstructionSet instruction_set, argument 87 CHECK_NE(instruction_set, kNone); 88 instruction_set_ = instruction_set;
|
H A D | runtime.cc | 1502 void Runtime::SetInstructionSet(InstructionSet instruction_set) { argument 1503 instruction_set_ = instruction_set; 1684 std::string instruction_set("--instruction-set="); 1685 instruction_set += GetInstructionSetString(kRuntimeISA); 1686 argv->push_back(instruction_set);
|
/art/compiler/ |
H A D | compiled_method.cc | 22 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, argument 24 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), 66 size_t CompiledCode::AlignCode(size_t offset, InstructionSet instruction_set) { argument 67 return RoundUp(offset, GetInstructionSetAlignment(instruction_set)); 74 size_t CompiledCode::CodeDelta(InstructionSet instruction_set) { argument 75 switch (instruction_set) { 88 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; 94 InstructionSet instruction_set) { 95 switch (instruction_set) { 110 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; 93 CodePointer(const void* code_pointer, InstructionSet instruction_set) argument 124 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, DefaultSrcMap* src_mapping_table, const ArrayRef<const uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const LinkerPatch>& patches) argument 170 SwapAllocCompiledMethod( CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, DefaultSrcMap* src_mapping_table, const ArrayRef<const uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const LinkerPatch>& patches) argument [all...] |
H A D | common_compiler_test.cc | 173 const InstructionSet instruction_set = kRuntimeISA; local 177 runtime_->SetInstructionSet(instruction_set); 191 compiler_kind, instruction_set,
|
H A D | oat_writer.cc | 110 InstructionSet instruction_set = compiler_driver_->GetInstructionSet(); local 112 relative_patcher_ = linker::RelativePatcher::Create(instruction_set, features, 1077 InstructionSet instruction_set = compiler_driver_->GetInstructionSet(); local 1080 offset = CompiledCode::AlignCode(offset, instruction_set); \ 1081 adjusted_offset = offset + CompiledCode::CodeDelta(instruction_set); \ 1328 InstructionSet instruction_set = compiler_driver_->GetInstructionSet(); local 1332 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_arm_base.cc | 73 InstructionSet instruction_set, 77 : provider_(provider), instruction_set_(instruction_set), thunk_code_(thunk_code), 72 ArmBaseRelativePatcher(RelativePatcherTargetProvider* provider, InstructionSet instruction_set, std::vector<uint8_t> thunk_code, uint32_t max_positive_displacement, uint32_t max_negative_displacement) argument
|
/art/compiler/utils/ |
H A D | assembler.cc | 112 Assembler* Assembler::Create(InstructionSet instruction_set) { argument 113 switch (instruction_set) { 129 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set;
|
/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 23 #include "arch/instruction_set.h" 145 jstring instruction_set) { 195 if (instruction_set != nullptr) { 196 ScopedUtfChars isa_string(env, instruction_set); 144 ZygoteHooks_nativePostForkChild(JNIEnv* env, jclass, jlong token, jint debug_flags, jstring instruction_set) argument
|
H A D | dalvik_system_DexFile.cc | 302 const char* pkgname, const char* instruction_set, const jboolean defer) { 312 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); 315 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); 362 ScopedUtfChars instruction_set(env, javaInstructionSet); 368 instruction_set.c_str(), defer); 373 const char* instruction_set = GetInstructionSetString(kRuntimeISA); local 376 instruction_set, false /* defer */); 301 GetDexOptNeeded(JNIEnv* env, const char* filename, const char* pkgname, const char* instruction_set, const jboolean defer) argument
|
/art/compiler/dex/ |
H A D | compiler_ir.h | 24 #include "arch/instruction_set.h" 186 const InstructionSet instruction_set; member in struct:art::CompilationUnit
|
/art/compiler/dex/quick/ |
H A D | quick_compiler.cc | 473 static bool CanCompileShorty(const char* shorty, InstructionSet instruction_set) { argument 474 const char* supported_types = kSupportedTypes[instruction_set]; 501 if (kSupportedTypes[cu->instruction_set] == nullptr && 502 kUnsupportedOpcodesSize[cu->instruction_set] == 0U) { 508 if (!CanCompileShorty(shorty, cu->instruction_set)) { 513 const int *unsupport_list = kUnsupportedOpcodes[cu->instruction_set]; 514 int unsupport_list_size = kUnsupportedOpcodesSize[cu->instruction_set]; 540 if (!CanCompileShorty(invoke_method_shorty, cu->instruction_set)) { 554 cu.disable_opt |= kDisabledOptimizationsPerISA[cu.instruction_set]; 636 InstructionSet instruction_set local [all...] |
/art/compiler/jit/ |
H A D | jit_compiler.cc | 20 #include "arch/instruction_set.h" 88 const InstructionSet instruction_set = kRuntimeISA; local 98 Compiler::kQuick, instruction_set, instruction_set_features_.get(), false,
|
/art/cmdline/ |
H A D | cmdline.h | 84 InstructionSet instruction_set) { 106 reinterpret_cast<const void*>(GetInstructionSetString(instruction_set)))); 83 StartRuntime(const char* boot_image_location, InstructionSet instruction_set) argument
|
/art/compiler/optimizing/ |
H A D | optimizing_compiler.cc | 291 static bool IsInstructionSetSupported(InstructionSet instruction_set) { argument 292 return instruction_set == kArm64 293 || (instruction_set == kThumb2 && !kArm32QuickCodeUseSoftFloat) 294 || instruction_set == kMips64 295 || instruction_set == kX86 296 || instruction_set == kX86_64; 488 InstructionSet instruction_set = compiler_driver->GetInstructionSet(); local 491 if (instruction_set == kArm) { 492 instruction_set = kThumb2; 506 if (!IsInstructionSetSupported(instruction_set)) { [all...] |
H A D | code_generator.cc | 446 InstructionSet instruction_set, 449 switch (instruction_set) { 445 Create(HGraph* graph, InstructionSet instruction_set, const InstructionSetFeatures& isa_features, const CompilerOptions& compiler_options) argument
|
H A D | code_generator.h | 20 #include "arch/instruction_set.h" 134 InstructionSet instruction_set, 400 InstructionSet instruction_set = GetInstructionSet(); local 401 return instruction_set == kX86 || instruction_set == kX86_64;
|
H A D | register_allocator.cc | 80 InstructionSet instruction_set) { 81 return instruction_set == kArm64 82 || instruction_set == kX86_64 83 || instruction_set == kMips64 84 || instruction_set == kArm 85 || instruction_set == kX86 86 || instruction_set == kThumb2; 79 CanAllocateRegistersFor(const HGraph& graph ATTRIBUTE_UNUSED, InstructionSet instruction_set) argument
|
H A D | nodes.h | 123 InstructionSet instruction_set, 141 instruction_set_(instruction_set), 120 HGraph(ArenaAllocator* arena, const DexFile& dex_file, uint32_t method_idx, InstructionSet instruction_set, bool debuggable = false, int start_instruction_id = 0) argument
|
/art/compiler/driver/ |
H A D | compiler_driver.cc | 351 InstructionSet instruction_set, 366 instruction_set_(instruction_set), 386 support_boot_image_fixup_(instruction_set != kMips && instruction_set != kMips64), 347 CompilerDriver(const CompilerOptions* compiler_options, VerificationResults* verification_results, DexFileToMethodInlinerMap* method_inliner_map, Compiler::Kind compiler_kind, InstructionSet instruction_set, const InstructionSetFeatures* instruction_set_features, bool image, std::unordered_set<std::string>* image_classes, std::unordered_set<std::string>* compiled_classes, std::unordered_set<std::string>* compiled_methods, size_t thread_count, bool dump_stats, bool dump_passes, const std::string& dump_cfg_file_name, CumulativeLogger* timer, int swap_fd, const std::string& profile_file) argument
|