Home
last modified time | relevance | path

Searched refs:insert_pos (Results 1 – 7 of 7) sorted by relevance

/art/compiler/optimizing/
Dlinear_order.cc43 auto insert_pos = worklist->rbegin(); // insert_pos.base() will be the actual position. in AddToListForLinearization() local
44 for (auto end = worklist->rend(); insert_pos != end; ++insert_pos) { in AddToListForLinearization()
45 HBasicBlock* current = *insert_pos; in AddToListForLinearization()
54 worklist->insert(insert_pos.base(), block); in AddToListForLinearization()
Dcode_sinking.cc288 HInstruction* insert_pos = nullptr; in FindIdealPosition() local
291 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in FindIdealPosition()
292 insert_pos = use.GetUser(); in FindIdealPosition()
299 (insert_pos == nullptr || user->StrictlyDominates(insert_pos))) { in FindIdealPosition()
309 insert_pos = user; in FindIdealPosition()
313 if (insert_pos == nullptr) { in FindIdealPosition()
315 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()
316 DCHECK(insert_pos->IsControlFlow()); in FindIdealPosition()
318 if (insert_pos->IsIf()) { in FindIdealPosition()
319 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in FindIdealPosition()
[all …]
Dssa_liveness_analysis.h348 UsePositionList::iterator insert_pos; variable
350 insert_pos = next_pos;
354 uses_.insert_after(insert_pos, *new_use);
1061 UsePositionList::iterator insert_pos = uses_.before_begin(); in AddBackEdgeUses() local
1083 DCHECK(insert_pos != uses_.before_begin() in AddBackEdgeUses()
1084 ? back_edge_use_position > insert_pos->GetPosition() in AddBackEdgeUses()
1086 << std::distance(uses_.before_begin(), insert_pos); in AddBackEdgeUses()
1089 insert_pos = uses_.insert_after(insert_pos, *new_use); in AddBackEdgeUses()
Dnodes.cc2034 HInstruction* insert_pos = nullptr; in MoveBeforeFirstUserAndOutOfLoops() local
2037 (insert_pos == nullptr || use.GetUser()->StrictlyDominates(insert_pos))) { in MoveBeforeFirstUserAndOutOfLoops()
2038 insert_pos = use.GetUser(); in MoveBeforeFirstUserAndOutOfLoops()
2041 if (insert_pos == nullptr) { in MoveBeforeFirstUserAndOutOfLoops()
2043 insert_pos = target_block->GetLastInstruction(); in MoveBeforeFirstUserAndOutOfLoops()
2044 DCHECK(insert_pos->IsControlFlow()); in MoveBeforeFirstUserAndOutOfLoops()
2046 if (insert_pos->IsIf()) { in MoveBeforeFirstUserAndOutOfLoops()
2047 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in MoveBeforeFirstUserAndOutOfLoops()
2048 if (if_input == insert_pos->GetPrevious()) { in MoveBeforeFirstUserAndOutOfLoops()
2049 insert_pos = if_input; in MoveBeforeFirstUserAndOutOfLoops()
[all …]
Dregister_allocator_linear_scan.cc1179 auto insert_pos = array->begin() + insert_at; in AddSorted() local
1181 array->insert(insert_pos, { interval->GetHighInterval(), interval }); in AddSorted()
1183 array->insert(insert_pos, { interval, interval->GetLowInterval() }); in AddSorted()
1185 array->insert(insert_pos, interval); in AddSorted()
/art/libdexfile/dex/
Dtype_lookup_table.cc73 uint32_t insert_pos = tail_pos; in Create() local
75 insert_pos = (insert_pos + 1) & mask; in Create()
76 } while (!entries[insert_pos].IsEmpty()); in Create()
78 entries[insert_pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
79 entries[tail_pos].SetNextPosDelta((insert_pos - tail_pos) & mask, mask_bits); in Create()
80 DCHECK(entries[insert_pos].IsLast(mask_bits)); in Create()
/art/libartbase/base/
Dhash_set_test.cc371 HashSet<std::string>::iterator insert_pos = hash_set.insert(test_string).first; in TEST_F() local
373 ASSERT_TRUE(it == insert_pos); in TEST_F()