/art/runtime/arch/ |
D | instruction_set.h | 28 enum class InstructionSet { enum 39 std::ostream& operator<<(std::ostream& os, const InstructionSet& rhs); 42 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm; 44 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm64; 46 static constexpr InstructionSet kRuntimeISA = InstructionSet::kMips; 48 static constexpr InstructionSet kRuntimeISA = InstructionSet::kMips64; 50 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86; 52 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86_64; 54 static constexpr InstructionSet kRuntimeISA = InstructionSet::kNone; 87 const char* GetInstructionSetString(InstructionSet isa); [all …]
|
D | instruction_set.cc | 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() [all …]
|
D | instruction_set_features.cc | 34 InstructionSet isa, const std::string& variant, std::string* error_msg) { in FromVariant() 36 case InstructionSet::kArm: in FromVariant() 37 case InstructionSet::kThumb2: in FromVariant() 39 case InstructionSet::kArm64: in FromVariant() 41 case InstructionSet::kMips: in FromVariant() 43 case InstructionSet::kMips64: in FromVariant() 45 case InstructionSet::kX86: in FromVariant() 47 case InstructionSet::kX86_64: in FromVariant() 50 case InstructionSet::kNone: in FromVariant() 57 std::unique_ptr<const InstructionSetFeatures> InstructionSetFeatures::FromBitmap(InstructionSet isa, in FromBitmap() [all …]
|
D | instruction_set_test.cc | 26 EXPECT_EQ(InstructionSet::kArm, GetInstructionSetFromString("arm")); in TEST() 27 EXPECT_EQ(InstructionSet::kArm64, GetInstructionSetFromString("arm64")); in TEST() 28 EXPECT_EQ(InstructionSet::kX86, GetInstructionSetFromString("x86")); in TEST() 29 EXPECT_EQ(InstructionSet::kX86_64, GetInstructionSetFromString("x86_64")); in TEST() 30 EXPECT_EQ(InstructionSet::kMips, GetInstructionSetFromString("mips")); in TEST() 31 EXPECT_EQ(InstructionSet::kMips64, GetInstructionSetFromString("mips64")); in TEST() 32 EXPECT_EQ(InstructionSet::kNone, GetInstructionSetFromString("none")); in TEST() 33 EXPECT_EQ(InstructionSet::kNone, GetInstructionSetFromString("random-string")); in TEST() 37 EXPECT_STREQ("arm", GetInstructionSetString(InstructionSet::kArm)); in TEST() 38 EXPECT_STREQ("arm", GetInstructionSetString(InstructionSet::kThumb2)); in TEST() [all …]
|
/art/runtime/entrypoints/quick/ |
D | callee_save_frame.h | 70 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, CalleeSaveType type) { in GetCalleeSaveFrameSize() 72 case InstructionSet::kArm: in GetCalleeSaveFrameSize() 73 case InstructionSet::kThumb2: in GetCalleeSaveFrameSize() 75 case InstructionSet::kArm64: in GetCalleeSaveFrameSize() 77 case InstructionSet::kMips: in GetCalleeSaveFrameSize() 79 case InstructionSet::kMips64: in GetCalleeSaveFrameSize() 81 case InstructionSet::kX86: in GetCalleeSaveFrameSize() 83 case InstructionSet::kX86_64: in GetCalleeSaveFrameSize() 85 case InstructionSet::kNone: in GetCalleeSaveFrameSize() 94 static constexpr PointerSize GetConstExprPointerSize(InstructionSet isa) { in GetConstExprPointerSize() [all …]
|
D | quick_trampoline_entrypoints_test.cc | 39 ASSERT_EQ(InstructionSet::kX86_64, Runtime::Current()->GetInstructionSet()); in FinalizeSetup() 42 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, CalleeSaveType type) in CreateCalleeSaveMethod() 57 static void CheckFrameSize(InstructionSet isa, CalleeSaveType type, uint32_t save_size) in CheckFrameSize() 66 static void CheckPCOffset(InstructionSet isa, CalleeSaveType type, size_t pc_offset) in CheckPCOffset() 106 CHECK_FRAME_SIZE(InstructionSet::kArm); in TEST_F() 107 CHECK_FRAME_SIZE(InstructionSet::kArm64); in TEST_F() 108 CHECK_FRAME_SIZE(InstructionSet::kMips); in TEST_F() 109 CHECK_FRAME_SIZE(InstructionSet::kMips64); in TEST_F() 110 CHECK_FRAME_SIZE(InstructionSet::kX86); in TEST_F() 111 CHECK_FRAME_SIZE(InstructionSet::kX86_64); in TEST_F() [all …]
|
/art/compiler/ |
D | compiled_method.cc | 26 InstructionSet instruction_set, in CompiledCode() 54 size_t CompiledCode::AlignCode(size_t offset, InstructionSet instruction_set) { in AlignCode() 62 size_t CompiledCode::CodeDelta(InstructionSet instruction_set) { in CodeDelta() 64 case InstructionSet::kArm: in CodeDelta() 65 case InstructionSet::kArm64: in CodeDelta() 66 case InstructionSet::kMips: in CodeDelta() 67 case InstructionSet::kMips64: in CodeDelta() 68 case InstructionSet::kX86: in CodeDelta() 69 case InstructionSet::kX86_64: in CodeDelta() 71 case InstructionSet::kThumb2: { in CodeDelta() [all …]
|
D | compiled_method.h | 43 InstructionSet instruction_set, 48 InstructionSet GetInstructionSet() const { in GetInstructionSet() 60 static size_t AlignCode(size_t offset, InstructionSet instruction_set); 65 static size_t CodeDelta(InstructionSet instruction_set); 70 static const void* CodePointer(const void* code_pointer, InstructionSet instruction_set); 74 MinimumBitsToStore(static_cast<size_t>(InstructionSet::kLast)); 97 using InstructionSetField = BitField<InstructionSet, 0u, kInstructionSetFieldSize>; 113 InstructionSet instruction_set, 127 InstructionSet instruction_set,
|
/art/disassembler/ |
D | disassembler.cc | 38 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() 39 if (instruction_set == InstructionSet::kArm || instruction_set == InstructionSet::kThumb2) { in Create() 41 } else if (instruction_set == InstructionSet::kArm64) { in Create() 43 } else if (instruction_set == InstructionSet::kMips) { in Create() 45 } else if (instruction_set == InstructionSet::kMips64) { in Create() 47 } else if (instruction_set == InstructionSet::kX86) { in Create() 49 } else if (instruction_set == InstructionSet::kX86_64) { in Create() 66 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler()
|
/art/compiler/utils/ |
D | jni_macro_assembler.cc | 51 InstructionSet instruction_set, in Create() 59 case InstructionSet::kArm: in Create() 60 case InstructionSet::kThumb2: in Create() 64 case InstructionSet::kMips: in Create() 72 case InstructionSet::kX86: in Create() 86 InstructionSet instruction_set, in Create() 94 case InstructionSet::kArm64: in Create() 98 case InstructionSet::kMips64: in Create() 106 case InstructionSet::kX86_64: in Create()
|
/art/runtime/arch/x86/ |
D | instruction_set_features_x86_test.cc | 26 InstructionSetFeatures::FromVariant(InstructionSet::kX86, "default", &error_msg)); in TEST() 28 EXPECT_EQ(x86_features->GetInstructionSet(), InstructionSet::kX86); in TEST() 39 InstructionSetFeatures::FromVariant(InstructionSet::kX86, "atom", &error_msg)); in TEST() 41 EXPECT_EQ(x86_features->GetInstructionSet(), InstructionSet::kX86); in TEST() 49 InstructionSetFeatures::FromVariant(InstructionSet::kX86, "default", &error_msg)); in TEST() 51 EXPECT_EQ(x86_default_features->GetInstructionSet(), InstructionSet::kX86); in TEST() 59 InstructionSetFeatures::FromVariant(InstructionSet::kX86_64, "atom", &error_msg)); in TEST() 61 EXPECT_EQ(x86_64_features->GetInstructionSet(), InstructionSet::kX86_64); in TEST() 76 InstructionSetFeatures::FromVariant(InstructionSet::kX86, "sandybridge", &error_msg)); in TEST() 78 EXPECT_EQ(x86_features->GetInstructionSet(), InstructionSet::kX86); in TEST() [all …]
|
/art/runtime/arch/mips/ |
D | instruction_set_features_mips_test.cc | 26 InstructionSetFeatures::FromVariant(InstructionSet::kMips, "default", &error_msg)); in TEST() 28 EXPECT_EQ(mips_features->GetInstructionSet(), InstructionSet::kMips); in TEST() 37 InstructionSetFeatures::FromVariant(InstructionSet::kMips, "mips32r1", &error_msg)); in TEST() 39 EXPECT_EQ(mips32r1_features->GetInstructionSet(), InstructionSet::kMips); in TEST() 45 InstructionSetFeatures::FromVariant(InstructionSet::kMips, "default", &error_msg)); in TEST() 53 InstructionSetFeatures::FromVariant(InstructionSet::kMips, "mips32r2", &error_msg)); in TEST() 55 EXPECT_EQ(mips32r2_features->GetInstructionSet(), InstructionSet::kMips); in TEST() 61 InstructionSetFeatures::FromVariant(InstructionSet::kMips, "default", &error_msg)); in TEST() 66 InstructionSetFeatures::FromVariant(InstructionSet::kMips, "mips32r1", &error_msg)); in TEST() 74 InstructionSetFeatures::FromVariant(InstructionSet::kMips, "mips32r5", &error_msg)); in TEST() [all …]
|
/art/runtime/arch/arm64/ |
D | instruction_set_features_arm64_test.cc | 27 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "default", &error_msg)); in TEST() 29 EXPECT_EQ(arm64_features->GetInstructionSet(), InstructionSet::kArm64); in TEST() 35 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "cortex-a57", &error_msg)); in TEST() 37 EXPECT_EQ(cortex_a57_features->GetInstructionSet(), InstructionSet::kArm64); in TEST() 43 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "cortex-a73", &error_msg)); in TEST() 45 EXPECT_EQ(cortex_a73_features->GetInstructionSet(), InstructionSet::kArm64); in TEST() 51 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "cortex-a35", &error_msg)); in TEST() 53 EXPECT_EQ(cortex_a35_features->GetInstructionSet(), InstructionSet::kArm64); in TEST() 59 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "kryo", &error_msg)); in TEST() 61 EXPECT_EQ(kryo_features->GetInstructionSet(), InstructionSet::kArm64); in TEST() [all …]
|
/art/compiler/debug/ |
D | elf_debug_loc_writer.h | 34 static Reg GetDwarfCoreReg(InstructionSet isa, int machine_reg) { in GetDwarfCoreReg() 36 case InstructionSet::kArm: in GetDwarfCoreReg() 37 case InstructionSet::kThumb2: in GetDwarfCoreReg() 39 case InstructionSet::kArm64: in GetDwarfCoreReg() 41 case InstructionSet::kX86: in GetDwarfCoreReg() 43 case InstructionSet::kX86_64: in GetDwarfCoreReg() 45 case InstructionSet::kMips: in GetDwarfCoreReg() 47 case InstructionSet::kMips64: in GetDwarfCoreReg() 49 case InstructionSet::kNone: in GetDwarfCoreReg() 55 static Reg GetDwarfFpReg(InstructionSet isa, int machine_reg) { in GetDwarfFpReg() [all …]
|
D | elf_debug_writer.h | 45 InstructionSet isa, 54 InstructionSet isa, 60 InstructionSet isa,
|
/art/compiler/jni/quick/ |
D | calling_convention.cc | 54 InstructionSet instruction_set) { in Create() 57 case InstructionSet::kArm: in Create() 58 case InstructionSet::kThumb2: in Create() 64 case InstructionSet::kArm64: in Create() 70 case InstructionSet::kMips: in Create() 76 case InstructionSet::kMips64: in Create() 82 case InstructionSet::kX86: in Create() 88 case InstructionSet::kX86_64: in Create() 156 InstructionSet instruction_set) { in Create() 159 case InstructionSet::kArm: in Create() [all …]
|
/art/runtime/arch/mips64/ |
D | instruction_set_features_mips64_test.cc | 26 InstructionSetFeatures::FromVariant(InstructionSet::kMips64, "default", &error_msg)); in TEST() 28 EXPECT_EQ(mips64_features->GetInstructionSet(), InstructionSet::kMips64); in TEST() 37 InstructionSetFeatures::FromVariant(InstructionSet::kMips64, "mips64r6", &error_msg)); in TEST() 39 EXPECT_EQ(mips64r6_features->GetInstructionSet(), InstructionSet::kMips64); in TEST() 45 InstructionSetFeatures::FromVariant(InstructionSet::kMips64, "default", &error_msg)); in TEST()
|
/art/simulator/ |
D | code_simulator.cc | 23 CodeSimulator* CodeSimulator::CreateCodeSimulator(InstructionSet target_isa) { in CreateCodeSimulator() 25 case InstructionSet::kArm64: in CreateCodeSimulator() 32 CodeSimulator* CreateCodeSimulator(InstructionSet target_isa) { in CreateCodeSimulator()
|
/art/compiler/linker/ |
D | relative_patcher.cc | 44 InstructionSet instruction_set, in Create() 98 case InstructionSet::kX86: in Create() 102 case InstructionSet::kX86_64: in Create() 106 case InstructionSet::kArm: in Create() 108 case InstructionSet::kThumb2: in Create() 112 case InstructionSet::kArm64: in Create() 117 case InstructionSet::kMips: in Create() 122 case InstructionSet::kMips64: in Create()
|
/art/runtime/arch/arm/ |
D | instruction_set_features_arm_test.cc | 27 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "krait", &error_msg)); in TEST() 30 ASSERT_EQ(krait_features->GetInstructionSet(), InstructionSet::kArm); in TEST() 39 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "kryo", &error_msg)); in TEST() 42 ASSERT_EQ(kryo_features->GetInstructionSet(), InstructionSet::kArm); in TEST() 51 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "denver", &error_msg)); in TEST() 65 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "generic", &error_msg)); in TEST() 78 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "arm6", &error_msg)); in TEST() 86 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "generic", &error_msg)); in TEST() 94 ASSERT_EQ(krait_features->GetInstructionSet(), InstructionSet::kArm); in TEST() 106 ASSERT_EQ(kryo_features->GetInstructionSet(), InstructionSet::kArm); in TEST()
|
/art/runtime/ |
D | prebuilt_tools_test.cc | 53 InstructionSet isas[] = { InstructionSet::kThumb2 }; in TEST_F() 54 for (InstructionSet isa : isas) { in TEST_F()
|
D | parsed_options_test.cc | 139 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F() 144 InstructionSet ISAs[] = { InstructionSet::kArm, in TEST_F() 145 InstructionSet::kArm64, in TEST_F() 146 InstructionSet::kX86, in TEST_F() 147 InstructionSet::kX86_64, in TEST_F() 148 InstructionSet::kMips, in TEST_F() 149 InstructionSet::kMips64 }; in TEST_F() 158 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F()
|
D | oat_file_assistant.h | 126 const InstructionSet isa, 134 const InstructionSet isa, 239 InstructionSet isa, 306 InstructionSet isa, 317 InstructionSet isa, 328 static std::unique_ptr<ImageInfo> GetRuntimeImageInfo(InstructionSet isa, 509 const InstructionSet isa_ = InstructionSet::kNone;
|
/art/compiler/optimizing/ |
D | optimizing_cfi_test.cc | 59 void SetUpFrame(InstructionSet isa) { in SetUpFrame() 103 void Check(InstructionSet isa, in Check() 120 void TestImpl(InstructionSet isa, const char* in TestImpl() 168 TestImpl(InstructionSet::isa, #isa, expected_asm, expected_cfi); \ 211 SetUpFrame(InstructionSet::kThumb2); in TEST_ISA() 223 Check(InstructionSet::kThumb2, "kThumb2_adjust", expected_asm, expected_cfi); in TEST_ISA() 242 SetUpFrame(InstructionSet::kMips); in TEST_F() 253 Check(InstructionSet::kMips, "kMips_adjust", expected_asm, expected_cfi); in TEST_F() 272 SetUpFrame(InstructionSet::kMips64); in TEST_F() 283 Check(InstructionSet::kMips64, "kMips64_adjust", expected_asm, expected_cfi); in TEST_F()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.h | 29 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, 32 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa,
|