Home
last modified time | relevance | path

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

/art/compiler/dex/
Dglobal_value_numbering.cc109 } else if (bb->last_mir_insn != nullptr && in PrepareBasicBlock()
110 IsInstructionReturn(bb->last_mir_insn->dalvikInsn.opcode) && in PrepareBasicBlock()
111 bb->GetFirstNonPhiInsn() == bb->last_mir_insn) { in PrepareBasicBlock()
179 int s_reg = pred_bb->last_mir_insn->ssa_rep->uses[0]; in NullCheckedInAllPredecessors()
212 uint16_t operand = lvns_[pred_id]->GetSregValue(pred_bb->last_mir_insn->ssa_rep->uses[0]); in IsBlockEnteredOnTrue()
Dmir_optimization.cc625 if ((ft->first_mir_insn == ft->last_mir_insn) && in BasicBlockOpt()
626 (tk->first_mir_insn != tk->last_mir_insn) && in BasicBlockOpt()
627 (tk->first_mir_insn->next == tk->last_mir_insn) && in BasicBlockOpt()
631 (SelectKind(tk->last_mir_insn) == kSelectGoto)) { in BasicBlockOpt()
790 Instruction::Code opcode = prev->last_mir_insn->dalvikInsn.opcode; in LayoutBlocks()
806 prev->last_mir_insn->dalvikInsn.opcode = opcode; in LayoutBlocks()
821 (bb->last_mir_insn != nullptr) && in CombineBlocks()
822 (static_cast<int>(bb->last_mir_insn->dalvikInsn.opcode) == kMirOpCheck)) { in CombineBlocks()
823 MIR* mir = bb->last_mir_insn; in CombineBlocks()
841 MIR* last_to_move = bb_next->last_mir_insn; in CombineBlocks()
[all …]
Dmir_graph.cc205 bottom_block->last_mir_insn = orig_block->last_mir_insn; in SplitBlock()
253 orig_block->last_mir_insn = prev; in SplitBlock()
274 while (p != bottom_block->last_mir_insn) { in SplitBlock()
325 while (p != bottom_block->last_mir_insn) { in FindBlock()
1092 InsertMIRListAfter(last_mir_insn, mir, mir); in AppendMIR()
1097 InsertMIRListAfter(last_mir_insn, first_list_mir, last_list_mir); in AppendMIRList()
1105 InsertMIRListAfter(last_mir_insn, new_mir, new_mir); in AppendMIRList()
1123 last_mir_insn = last_list_mir; in InsertMIRListAfter()
1130 last_mir_insn = last_list_mir; in InsertMIRListAfter()
1190 last_mir_insn = last_list_mir; in InsertMIRListBefore()
[all …]
Dmir_analysis.cc972 if (ending_bb->last_mir_insn != nullptr) { in AnalyzeBlock()
973 uint32_t ending_flags = kAnalysisAttributes[ending_bb->last_mir_insn->dalvikInsn.opcode]; in AnalyzeBlock()
976 ending_flags = kAnalysisAttributes[ending_bb->last_mir_insn->dalvikInsn.opcode]; in AnalyzeBlock()
Dmir_graph.h380 last_mir_insn(), data_flow_info(), dominators(), i_dominated(), dom_frontier(), in BasicBlock()
402 MIR* last_mir_insn; variable
469 if (last_mir_insn == nullptr) { in BranchesToSuccessorOnlyIfNotZero()
472 Instruction::Code last_opcode = last_mir_insn->dalvikInsn.opcode; in BranchesToSuccessorOnlyIfNotZero()
Dtype_inference.cc424 MIR* main_mirs_end = ((bb_df_attrs & DF_SAME_TYPE_AB) != 0u) ? bb->last_mir_insn : nullptr; in Apply()
519 DCHECK(mir == bb->last_mir_insn); in Apply()
Dlocal_value_numbering.cc388 int s_reg = pred_bb->last_mir_insn->ssa_rep->uses[0]; in MergeOne()
705 int s_reg = least_entries_bb->last_mir_insn->ssa_rep->uses[0]; in MergeNullChecked()