Searched refs:inst_count (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | graph_cloner.h | 222 size_t inst_count = 0; in CloneBlocksAndInstructions() local 227 CloneInstructions<type, skip_safepoints>(block, clone, &inst_count); in CloneBlocksAndInstructions() 239 void CloneInstructions(const BasicBlock *block, BasicBlock *clone, size_t *inst_count) in CloneInstructions() argument 242 clone->AppendInst(CloneInstruction(inst, inst_count, clone->GetGraph())); in CloneInstructions() 247 auto phi_clone = CloneInstruction(phi, inst_count, clone->GetGraph()); in CloneInstructions() 256 Inst *CloneInstruction(Inst *inst, size_t *inst_count, Graph *target_graph) in CloneInstruction() argument 258 inst->SetCloneNumber((*inst_count)++); in CloneInstruction()
|
D | graph_cloner.cpp | 591 size_t inst_count = 0; in CloneLoopHeader() local 619 CloneInstructions<InstCloneType::CLONE_INSTS, true>(block, clone_block, &inst_count); in CloneLoopHeader() 1000 uint32_t inst_count = 1; in IsLoopClonable() local 1002 inst_count += std::distance(block->AllInsts().begin(), block->AllInsts().end()); in IsLoopClonable() 1003 if (inst_count > inst_limit) { in IsLoopClonable() 1008 inst_count++; in IsLoopClonable() 1010 return (inst_count <= inst_limit); in IsLoopClonable()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | osr_test.cpp | 671 …uint64_t inst_count = runner.GetCompilerOptions().GetCompilerMaxGenCodeSize() / (insts_per_byte * … in TEST_F() local 673 for (uint64_t i = 0; i < inst_count; ++i) { in TEST_F()
|