Home | History | Annotate | Download | only in optimizing

Lines Matching defs:base

19 #include "base/arena_containers.h"
26 * Finds instructions that need the dex cache arrays base as an input.
38 // Bring the base closer to the first use (previously, it was in the
40 // while avoiding recalculation of the base in a loop.
41 HArmDexCacheArraysBase* base = entry.second;
42 base->MoveBeforeFirstUserAndOutOfLoops();
49 // we need to add the dex cache arrays base as the special input.
51 // Initialize base for target dex file if needed.
53 HArmDexCacheArraysBase* base = GetOrCreateDexCacheArrayBase(dex_file);
54 // Update the element offset in base.
56 base->UpdateElementOffset(layout.StringOffset(load_string->GetStringIndex()));
57 // Add the special argument base to the load.
58 load_string->AddSpecialInput(base);
64 // we need to add the dex cache arrays base as the special input.
66 // Initialize base for target method dex file if needed.
68 HArmDexCacheArraysBase* base = GetOrCreateDexCacheArrayBase(*target_method.dex_file);
69 // Update the element offset in base.
71 base->UpdateElementOffset(layout.MethodOffset(target_method.dex_method_index));
72 // Add the special argument base to the method.
74 invoke->AddSpecialInput(base);
86 // Insert the base at the start of the entry block, move it to a better
88 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file);
90 entry_block->InsertInstructionBefore(base, entry_block->GetFirstInstruction());
91 dex_cache_array_bases_.PutBefore(lb, &dex_file, base);
92 return base;