Searched defs:isa (Results 1 - 18 of 18) sorted by relevance

/art/compiler/utils/
H A Dstack_checks.h37 static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa) { argument
/art/runtime/entrypoints/quick/
H A Dcallee_save_frame.h48 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { argument
50 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) :
51 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) :
52 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) :
53 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) :
54 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) :
55 isa == kNone ? (LOG(FATAL) << "kNone has no frame size", 0) :
56 (LOG(FATAL) << "Unknown instruction set" << isa, 0);
60 static constexpr size_t GetConstExprPointerSize(InstructionSet isa) { argument
72 GetCalleeSavePCOffset(InstructionSet isa, Runtime::CalleeSaveType type) argument
[all...]
H A Dquick_trampoline_entrypoints_test.cc28 static mirror::ArtMethod* CreateCalleeSaveMethod(InstructionSet isa,
36 r->SetInstructionSet(isa);
45 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size)
47 mirror::ArtMethod* save_method = CreateCalleeSaveMethod(isa, type);
51 << frame_info.FpSpillMask() << std::dec << " ISA " << isa; variable
54 static void CheckPCOffset(InstructionSet isa, Runtime::CalleeSaveType type, size_t pc_offset)
56 mirror::ArtMethod* save_method = CreateCalleeSaveMethod(isa, type);
60 " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; variable
71 #define CHECK_FRAME_SIZE(isa) \
72 CheckFrameSize(isa, Runtim
[all...]
/art/compiler/trampolines/
H A Dtrampoline_compiler.cc160 const std::vector<uint8_t>* CreateTrampoline64(InstructionSet isa, EntryPointCallingConvention abi, argument
162 switch (isa) {
168 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
173 const std::vector<uint8_t>* CreateTrampoline32(InstructionSet isa, EntryPointCallingConvention abi, argument
175 switch (isa) {
184 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
/art/runtime/
H A Dinstruction_set.cc21 const char* GetInstructionSetString(const InstructionSet isa) { argument
22 switch (isa) {
37 LOG(FATAL) << "Unknown ISA " << isa;
60 size_t GetInstructionSetAlignment(InstructionSet isa) { argument
61 switch (isa) {
78 LOG(FATAL) << "Unknown ISA " << isa;
92 size_t GetStackOverflowReservedBytes(InstructionSet isa) { argument
93 switch (isa) {
115 LOG(FATAL) << "Unknown instruction set" << isa;
H A Dinstruction_set.h77 const char* GetInstructionSetString(InstructionSet isa);
82 static inline size_t GetInstructionSetPointerSize(InstructionSet isa) { argument
83 switch (isa) {
100 LOG(FATAL) << "Unknown ISA " << isa;
105 size_t GetInstructionSetAlignment(InstructionSet isa);
107 static inline bool Is64BitInstructionSet(InstructionSet isa) { argument
108 switch (isa) {
123 LOG(FATAL) << "Unknown ISA " << isa;
128 static inline size_t GetBytesPerGprSpillLocation(InstructionSet isa) { argument
129 switch (isa) {
151 GetBytesPerFprSpillLocation(InstructionSet isa) argument
[all...]
H A Druntime.cc517 void Runtime::DidForkFromZygote(JNIEnv* env, NativeBridgeAction action, const char* isa) { argument
526 InitializeNativeBridge(env, isa);
H A Dstack.h659 size_t frame_size, int reg, InstructionSet isa) {
662 int spill_size = POPCOUNT(core_spills) * GetBytesPerGprSpillLocation(isa)
663 + POPCOUNT(fp_spills) * GetBytesPerFprSpillLocation(isa)
692 static int GetOutVROffset(uint16_t out_num, InstructionSet isa) { argument
657 GetVRegOffset(const DexFile::CodeItem* code_item, uint32_t core_spills, uint32_t fp_spills, size_t frame_size, int reg, InstructionSet isa) argument
H A Dutils.cc1279 static void InsertIsaDirectory(const InstructionSet isa, std::string* filename) { argument
1281 // out = /foo/bar/<isa>/baz
1283 CHECK_NE(pos, std::string::npos) << *filename << " " << isa; local
1285 filename->insert(pos + 1, GetInstructionSetString(isa));
1288 std::string GetSystemImageFilename(const char* location, const InstructionSet isa) { argument
1290 // filename = /system/framework/<isa>/boot.art
1292 InsertIsaDirectory(isa, &filename);
1296 std::string DexFilenameToOdexFilename(const std::string& location, const InstructionSet isa) { argument
1298 // odex_location = /foo/bar/<isa>/baz.odex
1302 InsertIsaDirectory(isa,
[all...]
H A Dclass_linker.cc1181 InstructionSet isa,
1187 std::unique_ptr<const OatFile> oat_file(OpenOatFileFromDexLocation(dex_location_str, isa,
1205 !VerifyOatImageChecksum(oat_file.get(), isa)) {
1228 InstructionSet isa,
1234 std::string odex_filename(DexFilenameToOdexFilename(dex_location, isa));
1294 if (odex_oat_file.get() != nullptr && CheckOatFile(odex_oat_file.get(), isa,
1317 if (cache_oat_file.get() != nullptr && CheckOatFile(cache_oat_file.get(), isa,
1341 ret = PatchAndRetrieveOat(odex_filename, cache_filename, image_location, isa, &error_msg);
1344 ret = PatchAndRetrieveOat(cache_filename, cache_filename, image_location, isa, &error_msg);
1347 ret = GetInterpretedOnlyOat(odex_filename, isa,
1178 FindOatFileContainingDexFileFromDexLocation( const char* dex_location, const uint32_t* dex_location_checksum, InstructionSet isa, std::vector<std::string>* error_msgs, bool* obsolete_file_cleanup_failed) argument
1227 OpenOatFileFromDexLocation(const std::string& dex_location, InstructionSet isa, bool *already_opened, bool *obsolete_file_cleanup_failed, std::vector<std::string>* error_msgs) argument
1389 GetInterpretedOnlyOat(const std::string& oat_path, InstructionSet isa, std::string* error_msg) argument
1407 PatchAndRetrieveOat(const std::string& input_oat, const std::string& output_oat, const std::string& image_location, InstructionSet isa, std::string* error_msg) argument
1476 GetRequiredDelta(const OatFile* oat_file, InstructionSet isa) argument
1493 CheckOatFile(const OatFile* oat_file, InstructionSet isa, bool* checksum_verified, std::string* error_msg) argument
[all...]
/art/runtime/native/
H A Ddalvik_system_ZygoteHooks.cc115 InstructionSet isa = GetInstructionSetFromString(isa_string.c_str()); local
117 if (isa != kNone && isa != kRuntimeISA) {
H A Ddalvik_system_VMRuntime.cc163 InstructionSet isa = Runtime::Current()->GetInstructionSet(); local
164 const char* isa_string = GetInstructionSetString(isa);
530 InstructionSet isa = GetInstructionSetFromString(instruction_set.c_str()); local
531 if (isa == kNone) {
539 Runtime::Current()->GetImageLocation().c_str(), isa, &error_msg));
/art/compiler/dex/quick/x86/
H A Dcall_x86.cc221 InstructionSet isa = cu_->target64 ? kX86_64 : kX86; local
222 bool skip_overflow_check = mir_graph_->MethodIsLeaf() && !FrameNeedsStackCheck(frame_size_, isa);
230 int overflow = GetStackOverflowReservedBytes(isa);
/art/compiler/
H A Delf_writer_quick.h214 InstructionSet isa,
238 SetISA(isa);
271 void SetISA(InstructionSet isa);
212 ElfBuilder(OatWriter* oat_writer, File* elf_file, InstructionSet isa, Elf32_Word rodata_relative_offset, Elf32_Word rodata_size, Elf32_Word text_relative_offset, Elf32_Word text_size, const bool add_symbols, bool debug = false) argument
H A Delf_writer_quick.cc831 void ElfWriterQuick::ElfBuilder::SetISA(InstructionSet isa) { argument
832 switch (isa) {
866 LOG(FATAL) << "Unknown instruction set: " << isa;
/art/runtime/gc/space/
H A Dimage_space.cc76 static void PruneDexCache(InstructionSet isa) { argument
77 CHECK_NE(isa, kNone);
80 // prune /data/dalvik-cache/<isa>
81 RealPruneDexCache(GetDalvikCacheOrDie(GetInstructionSetString(isa), false));
101 // We do expect some directories (namely the <isa> for pruning the base dalvik-cache).
151 << "We should always be generating an image for the current isa.";
227 InstructionSet isa, std::string* error_msg) {
231 PruneDexCache(isa);
249 instruction_set_arg += GetInstructionSetString(isa);
226 RelocateImage(const char* image_location, const char* dest_filename, InstructionSet isa, std::string* error_msg) argument
/art/test/115-native-bridge/
H A Dnativebridge.cc211 const char* private_dir, const char* isa) {
210 native_bridge_initialize(const android::NativeBridgeRuntimeCallbacks* art_cbs, const char* private_dir, const char* isa) argument
/art/patchoat/
H A Dpatchoat.cc52 static InstructionSet ElfISAToInstructionSet(Elf32_Word isa) { argument
53 switch (isa) {
69 static bool LocationToFilename(const std::string& location, InstructionSet isa, argument
75 std::string system_filename(GetSystemImageFilename(location.c_str(), isa));
84 GetDalvikCache(GetInstructionSetString(isa), false, &dalvik_cache,
112 File* output_image, InstructionSet isa,
118 CHECK_NE(isa, kNone);
121 const char *isa_name = GetInstructionSetString(isa);
123 if (!LocationToFilename(image_location, isa, &image_filename)) {
190 File* output_oat, File* output_image, InstructionSet isa,
111 Patch(const std::string& image_location, off_t delta, File* output_image, InstructionSet isa, TimingLogger* timings) argument
189 Patch(const File* input_oat, const std::string& image_location, off_t delta, File* output_oat, File* output_image, InstructionSet isa, TimingLogger* timings) argument
784 InstructionSet isa = kNone; local
[all...]

Completed in 761 milliseconds