Home
last modified time | relevance | path

Searched refs:last_inst (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dgraph.cpp550 auto last_inst = block->GetLastInst(); in GetBranchCounter() local
552 if (last_inst->GetOpcode() == Opcode::IfImm) { in GetBranchCounter()
553 method = last_inst->CastToIfImm()->GetMethod(); in GetBranchCounter()
554 } else if (last_inst->GetOpcode() == Opcode::If) { in GetBranchCounter()
555 method = last_inst->CastToIf()->GetMethod(); in GetBranchCounter()
H A Dbasicblock.h864 auto last_inst = (block.first_inst_ != nullptr) ? block.last_inst_ : nullptr;
865 this->SetCurrent(start != nullptr ? start : last_inst);
1003 auto last_inst = (block.first_inst_ != nullptr) ? block.last_inst_ : nullptr;
1004 this->SetCurrent(start != nullptr ? start : last_inst);
H A Dgraph_checker.cpp539 auto last_inst = block.GetLastInst(); in CheckBlockEdges() local
540 [[maybe_unused]] auto opc = last_inst->GetOpcode(); in CheckBlockEdges()
541 ASSERT_PRINT(last_inst->GetFlag(inst_flags::TERMINATOR), in CheckBlockEdges()

Completed in 4 milliseconds