/art/compiler/optimizing/ |
D | parallel_move_test.cc | 187 TypeParam resolver(&allocator); in TYPED_TEST() local 189 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST() 191 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST() 193 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST() 198 TypeParam resolver(&allocator); in TYPED_TEST() local 200 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST() 202 ASSERT_STREQ("(2 -> 3) (1 -> 2) (1 -> 4) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST() 204 ASSERT_STREQ("(2 -> 3) (1 -> 2) (0 -> 1) (2 -> 4)", resolver.GetMessage().c_str()); in TYPED_TEST() 214 TypeParam resolver(&allocator); in TYPED_TEST() local 216 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST() [all …]
|
D | parallel_move_resolver.cc | 284 ParallelMoveResolverWithSwap* resolver, int blocked, int if_scratch, int number_of_registers) in ScratchRegisterScope() argument 285 : resolver_(resolver), in ScratchRegisterScope() 291 resolver->SpillScratch(reg_); in ScratchRegisterScope()
|
D | parallel_move_resolver.h | 66 ScratchRegisterScope(ParallelMoveResolverWithSwap* resolver,
|
/art/tools/veridex/ |
D | hidden_api_finder.cc | 32 VeridexResolver* resolver, in CheckMethod() argument 36 std::string name = HiddenApi::GetApiMethodName(resolver->GetDexFile(), method_id); in CheckMethod() 43 VeridexResolver* resolver, in CheckField() argument 47 std::string name = HiddenApi::GetApiFieldName(resolver->GetDexFile(), field_id); in CheckField() 53 void HiddenApiFinder::CollectAccesses(VeridexResolver* resolver) { in CollectAccesses() argument 54 const DexFile& dex_file = resolver->GetDexFile(); in CollectAccesses() 118 inst->VRegB_35c(), resolver, MethodReference(&dex_file, it.GetMemberIndex())); in CollectAccesses() 128 inst->VRegB_3rc(), resolver, MethodReference(&dex_file, it.GetMemberIndex())); in CollectAccesses() 140 inst->VRegC_22c(), resolver, MethodReference(&dex_file, it.GetMemberIndex())); in CollectAccesses() 152 inst->VRegC_22c(), resolver, MethodReference(&dex_file, it.GetMemberIndex())); in CollectAccesses() [all …]
|
D | precise_hidden_api_finder.cc | 35 for (const std::unique_ptr<VeridexResolver>& resolver : resolvers) { in RunInternal() local 36 const DexFile& dex_file = resolver->GetDexFile(); in RunInternal() 52 action(resolver.get(), it); in RunInternal() 71 RunInternal(resolvers, [this] (VeridexResolver* resolver, const ClassDataItemIterator& it) { in Run() argument 72 FlowAnalysisCollector collector(resolver, it); in Run() 74 AddUsesAt(collector.GetUses(), MethodReference(&resolver->GetDexFile(), it.GetMemberIndex())); in Run() 87 [this, current_uses] (VeridexResolver* resolver, const ClassDataItemIterator& it) { in Run() argument 88 FlowAnalysisSubstitutor substitutor(resolver, it, current_uses); in Run() 91 MethodReference(&resolver->GetDexFile(), it.GetMemberIndex())); in Run()
|
D | resolver.cc | 147 VeridexResolver* resolver = GetResolverOf(kls); in LookupMethodIn() local 150 const DexFile& other_dex_file = resolver->dex_file_; in LookupMethodIn() 168 VeriClass* super = resolver->GetVeriClass(kls.GetClassDef()->superclass_idx_); in LookupMethodIn() 170 VeriMethod super_method = resolver->LookupMethodIn(*super, method_name, method_signature); in LookupMethodIn() 182 VeriClass* itf = resolver->GetVeriClass(idx); in LookupMethodIn() 184 VeriMethod itf_method = resolver->LookupMethodIn(*itf, method_name, method_signature); in LookupMethodIn() 206 VeridexResolver* resolver = GetResolverOf(kls); in LookupFieldIn() local 209 const DexFile& other_dex_file = resolver->dex_file_; in LookupFieldIn() 229 VeriClass* itf = resolver->GetVeriClass(idx); in LookupFieldIn() 231 VeriField itf_field = resolver->LookupFieldIn(*itf, field_name, field_type); in LookupFieldIn() [all …]
|
D | hidden_api_finder.h | 47 void CollectAccesses(VeridexResolver* resolver); 48 void CheckMethod(uint32_t method_idx, VeridexResolver* resolver, MethodReference ref); 49 void CheckField(uint32_t field_idx, VeridexResolver* resolver, MethodReference ref);
|
D | flow_analysis.h | 111 VeriFlowAnalysis(VeridexResolver* resolver, const ClassDataItemIterator& it) in VeriFlowAnalysis() argument 112 : resolver_(resolver), in VeriFlowAnalysis() 114 code_item_accessor_(resolver->GetDexFile(), it.GetMethodCodeItem()), in VeriFlowAnalysis() 192 FlowAnalysisCollector(VeridexResolver* resolver, const ClassDataItemIterator& it) in FlowAnalysisCollector() argument 193 : VeriFlowAnalysis(resolver, it) {} in FlowAnalysisCollector() 210 FlowAnalysisSubstitutor(VeridexResolver* resolver, in FlowAnalysisSubstitutor() argument 213 : VeriFlowAnalysis(resolver, it), accesses_(accesses) {} in FlowAnalysisSubstitutor()
|
D | veridex.cc | 292 VeridexResolver* resolver = in Resolve() local 294 resolvers->emplace_back(resolver); in Resolve() 295 resolver_map[reinterpret_cast<uintptr_t>(dex_file->Begin())] = resolver; in Resolve() 298 for (const std::unique_ptr<VeridexResolver>& resolver : *resolvers) { in Resolve() 299 resolver->Run(); in Resolve()
|
D | Android.bp | 23 "resolver.cc",
|