Home
last modified time | relevance | path

Searched refs:resolver (Results 1 – 10 of 10) sorted by relevance

/art/compiler/optimizing/
Dparallel_move_test.cc187 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 …]
Dparallel_move_resolver.cc284 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()
Dparallel_move_resolver.h66 ScratchRegisterScope(ParallelMoveResolverWithSwap* resolver,
/art/tools/veridex/
Dhidden_api_finder.cc32 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 …]
Dprecise_hidden_api_finder.cc35 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()
Dresolver.cc147 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 …]
Dhidden_api_finder.h47 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);
Dflow_analysis.h111 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()
Dveridex.cc292 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()
DAndroid.bp23 "resolver.cc",