/art/runtime/entrypoints/quick/ |
D | callee_save_frame.h | 48 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { in GetCalleeSaveFrameSize() argument 50 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 51 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 52 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 53 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 54 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) : in GetCalleeSaveFrameSize() 55 isa == kNone ? (LOG(FATAL) << "kNone has no frame size", 0) : in GetCalleeSaveFrameSize() 56 (LOG(FATAL) << "Unknown instruction set" << isa, 0); in GetCalleeSaveFrameSize() 60 static constexpr size_t GetConstExprPointerSize(InstructionSet isa) { in GetConstExprPointerSize() argument 62 return (isa == kArm || isa == kThumb2) ? kArmPointerSize : in GetConstExprPointerSize() [all …]
|
D | quick_trampoline_entrypoints_test.cc | 28 static mirror::ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, in CreateCalleeSaveMethod() argument 36 r->SetInstructionSet(isa); in CreateCalleeSaveMethod() 45 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size) in CheckFrameSize() argument 47 mirror::ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); in CheckFrameSize() 51 << frame_info.FpSpillMask() << std::dec << " ISA " << isa; in CheckFrameSize() 54 static void CheckPCOffset(InstructionSet isa, Runtime::CalleeSaveType type, size_t pc_offset) in CheckPCOffset() argument 56 mirror::ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); in CheckPCOffset() 60 " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; in CheckPCOffset() 71 #define CHECK_FRAME_SIZE(isa) \ in TEST_F() argument 72 CheckFrameSize(isa, Runtime::kRefsAndArgs, GetCalleeSaveFrameSize(isa, Runtime::kRefsAndArgs)); \ in TEST_F() [all …]
|
/art/runtime/ |
D | instruction_set.h | 77 const char* GetInstructionSetString(InstructionSet isa); 82 static inline size_t GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize() argument 83 switch (isa) { in GetInstructionSetPointerSize() 100 LOG(FATAL) << "Unknown ISA " << isa; in GetInstructionSetPointerSize() 105 size_t GetInstructionSetAlignment(InstructionSet isa); 107 static inline bool Is64BitInstructionSet(InstructionSet isa) { in Is64BitInstructionSet() argument 108 switch (isa) { in Is64BitInstructionSet() 123 LOG(FATAL) << "Unknown ISA " << isa; in Is64BitInstructionSet() 128 static inline size_t InstructionSetPointerSize(InstructionSet isa) { in InstructionSetPointerSize() argument 129 return Is64BitInstructionSet(isa) ? 8U : 4U; in InstructionSetPointerSize() [all …]
|
D | instruction_set.cc | 21 const char* GetInstructionSetString(const InstructionSet isa) { in GetInstructionSetString() argument 22 switch (isa) { in GetInstructionSetString() 37 LOG(FATAL) << "Unknown ISA " << isa; in GetInstructionSetString() 60 size_t GetInstructionSetAlignment(InstructionSet isa) { in GetInstructionSetAlignment() argument 61 switch (isa) { in GetInstructionSetAlignment() 78 LOG(FATAL) << "Unknown ISA " << isa; in GetInstructionSetAlignment() 92 size_t GetStackOverflowReservedBytes(InstructionSet isa) { in GetStackOverflowReservedBytes() argument 93 switch (isa) { in GetStackOverflowReservedBytes() 115 LOG(FATAL) << "Unknown instruction set" << isa; in GetStackOverflowReservedBytes()
|
D | utils.cc | 1279 static void InsertIsaDirectory(const InstructionSet isa, std::string* filename) { in InsertIsaDirectory() argument 1283 CHECK_NE(pos, std::string::npos) << *filename << " " << isa; in InsertIsaDirectory() 1285 filename->insert(pos + 1, GetInstructionSetString(isa)); in InsertIsaDirectory() 1288 std::string GetSystemImageFilename(const char* location, const InstructionSet isa) { in GetSystemImageFilename() argument 1292 InsertIsaDirectory(isa, &filename); in GetSystemImageFilename() 1296 std::string DexFilenameToOdexFilename(const std::string& location, const InstructionSet isa) { in DexFilenameToOdexFilename() argument 1302 InsertIsaDirectory(isa, &odex_location); in DexFilenameToOdexFilename()
|
D | stack.h | 673 size_t frame_size, int reg, InstructionSet isa) { in GetVRegOffset() argument 676 int spill_size = POPCOUNT(core_spills) * GetBytesPerGprSpillLocation(isa) in GetVRegOffset() 677 + POPCOUNT(fp_spills) * GetBytesPerFprSpillLocation(isa) in GetVRegOffset() 706 static int GetOutVROffset(uint16_t out_num, InstructionSet isa) { in GetOutVROffset() argument
|
D | class_linker.h | 601 InstructionSet isa, 608 InstructionSet isa, 612 const std::string& image_location, InstructionSet isa, 616 bool CheckOatFile(const Runtime* runtime, const OatFile* oat_file, InstructionSet isa, 640 InstructionSet isa,
|
D | utils.h | 512 std::string GetSystemImageFilename(const char* location, InstructionSet isa); 517 std::string DexFilenameToOdexFilename(const std::string& location, InstructionSet isa);
|
D | class_linker.cc | 1201 InstructionSet isa, in FindOatFileContainingDexFileFromDexLocation() argument 1207 std::unique_ptr<const OatFile> oat_file(OpenOatFileFromDexLocation(dex_location_str, isa, in FindOatFileContainingDexFileFromDexLocation() 1225 !VerifyOatImageChecksum(oat_file.get(), isa)) { in FindOatFileContainingDexFileFromDexLocation() 1248 InstructionSet isa, in OpenOatFileFromDexLocation() argument 1254 std::string odex_filename(DexFilenameToOdexFilename(dex_location, isa)); in OpenOatFileFromDexLocation() 1315 if (odex_oat_file.get() != nullptr && CheckOatFile(runtime, odex_oat_file.get(), isa, in OpenOatFileFromDexLocation() 1339 if (cache_oat_file.get() != nullptr && CheckOatFile(runtime, cache_oat_file.get(), isa, in OpenOatFileFromDexLocation() 1363 ret = PatchAndRetrieveOat(odex_filename, cache_filename, image_location, isa, &error_msg); in OpenOatFileFromDexLocation() 1366 ret = PatchAndRetrieveOat(cache_filename, cache_filename, image_location, isa, &error_msg); in OpenOatFileFromDexLocation() 1369 ret = GetInterpretedOnlyOat(odex_filename, isa, &error_msg); in OpenOatFileFromDexLocation() [all …]
|
D | runtime.h | 408 void DidForkFromZygote(JNIEnv* env, NativeBridgeAction action, const char* isa);
|
D | runtime.cc | 530 void Runtime::DidForkFromZygote(JNIEnv* env, NativeBridgeAction action, const char* isa) { in DidForkFromZygote() argument 541 InitializeNativeBridge(env, isa); in DidForkFromZygote()
|
/art/patchoat/ |
D | patchoat.h | 50 static bool Patch(const std::string& art_location, off_t delta, File* art_out, InstructionSet isa, 55 off_t delta, File* oat_out, File* art_out, InstructionSet isa, 64 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, in PatchOat() argument 67 delta_(delta), isa_(isa), timings_(timings) {} in PatchOat() 68 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, in PatchOat() argument 72 delta_(delta), isa_(isa), timings_(timings) {} in PatchOat()
|
D | patchoat.cc | 52 static InstructionSet ElfISAToInstructionSet(Elf32_Word isa) { in ElfISAToInstructionSet() argument 53 switch (isa) { in ElfISAToInstructionSet() 69 static bool LocationToFilename(const std::string& location, InstructionSet isa, in LocationToFilename() argument 75 std::string system_filename(GetSystemImageFilename(location.c_str(), isa)); in LocationToFilename() 84 GetDalvikCache(GetInstructionSetString(isa), false, &dalvik_cache, in LocationToFilename() 112 File* output_image, InstructionSet isa, in Patch() argument 118 CHECK_NE(isa, kNone); in Patch() 121 const char *isa_name = GetInstructionSetString(isa); in Patch() 123 if (!LocationToFilename(image_location, isa, &image_filename)) { in Patch() 179 PatchOat p(isa, image.release(), ispc->GetLiveBitmap(), ispc->GetMemMap(), in Patch() [all …]
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 160 const std::vector<uint8_t>* CreateTrampoline64(InstructionSet isa, EntryPointCallingConvention abi, in CreateTrampoline64() argument 162 switch (isa) { in CreateTrampoline64() 168 LOG(FATAL) << "Unexpected InstructionSet: " << isa; in CreateTrampoline64() 173 const std::vector<uint8_t>* CreateTrampoline32(InstructionSet isa, EntryPointCallingConvention abi, in CreateTrampoline32() argument 175 switch (isa) { in CreateTrampoline32() 184 LOG(FATAL) << "Unexpected InstructionSet: " << isa; in CreateTrampoline32()
|
D | trampoline_compiler.h | 28 const std::vector<uint8_t>* CreateTrampoline32(InstructionSet isa, EntryPointCallingConvention abi, 31 const std::vector<uint8_t>* CreateTrampoline64(InstructionSet isa, EntryPointCallingConvention abi,
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 121 InstructionSet isa = GetInstructionSetFromString(isa_string.c_str()); in ZygoteHooks_nativePostForkChild() local 123 if (isa != kNone && isa != kRuntimeISA) { in ZygoteHooks_nativePostForkChild()
|
D | dalvik_system_VMRuntime.cc | 163 InstructionSet isa = Runtime::Current()->GetInstructionSet(); in VMRuntime_vmInstructionSet() local 164 const char* isa_string = GetInstructionSetString(isa); in VMRuntime_vmInstructionSet() 530 InstructionSet isa = GetInstructionSetFromString(instruction_set.c_str()); in VMRuntime_isBootClassPathOnDisk() local 531 if (isa == kNone) { in VMRuntime_isBootClassPathOnDisk() 539 Runtime::Current()->GetImageLocation().c_str(), isa, &error_msg)); in VMRuntime_isBootClassPathOnDisk()
|
/art/compiler/utils/ |
D | stack_checks.h | 37 static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa) { in FrameNeedsStackCheck() argument
|
/art/runtime/gc/space/ |
D | image_space.cc | 78 static void PruneDalvikCache(InstructionSet isa) { in PruneDalvikCache() argument 79 CHECK_NE(isa, kNone); in PruneDalvikCache() 83 RealPruneDalvikCache(GetDalvikCacheOrDie(GetInstructionSetString(isa), false)); in PruneDalvikCache() 124 static void MarkZygoteStart(const InstructionSet isa) { in MarkZygoteStart() argument 125 const std::string isa_subdir = GetDalvikCacheOrDie(GetInstructionSetString(isa), false); in MarkZygoteStart() 252 InstructionSet isa, std::string* error_msg) { in RelocateImage() argument 256 PruneDalvikCache(isa); in RelocateImage() 274 instruction_set_arg += GetInstructionSetString(isa); in RelocateImage()
|
/art/compiler/ |
D | elf_writer_quick.h | 214 InstructionSet isa, 238 SetISA(isa); in oat_writer_() 271 void SetISA(InstructionSet isa);
|
D | elf_writer_quick.cc | 831 void ElfWriterQuick::ElfBuilder::SetISA(InstructionSet isa) { in SetISA() argument 832 switch (isa) { in SetISA() 866 LOG(FATAL) << "Unknown instruction set: " << isa; in SetISA()
|
/art/compiler/dex/quick/x86/ |
D | call_x86.cc | 221 InstructionSet isa = cu_->target64 ? kX86_64 : kX86; in GenEntrySequence() local 222 bool skip_overflow_check = mir_graph_->MethodIsLeaf() && !FrameNeedsStackCheck(frame_size_, isa); in GenEntrySequence() 230 int overflow = GetStackOverflowReservedBytes(isa); in GenEntrySequence()
|
/art/compiler/llvm/ |
D | ir_builder.cc | 115 CHECK(::llvm::isa< ::llvm::StructType>(type)); in getShadowFrameTy()
|
/art/runtime/arch/ |
D | arch_test.cc | 27 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size) in CheckFrameSize() argument 34 r->SetInstructionSet(isa); in CheckFrameSize()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 212 const char* app_code_cache_dir, const char* isa) { in native_bridge_initialize() argument
|