/art/compiler/dex/quick/ |
H A D | dex_file_to_method_inliner_map.cc | 40 DexFileMethodInliner* DexFileToMethodInlinerMap::GetMethodInliner(const DexFile* dex_file) { argument 44 auto it = inliners_.find(dex_file); 59 DexFileMethodInliner** inliner = &inliners_[dex_file]; // inserts new entry if not found 68 locked_inliner->FindIntrinsics(dex_file);
|
/art/runtime/ |
H A D | dex_method_iterator_test.cc | 38 const DexFile& dex_file = it.GetDexFile(); local 42 LG << invoke_type << " " << PrettyMethod(method_idx, dex_file);
|
H A D | field_helper.cc | 20 #include "dex_file.h" 33 const DexFile* dex_file = field_->GetDexFile(); local 34 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
|
H A D | method_reference.h | 28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { 30 const DexFile* dex_file; member in struct:art::MethodReference 36 if (mr1.dex_file == mr2.dex_file) { 39 return mr1.dex_file < mr2.dex_file;
|
H A D | dex_file_verifier.h | 22 #include "dex_file.h" 29 static bool Verify(const DexFile* dex_file, const byte* begin, size_t size, 37 DexFileVerifier(const DexFile* dex_file, const byte* begin, size_t size, const char* location) argument 38 : dex_file_(dex_file), begin_(begin), size_(size), location_(location), 39 header_(&dex_file->GetHeader()), ptr_(NULL), previous_item_(NULL) {
|
H A D | dex_method_iterator.h | 22 #include "dex_file.h" 130 const DexFile* dex_file = dex_files_[dex_file_index_]; local 131 CHECK(dex_file != NULL); 132 return *dex_file;
|
H A D | method_helper-inl.h | 30 const DexFile* dex_file = method_->GetDexFile(); local 31 const DexFile::MethodId& mid = dex_file->GetMethodId(GetMethod()->GetDexMethodIndex()); 34 dex_file->GetMethodId(other->GetMethod()->GetDexMethodIndex()); 40 if (!DexFileStringEquals(dex_file, mid.name_idx_, other_dex_file, other_mid.name_idx_)) { 43 return dex_file->GetMethodSignature(mid) == other_dex_file->GetMethodSignature(other_mid); 58 const DexFile* dex_file = method->GetDexFile(); local 59 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); 60 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
|
H A D | method_helper.cc | 20 #include "dex_file-inl.h" 29 const DexFile* dex_file = method_->GetDexFile(); local 32 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); 35 return Runtime::Current()->GetClassLinker()->ResolveString(*dex_file, method_id.name_idx_,
|
H A D | dex_file_verifier_test.cc | 129 const DexFile* dex_file = tmp[0]; local 130 EXPECT_EQ(PROT_READ, dex_file->GetPermissions()); 131 EXPECT_TRUE(dex_file->IsReadOnly()); 132 return dex_file; 159 static void FixUpChecksum(byte* dex_file) { argument 160 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(dex_file); 164 const byte* non_sum_ptr = dex_file + non_sum; 195 const DexFile* dex_file = tmp[0]; local 196 EXPECT_EQ(PROT_READ, dex_file->GetPermissions()); 197 EXPECT_TRUE(dex_file [all...] |
/art/test/116-nodex2oat/ |
H A D | nodex2oat.cc | 18 #include "dex_file-inl.h" 30 const DexFile& dex_file = klass->GetDexFile(); local 32 Runtime::Current()->GetClassLinker()->FindOpenedOatDexFileForDexFile(dex_file);
|
/art/test/118-noimage-dex2oat/ |
H A D | noimage-dex2oat.cc | 18 #include "dex_file-inl.h" 30 const DexFile& dex_file = klass->GetDexFile(); local 32 Runtime::Current()->GetClassLinker()->FindOpenedOatDexFileForDexFile(dex_file);
|
/art/compiler/driver/ |
H A D | dex_compilation_unit.cc | 30 dex_file_(cu->dex_file), 35 verified_method_(cu_->compiler_driver->GetVerifiedMethod(cu->dex_file, cu->method_idx)) { 41 const DexFile& dex_file, 50 dex_file_(&dex_file), 38 DexCompilationUnit(CompilationUnit* cu, jobject class_loader, ClassLinker* class_linker, const DexFile& dex_file, const DexFile::CodeItem* code_item, uint16_t class_def_idx, uint32_t method_idx, uint32_t access_flags, const VerifiedMethod* verified_method) argument
|
H A D | compiler_driver_test.cc | 25 #include "dex_file.h" 72 const DexFile* dex_file = class_path[i]; local 73 CHECK(dex_file != NULL); 74 MakeDexFileExecutable(class_loader, *dex_file); 78 void MakeDexFileExecutable(jobject class_loader, const DexFile& dex_file) { argument 80 for (size_t i = 0; i < dex_file.NumClassDefs(); i++) { 81 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i); 82 const char* descriptor = dex_file.GetClassDescriptor(class_def);
|
/art/runtime/mirror/ |
H A D | dex_cache.cc | 34 void DexCache::Init(const DexFile* dex_file, argument 40 CHECK(dex_file != nullptr); 47 SetFieldPtr<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); local
|
/art/runtime/native/ |
H A D | java_lang_DexCache.cc | 17 #include "dex_file.h" 30 const DexFile* dex_file = dex_cache->GetDexFile(); local 31 if (dex_file == NULL) { 34 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin())); 35 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size());
|
H A D | java_lang_VMClassLoader.cc | 82 const DexFile* dex_file = path[index]; local 85 const std::string& location(dex_file->GetBaseLocation());
|
/art/test/117-nopatchoat/ |
H A D | nopatchoat.cc | 18 #include "dex_file-inl.h" 30 const DexFile& dex_file = klass->GetDexFile(); local 33 Runtime::Current()->GetClassLinker()->FindOpenedOatDexFileForDexFile(dex_file);
|
/art/compiler/ |
H A D | compiler.cc | 36 const art::DexFile& dex_file); 46 const art::DexFile& dex_file) { 48 bool use_sea = (std::string::npos != PrettyMethod(method_idx, dex_file).find("fibonacci")); 57 dex_file); 77 const art::DexFile& dex_file); 81 const art::DexFile& dex_file); 105 const DexFile& dex_file) const OVERRIDE { 112 dex_file); 124 dex_file); 129 const DexFile& dex_file) cons 40 TryCompileWithSeaIR(const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument [all...] |
H A D | oat_test.cc | 40 const DexFile* dex_file) 43 compiler_driver_->GetCompiledMethod(MethodReference(dex_file, 148 const DexFile* dex_file = java_lang_dex_file_; local 149 uint32_t dex_file_checksum = dex_file->GetLocationChecksum(); 150 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file->GetLocation().c_str(), 153 CHECK_EQ(dex_file->GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); 154 for (size_t i = 0; i < dex_file->NumClassDefs(); i++) { 155 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); 156 const byte* class_data = dex_file->GetClassData(class_def); 159 ClassDataItemIterator it(*dex_file, class_dat [all...] |
/art/compiler/sea_ir/ |
H A D | frontend.cc | 45 jobject class_loader, const DexFile& dex_file, 47 LOG(INFO) << "Compiling " << PrettyMethod(method_idx, dex_file) << "."; 48 sea_ir::SeaGraph* ir_graph = sea_ir::SeaGraph::GetGraph(dex_file); 49 std::string symbol = "dex_" + MangleForJni(PrettyMethod(method_idx, dex_file)); 51 code_item, class_def_idx, method_idx, method_access_flags, dex_file); 55 MethodReference mref(&dex_file, method_idx); 60 LOG(INFO) << "Compiled SEA IR method " << PrettyMethod(method_idx, dex_file) << "."; 72 const DexFile& dex_file, 75 class_def_idx, method_idx, class_loader, dex_file, llvm_compilation_unit); 83 const art::DexFile& dex_file) { 40 CompileMethodWithSeaIr(CompilerDriver& compiler, CompilerBackend* compiler_backend, const DexFile::CodeItem* code_item, uint32_t method_access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, void* llvm_compilation_unit) argument 64 SeaIrCompileOneMethod(CompilerDriver& compiler, CompilerBackend* backend, const DexFile::CodeItem* code_item, uint32_t method_access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, void* llvm_compilation_unit) argument 79 SeaIrCompileMethod(art::CompilerDriver& compiler, const art::DexFile::CodeItem* code_item, uint32_t method_access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument [all...] |
/art/compiler/dex/ |
H A D | compiler_ir.h | 54 const DexFile* dex_file; // DexFile containing the method being compiled. member in struct:art::CompilationUnit
|
H A D | dex_to_dex_compiler.cc | 19 #include "dex_file-inl.h" 277 const art::DexFile& dex_file, 281 dex_file, code_item, class_def_idx, method_idx, access_flags, 282 driver.GetVerifiedMethod(&dex_file, method_idx)); 274 ArtCompileDEX(art::CompilerDriver& driver, const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file, art::DexToDexCompilationLevel dex_to_dex_compilation_level) argument
|
H A D | frontend.cc | 482 dex_file(nullptr), 530 LOG(INFO) << "TIMINGS " << PrettyMethod(method_idx, *dex_file); 555 static bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file, argument 570 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); 604 const char* invoke_method_shorty = dex_file.GetMethodShorty( 605 dex_file.GetMethodId(invoke_method_idx)); 608 << PrettyMethod(invoke_method_idx, dex_file) 623 jobject class_loader, const DexFile& dex_file, 625 VLOG(compiler) << "Compiling " << PrettyMethod(method_idx, dex_file) << " 618 CompileMethod(CompilerDriver& driver, Compiler* compiler, const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, void* llvm_compilation_unit) argument 805 CompileOneMethod(CompilerDriver& driver, Compiler* compiler, const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, void* compilation_unit) argument 822 ArtQuickCompileMethod(art::CompilerDriver& driver, const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument [all...] |
/art/compiler/llvm/ |
H A D | compiler_llvm.cc | 46 const DexFile& dex_file, 210 const art::DexFile& dex_file) { 215 NULL, class_loader, class_linker, dex_file, code_item, 216 class_def_idx, method_idx, access_flags, driver->GetVerifiedMethod(&dex_file, method_idx)); 224 const art::DexFile& dex_file) { 228 nullptr, nullptr, class_linker, dex_file, nullptr, 203 ArtCompileMethod(art::CompilerDriver* driver, const art::DexFile::CodeItem* code_item, uint32_t access_flags, art::InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const art::DexFile& dex_file) argument 222 ArtLLVMJniCompileMethod(art::CompilerDriver* driver, uint32_t access_flags, uint32_t method_idx, const art::DexFile& dex_file) argument
|
/art/compiler/sea_ir/code_gen/ |
H A D | code_gen.h | 150 const art::DexFile& dex_file): CodeGenPassVisitor(code_gen_data), dex_file_(dex_file) { } 149 CodeGenVisitor(CodeGenData* code_gen_data, const art::DexFile& dex_file) argument
|