/art/compiler/utils/ |
D | string_reference.h | 31 StringReference(const DexFile* file, uint32_t index) : dex_file(file), string_index(index) { } in StringReference() 34 uint32_t string_index; member 48 sr1.string_index < sr2.string_index, in operator() 50 sr1.dex_file->GetStringData(sr1.dex_file->GetStringId(sr1.string_index)), in operator() 51 sr1.dex_file->GetStringData(sr2.dex_file->GetStringId(sr2.string_index))) < 0); in operator() 52 return sr1.string_index < sr2.string_index; in operator() 56 sr1.dex_file->GetStringData(sr1.dex_file->GetStringId(sr1.string_index)), in operator() 57 sr1.dex_file->GetStringData(sr2.dex_file->GetStringId(sr2.string_index))) < 0; in operator()
|
/art/runtime/native/ |
D | java_lang_DexCache.cc | 59 static jobject DexCache_getResolvedString(JNIEnv* env, jobject javaDexCache, jint string_index) { in DexCache_getResolvedString() argument 62 CHECK_LT(static_cast<size_t>(string_index), dex_cache->NumStrings()); in DexCache_getResolvedString() 63 return soa.AddLocalReference<jobject>(dex_cache->GetResolvedString(string_index)); in DexCache_getResolvedString() 74 static void DexCache_setResolvedString(JNIEnv* env, jobject javaDexCache, jint string_index, in DexCache_setResolvedString() argument 78 CHECK_LT(static_cast<size_t>(string_index), dex_cache->NumStrings()); in DexCache_setResolvedString() 79 dex_cache->SetResolvedString(string_index, soa.Decode<mirror::String*>(string)); in DexCache_setResolvedString()
|
/art/compiler/optimizing/ |
D | sharpening.cc | 161 uint32_t string_index = load_string->GetStringIndex(); in ProcessLoadString() local 178 mirror::String* string = class_linker->ResolveString(dex_file, string_index, dex_cache); in ProcessLoadString() 193 mirror::String* string = dex_cache->GetResolvedString(string_index); in ProcessLoadString() 204 void* dex_cache_element_address = &dex_cache->GetStrings()[string_index]; in ProcessLoadString() 209 mirror::String* string = class_linker->LookupString(dex_file, string_index, dex_cache); in ProcessLoadString() 236 load_string->SetLoadKindWithStringReference(load_kind, dex_file, string_index); in ProcessLoadString() 246 size_t element_index = layout.StringOffset(string_index); in ProcessLoadString()
|
D | code_generator_arm.h | 441 PcRelativePatchInfo* NewPcRelativeStringPatch(const DexFile& dex_file, uint32_t string_index); 444 Literal* DeduplicateBootImageStringLiteral(const DexFile& dex_file, uint32_t string_index);
|
D | code_generator_arm64.h | 482 uint32_t string_index, 494 uint32_t string_index);
|
D | code_generator.h | 484 : dex_file(df), string_index(index), label() { } in StringPatchInfo() 487 uint32_t string_index; member
|
D | code_generator_arm64.cc | 348 const uint32_t string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local 349 __ Mov(calling_convention.GetRegisterAt(0).W(), string_index); in EmitNativeCode() 3758 uint32_t string_index, in NewPcRelativeStringPatch() argument 3760 return NewPcRelativePatch(dex_file, string_index, adrp_label, &pc_relative_string_patches_); in NewPcRelativeStringPatch() 3783 const DexFile& dex_file, uint32_t string_index) { in DeduplicateBootImageStringLiteral() argument 3785 StringReference(&dex_file, string_index), in DeduplicateBootImageStringLiteral() 3840 target_string.string_index)); in EmitLinkerPatches() 4049 uint32_t string_index = load->GetStringIndex(); in VisitLoadString() local 4050 vixl::Label* adrp_label = codegen_->NewPcRelativeStringPatch(dex_file, string_index); in VisitLoadString() 4058 codegen_->NewPcRelativeStringPatch(dex_file, string_index, adrp_label); in VisitLoadString()
|
D | instruction_builder.cc | 2588 uint32_t string_index = instruction.VRegB_21c(); in ProcessDexInstruction() local 2590 new (arena_) HLoadString(graph_->GetCurrentMethod(), string_index, *dex_file_, dex_pc)); in ProcessDexInstruction() 2596 uint32_t string_index = instruction.VRegB_31c(); in ProcessDexInstruction() local 2598 new (arena_) HLoadString(graph_->GetCurrentMethod(), string_index, *dex_file_, dex_pc)); in ProcessDexInstruction()
|
D | code_generator_arm.cc | 262 const uint32_t string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local 263 __ LoadImmediate(calling_convention.GetRegisterAt(0), string_index); in EmitNativeCode() 6447 const DexFile& dex_file, uint32_t string_index) { in NewPcRelativeStringPatch() argument 6448 return NewPcRelativePatch(dex_file, string_index, &pc_relative_string_patches_); in NewPcRelativeStringPatch() 6463 uint32_t string_index) { in DeduplicateBootImageStringLiteral() argument 6465 StringReference(&dex_file, string_index), in DeduplicateBootImageStringLiteral() 6541 target_string.string_index)); in EmitLinkerPatches() 6545 uint32_t string_index = info.offset_or_index; in EmitLinkerPatches() local 6554 string_index)); in EmitLinkerPatches() 6561 string_index)); in EmitLinkerPatches()
|
D | nodes.h | 5475 uint32_t string_index, in HLoadString() argument 5479 string_index_(string_index) { in HLoadString() 5494 uint32_t string_index) { in SetLoadKindWithStringReference() argument 5497 string_index_ = string_index; in SetLoadKindWithStringReference()
|
D | code_generator_x86.cc | 218 const uint32_t string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local 219 __ movl(calling_convention.GetRegisterAt(0), Immediate(string_index)); in EmitNativeCode() 4497 info.string_index)); in EmitLinkerPatches() 4504 info.string_index)); in EmitLinkerPatches()
|
D | code_generator_mips64.cc | 242 const uint32_t string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local 243 __ LoadConst32(calling_convention.GetRegisterAt(0), string_index); in EmitNativeCode()
|
D | code_generator_x86_64.cc | 295 const uint32_t string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local 296 __ movl(CpuRegister(calling_convention.GetRegisterAt(0)), Immediate(string_index)); in EmitNativeCode() 937 info.string_index)); in EmitLinkerPatches()
|
D | code_generator_mips.cc | 287 const uint32_t string_index = instruction_->AsLoadString()->GetStringIndex(); in EmitNativeCode() local 288 __ LoadConst32(calling_convention.GetRegisterAt(0), string_index); in EmitNativeCode()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 799 uint32_t string_index = inst->VRegB_21c(); in ResolveConstStrings() local 800 driver->CanAssumeStringIsPresentInDexCache(dex_file, string_index); in ResolveConstStrings() 804 uint32_t string_index = inst->VRegB_31c(); in ResolveConstStrings() local 805 driver->CanAssumeStringIsPresentInDexCache(dex_file, string_index); in ResolveConstStrings()
|