/art/runtime/entrypoints/quick/ |
H A D | callee_save_frame.h | 77 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { argument 79 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) : 80 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) : 81 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) : 82 isa == kMips64 ? mips64::Mips64CalleeSaveFrameSize(type) : 83 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) : 84 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) : 85 isa == kNone ? (LOG(FATAL) << "kNone has no frame size", 0) : 86 (LOG(FATAL) << "Unknown instruction set" << isa, 90 GetConstExprPointerSize(InstructionSet isa) argument 103 GetCalleeSaveReturnPcOffset(InstructionSet isa, Runtime::CalleeSaveType type) argument [all...] |
H A D | quick_trampoline_entrypoints_test.cc | 41 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, Runtime::CalleeSaveType type) 49 r->SetInstructionSet(isa); 56 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size) 58 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); 62 << frame_info.FpSpillMask() << std::dec << " ISA " << isa; variable 65 static void CheckPCOffset(InstructionSet isa, Runtime::CalleeSaveType type, size_t pc_offset) 67 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); 72 << " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; variable 83 #define CHECK_FRAME_SIZE(isa) \ 84 CheckFrameSize(isa, \ [all...] |
/art/runtime/arch/ |
H A D | instruction_set.h | 86 const char* GetInstructionSetString(InstructionSet isa); 94 NO_RETURN void InstructionSetAbort(InstructionSet isa); 96 static inline PointerSize GetInstructionSetPointerSize(InstructionSet isa) { argument 97 switch (isa) { 113 InstructionSetAbort(isa); 118 InstructionSet isa) { 119 return (isa == kThumb2 || isa == kArm) ? kThumb2InstructionAlignment : 120 (isa == kArm64) ? kArm64InstructionAlignment : 121 (isa 117 GetInstructionSetInstructionAlignment( InstructionSet isa) argument 128 IsValidInstructionSet(InstructionSet isa) argument 146 Is64BitInstructionSet(InstructionSet isa) argument 164 InstructionSetPointerSize(InstructionSet isa) argument 168 GetBytesPerGprSpillLocation(InstructionSet isa) argument 190 GetBytesPerFprSpillLocation(InstructionSet isa) argument [all...] |
H A D | instruction_set.cc | 27 void InstructionSetAbort(InstructionSet isa) { argument 28 switch (isa) { 37 LOG(FATAL) << "Unsupported instruction set " << isa; 41 LOG(FATAL) << "Unknown ISA " << isa; 46 const char* GetInstructionSetString(InstructionSet isa) { argument 47 switch (isa) { 64 LOG(FATAL) << "Unknown ISA " << isa; 112 size_t GetInstructionSetAlignment(InstructionSet isa) { argument 113 switch (isa) { 132 LOG(FATAL) << "Unknown ISA " << isa; [all...] |
H A D | code_offset.h | 32 ALWAYS_INLINE static CodeOffset FromOffset(uint32_t offset, InstructionSet isa = kRuntimeISA) { 33 return CodeOffset(offset / GetInstructionSetInstructionAlignment(isa)); 40 ALWAYS_INLINE uint32_t Uint32Value(InstructionSet isa = kRuntimeISA) const { 41 uint32_t decoded = value_ * GetInstructionSetInstructionAlignment(isa);
|
H A D | instruction_set_features.h | 40 static std::unique_ptr<const InstructionSetFeatures> FromVariant(InstructionSet isa, 44 // Parse a bitmap for the given isa and create an InstructionSetFeatures. 45 static std::unique_ptr<const InstructionSetFeatures> FromBitmap(InstructionSet isa,
|
H A D | instruction_set_features.cc | 35 InstructionSet isa, const std::string& variant, std::string* error_msg) { 37 switch (isa) { 58 UNIMPLEMENTED(FATAL) << isa; 65 std::unique_ptr<const InstructionSetFeatures> InstructionSetFeatures::FromBitmap(InstructionSet isa, argument 68 switch (isa) { 89 UNIMPLEMENTED(FATAL) << isa; 34 FromVariant( InstructionSet isa, const std::string& variant, std::string* error_msg) argument
|
/art/compiler/jni/ |
H A D | jni_cfi_test.cc | 41 void TestImpl(InstructionSet isa, argument 45 if (Is64BitInstructionSet(isa)) { 46 TestImplSized<PointerSize::k64>(isa, isa_str, expected_asm, expected_cfi); 48 TestImplSized<PointerSize::k32>(isa, isa_str, expected_asm, expected_cfi); 54 void TestImplSized(InstructionSet isa, argument 72 isa)); 74 ManagedRuntimeCallingConvention::Create(&arena, is_static, is_synchronized, shorty, isa)); 80 JNIMacroAssembler<kPointerSize>::Create(&arena, isa)); 95 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi); 103 #define TEST_ISA(isa) \ [all...] |
/art/compiler/trampolines/ |
H A D | trampoline_compiler.h | 28 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, 31 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa,
|
H A D | trampoline_compiler.cc | 243 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa, argument 248 switch (isa) { 264 LOG(FATAL) << "Unexpected InstructionSet: " << isa; 269 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, argument 274 switch (isa) { 290 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
|
/art/compiler/utils/ |
H A D | stack_checks.h | 37 static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa ATTRIBUTE_UNUSED) {
|
/art/compiler/debug/ |
H A D | elf_debug_writer.h | 44 InstructionSet isa, 51 InstructionSet isa, 56 InstructionSet isa,
|
H A D | elf_debug_writer.cc | 92 InstructionSet isa, 97 if (Is64BitInstructionSet(isa)) { 98 return MakeMiniDebugInfoInternal<ElfTypes64>(isa, 104 return MakeMiniDebugInfoInternal<ElfTypes32>(isa, 114 InstructionSet isa, 120 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, features, &out)); 133 InstructionSet isa, 136 if (Is64BitInstructionSet(isa)) { 137 return WriteDebugElfFileForMethodsInternal<ElfTypes64>(isa, features, method_infos); 139 return WriteDebugElfFileForMethodsInternal<ElfTypes32>(isa, feature 91 MakeMiniDebugInfo( InstructionSet isa, const InstructionSetFeatures* features, size_t rodata_size, size_t text_size, const ArrayRef<const MethodDebugInfo>& method_infos) argument 113 WriteDebugElfFileForMethodsInternal( InstructionSet isa, const InstructionSetFeatures* features, const ArrayRef<const MethodDebugInfo>& method_infos) argument 132 WriteDebugElfFileForMethods( InstructionSet isa, const InstructionSetFeatures* features, const ArrayRef<const MethodDebugInfo>& method_infos) argument 166 WriteDebugElfFileForClasses(InstructionSet isa, const InstructionSetFeatures* features, const ArrayRef<mirror::Class*>& types) argument [all...] |
H A D | method_debug_info.h | 33 InstructionSet isa; member in struct:art::debug::MethodDebugInfo
|
H A D | elf_debug_loc_writer.h | 34 static Reg GetDwarfCoreReg(InstructionSet isa, int machine_reg) { argument 35 switch (isa) { 55 static Reg GetDwarfFpReg(InstructionSet isa, int machine_reg) { argument 56 switch (isa) { 96 InstructionSet isa) { 115 const uint32_t pc_offset = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa); 184 InstructionSet isa, 201 isa); 206 const bool is64bit = Is64BitInstructionSet(isa); 227 expr.WriteOpReg(GetDwarfCoreReg(isa, valu 88 GetVariableLocations( const MethodDebugInfo* method_info, const std::vector<DexRegisterMap>& dex_register_maps, uint16_t vreg, bool is64bitValue, uint64_t compilation_unit_code_address, uint32_t dex_pc_low, uint32_t dex_pc_high, InstructionSet isa) argument 177 WriteDebugLocEntry(const MethodDebugInfo* method_info, const std::vector<DexRegisterMap>& dex_register_maps, uint16_t vreg, bool is64bitValue, uint64_t compilation_unit_code_address, uint32_t dex_pc_low, uint32_t dex_pc_high, InstructionSet isa, dwarf::DebugInfoEntryWriter<>* debug_info, std::vector<uint8_t>* debug_loc_buffer, std::vector<uint8_t>* debug_ranges_buffer) argument [all...] |
H A D | elf_symtab_writer.h | 85 address += CompiledMethod::CodeDelta(info.isa); 92 if (info.isa == kThumb2) {
|
H A D | elf_gnu_debugdata_writer.h | 81 InstructionSet isa, 89 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, features, &out)); 80 MakeMiniDebugInfoInternal( InstructionSet isa, const InstructionSetFeatures* features, size_t rodata_section_size, size_t text_section_size, const ArrayRef<const MethodDebugInfo>& method_infos) argument
|
H A D | elf_debug_line_writer.h | 56 const InstructionSet isa = builder_->GetIsa(); local 57 const bool is64bit = Is64BitInstructionSet(isa); 70 switch (isa) { 107 const uint32_t pc = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa);
|
/art/runtime/ |
H A D | prebuilt_tools_test.cc | 54 for (InstructionSet isa : isas) { 55 std::string tools_dir = GetAndroidTargetToolsDir(isa); 57 ADD_FAILURE() << "Cannot find Android tools directory for " << isa;
|
H A D | oat_file_assistant.h | 115 // The isa should be either the 32 bit or 64 bit variant for the current 122 const InstructionSet isa, 252 InstructionSet isa, 263 InstructionSet isa, 274 static std::unique_ptr<ImageInfo> GetRuntimeImageInfo(InstructionSet isa,
|
H A D | atomic.h | 48 static constexpr bool NeedSwapMutexes(InstructionSet isa) { argument 50 return (isa == kMips) || (isa == kMips64); 150 static bool LongAtomicsUseMutexes(InstructionSet isa) { argument 151 return NeedSwapMutexes(isa);
|
/art/compiler/optimizing/ |
H A D | optimizing_cfi_test.cc | 62 void SetUpFrame(InstructionSet isa) { argument 65 isa_features_ = InstructionSetFeatures::FromVariant(isa, "default", &error); 68 code_gen_ = CodeGenerator::Create(graph_, isa, *isa_features_, opts_); 102 void Check(InstructionSet isa, argument 112 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi); 119 void TestImpl(InstructionSet isa, const char* argument 123 SetUpFrame(isa); 125 Check(isa, isa_str, expected_asm, expected_cfi); 160 #define TEST_ISA(isa) \ 161 TEST_F(OptimizingCFITest, isa) { \ [all...] |
H A D | instruction_simplifier_shared.h | 41 inline bool HasShifterOperand(HInstruction* instr, InstructionSet isa) { argument 44 bool res = instr->IsAdd() || instr->IsAnd() || (isa == kArm64 && instr->IsNeg()) || 51 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa); 61 bool TryCombineVecMultiplyAccumulate(HVecMul* mul, InstructionSet isa);
|
H A D | instruction_simplifier_shared.cc | 88 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa) { argument 90 switch (isa) { 149 } else if (use->IsNeg() && isa != kArm) { 281 bool TryCombineVecMultiplyAccumulate(HVecMul* mul, InstructionSet isa) { argument 283 switch (isa) {
|
/art/runtime/gc/space/ |
H A D | image_space_fs.h | 90 static void PruneDalvikCache(InstructionSet isa) { argument 91 CHECK_NE(isa, kNone); 96 // Prune /data/dalvik-cache/<isa>. 97 impl::DeleteDirectoryContents(GetDalvikCache(GetInstructionSetString(isa)), false); 109 static void MarkZygoteStart(const InstructionSet isa, const uint32_t max_failed_boots) { argument 110 const std::string isa_subdir = GetDalvikCache(GetInstructionSetString(isa));
|