Home
last modified time | relevance | path

Searched refs:head_lir (Results 1 – 3 of 3) sorted by relevance

/art/compiler/dex/quick/
Dlocal_optimizations.cc73 void Mir2Lir::ApplyLoadStoreElimination(LIR* head_lir, LIR* tail_lir) { in ApplyLoadStoreElimination() argument
76 if (head_lir == tail_lir) { in ApplyLoadStoreElimination()
80 for (this_lir = PREV_LIR(tail_lir); this_lir != head_lir; this_lir = PREV_LIR(this_lir)) { in ApplyLoadStoreElimination()
274 void Mir2Lir::ApplyLoadHoisting(LIR* head_lir, LIR* tail_lir) { in ApplyLoadHoisting() argument
283 if (head_lir == tail_lir) { in ApplyLoadHoisting()
288 for (this_lir = NEXT_LIR(head_lir); this_lir != tail_lir; this_lir = NEXT_LIR(this_lir)) { in ApplyLoadHoisting()
323 for (check_lir = PREV_LIR(this_lir); check_lir != head_lir; check_lir = PREV_LIR(check_lir)) { in ApplyLoadHoisting()
385 prev_inst_list[next_slot++] = head_lir; in ApplyLoadHoisting()
462 void Mir2Lir::ApplyLocalOptimizations(LIR* head_lir, LIR* tail_lir) { in ApplyLocalOptimizations() argument
464 ApplyLoadStoreElimination(head_lir, tail_lir); in ApplyLocalOptimizations()
[all …]
Dmir_to_lir.cc701 LIR* head_lir = NULL; in MethodBlockCodeGen() local
705 head_lir = NewLIR0(kPseudoExportedPC); in MethodBlockCodeGen()
746 if (head_lir == NULL) { in MethodBlockCodeGen()
747 head_lir = boundary_lir; in MethodBlockCodeGen()
749 head_lir->def_mask = ENCODE_ALL; in MethodBlockCodeGen()
771 if (head_lir) { in MethodBlockCodeGen()
773 ApplyLocalOptimizations(head_lir, last_lir_insn_); in MethodBlockCodeGen()
Dmir_to_lir.h302 void ApplyLoadStoreElimination(LIR* head_lir, LIR* tail_lir);
303 void ApplyLoadHoisting(LIR* head_lir, LIR* tail_lir);
304 void ApplyLocalOptimizations(LIR* head_lir, LIR* tail_lir);