Searched refs:inst_count (Results 1 - 3 of 3) sorted by relevance
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | graph_cloner.h | 223 size_t inst_count = 0; in CloneBlocksAndInstructions() local 228 CloneInstructions<type, skip_safepoints>(block, clone, &inst_count); in CloneBlocksAndInstructions() 240 void CloneInstructions(const BasicBlock *block, BasicBlock *clone, size_t *inst_count) in CloneInstructions() argument 243 clone->AppendInst(CloneInstruction(inst, inst_count, clone->GetGraph())); in CloneInstructions() 248 auto phi_clone = CloneInstruction(phi, inst_count, clone->GetGraph()); in CloneInstructions() 257 Inst *CloneInstruction(Inst *inst, size_t *inst_count, Graph *target_graph) in CloneInstruction() argument 259 inst->SetCloneNumber((*inst_count)++); in CloneInstruction()
|
H A D | graph_cloner.cpp | 594 size_t inst_count = 0; in CloneLoopHeader() local 622 CloneInstructions<InstCloneType::CLONE_INSTS, true>(block, clone_block, &inst_count); in CloneLoopHeader() 1011 uint32_t inst_count = 1; in IsLoopClonable() local 1013 inst_count += std::distance(block->AllInsts().begin(), block->AllInsts().end()); in IsLoopClonable() 1014 if (inst_count > inst_limit) { in IsLoopClonable() 1019 inst_count++; in IsLoopClonable() 1021 return (inst_count <= inst_limit); in IsLoopClonable()
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | osr_test.cpp | 671 uint64_t inst_count = runner.GetCompilerOptions().GetCompilerMaxGenCodeSize() / (insts_per_byte * max_bits_in_inst); in TEST_F() local 673 for (uint64_t i = 0; i < inst_count; ++i) { in TEST_F()
|
Completed in 7 milliseconds