/third_party/skia/gn/ |
D | compile_sksl_tests.py | 27 def executeWorklist(input, worklist): argument 29 worklist.close() 31 output = subprocess.check_output([skslc, worklist.name], stderr=subprocess.STDOUT) 40 os.remove(worklist.name) 55 worklist = tempfile.NamedTemporaryFile(suffix='.worklist', delete=False, mode='w') variable 77 worklist.write(input + "\n") 78 worklist.write(target + ".glsl\n") 79 worklist.write(settings + "\n\n") 81 worklist.write(input + "\n") 82 worklist.write(target + ".metal\n") [all …]
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_schedule.c | 296 mir_initialize_worklist(BITSET_WORD *worklist, midgard_instruction **instructions, unsigned count) in mir_initialize_worklist() argument 300 BITSET_SET(worklist, i); in mir_initialize_worklist() 310 BITSET_WORD *worklist, unsigned count, in mir_update_worklist() argument 336 BITSET_SET(worklist, i); in mir_update_worklist() 658 BITSET_WORD *worklist, unsigned count, in mir_choose_instruction() argument 691 BITSET_FOREACH_SET(i, worklist, count) { in mir_choose_instruction() 695 BITSET_FOREACH_SET(i, worklist, count) { in mir_choose_instruction() 770 BITSET_CLEAR(worklist, best_index); in mir_choose_instruction() 796 BITSET_WORD *worklist, unsigned count, in mir_choose_bundle() argument 810 …midgard_instruction *chosen = mir_choose_instruction(instructions, liveness, worklist, count, &pre… in mir_choose_bundle() [all …]
|
D | midgard_helper_invocations.c | 101 struct set *worklist = _mesa_set_create(NULL, in mir_analyze_helper_terminate() local 114 _mesa_set_add(worklist, _block); in mir_analyze_helper_terminate() 125 while((cur = _mesa_set_next_entry(worklist, NULL)) != NULL) { in mir_analyze_helper_terminate() 128 _mesa_set_remove(worklist, cur); in mir_analyze_helper_terminate() 134 _mesa_set_add(worklist, pred); in mir_analyze_helper_terminate() 142 _mesa_set_destroy(worklist, NULL); in mir_analyze_helper_terminate()
|
/third_party/glslang/StandAlone/ |
D | Worklist.h | 63 worklist.push_back(item); in add() 70 if (worklist.empty()) in remove() 72 item = worklist.front(); in remove() 73 worklist.pop_front(); in remove() 80 return (int)worklist.size(); in size() 85 return worklist.empty(); in empty() 90 std::list<TWorkItem*> worklist; variable
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_helper_invocations.c | 144 struct set *worklist = _mesa_set_create(NULL, in bi_analyze_helper_terminate() local 156 _mesa_set_add(worklist, block); in bi_analyze_helper_terminate() 167 while((cur = _mesa_set_next_entry(worklist, NULL)) != NULL) { in bi_analyze_helper_terminate() 170 _mesa_set_remove(worklist, cur); in bi_analyze_helper_terminate() 176 _mesa_set_add(worklist, pred); in bi_analyze_helper_terminate() 184 _mesa_set_destroy(worklist, NULL); in bi_analyze_helper_terminate()
|
D | bi_schedule.c | 40 BITSET_WORD *worklist; member 429 st.worklist = calloc(BITSET_WORDS(st.count), sizeof(BITSET_WORD)); in bi_initialize_worklist() 433 BITSET_SET(st.worklist, i); in bi_initialize_worklist() 445 free(st.worklist); in bi_free_worklist() 465 BITSET_SET(st.worklist, i); in bi_update_worklist() 1090 BITSET_FOREACH_SET(i, st.worklist, st.count) { in bi_choose_index() 1182 BITSET_CLEAR(st.worklist, idx); in bi_take_instr() 1682 int some_instruction = __bitset_ffs(st.worklist, BITSET_WORDS(st.count)); in bi_schedule_clause() 1843 BITSET_FOREACH_SET(i, st.worklist, st.count) { in bi_schedule_block()
|
/third_party/elfio/elfio/ |
D | elfio.hpp | 606 std::deque<segment*> worklist; in get_ordered_segments() local 610 std::back_inserter( worklist ) ); in get_ordered_segments() 614 for ( size_t i = 0; i < worklist.size(); ++i ) { in get_ordered_segments() 615 if ( i != nextSlot && worklist[i]->is_offset_initialized() && in get_ordered_segments() 616 worklist[i]->get_offset() == 0 ) { in get_ordered_segments() 617 if ( worklist[nextSlot]->get_offset() == 0 ) { in get_ordered_segments() 620 std::swap( worklist[i], worklist[nextSlot] ); in get_ordered_segments() 625 while ( !worklist.empty() ) { in get_ordered_segments() 626 segment* seg = worklist.front(); in get_ordered_segments() 627 worklist.pop_front(); in get_ordered_segments() [all …]
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_compiler_nir_liveness.c | 50 nir_block_worklist worklist; member 65 nir_block_worklist_push_head(&state->worklist, block); in init_liveness_block() 159 nir_block_worklist_init(&state.worklist, impl->num_blocks, NULL); in etna_live_defs() 176 while (!nir_block_worklist_is_empty(&state.worklist)) { in etna_live_defs() 181 nir_block *block = nir_block_worklist_pop_head(&state.worklist); in etna_live_defs() 231 nir_block_worklist_push_tail(&state.worklist, pred); in etna_live_defs() 235 nir_block_worklist_fini(&state.worklist); in etna_live_defs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | code_sink.cpp | 293 std::vector<uint32_t> worklist; in IntersectsPath() local 294 worklist.push_back(start); in IntersectsPath() 298 while (!worklist.empty()) { in IntersectsPath() 299 BasicBlock* bb = context()->get_instr_block(worklist.back()); in IntersectsPath() 300 worklist.pop_back(); in IntersectsPath() 310 bb->ForEachSuccessorLabel([&already_done, &worklist](uint32_t* succ_bb_id) { in IntersectsPath() 312 worklist.push_back(*succ_bb_id); in IntersectsPath()
|
D | mem_pass.cpp | 418 std::queue<BasicBlock*> worklist; in RemoveUnreachableBlocks() local 422 worklist.push(func->entry().get()); in RemoveUnreachableBlocks() 424 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks() 429 worklist.push(successor); in RemoveUnreachableBlocks() 435 while (!worklist.empty()) { in RemoveUnreachableBlocks() 436 BasicBlock* block = worklist.front(); in RemoveUnreachableBlocks() 437 worklist.pop(); in RemoveUnreachableBlocks()
|
D | scalar_replacement_pass.cpp | 53 std::queue<Instruction*> worklist; in ProcessFunction() local 62 worklist.push(varInst); in ProcessFunction() 67 while (!worklist.empty()) { in ProcessFunction() 68 Instruction* varInst = worklist.front(); in ProcessFunction() 69 worklist.pop(); in ProcessFunction() 71 Status var_status = ReplaceVariable(varInst, &worklist); in ProcessFunction() 82 Instruction* inst, std::queue<Instruction*>* worklist) { in ReplaceVariable() argument 161 worklist->push(var); in ReplaceVariable()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | code_sink.cpp | 293 std::vector<uint32_t> worklist; in IntersectsPath() local 294 worklist.push_back(start); in IntersectsPath() 298 while (!worklist.empty()) { in IntersectsPath() 299 BasicBlock* bb = context()->get_instr_block(worklist.back()); in IntersectsPath() 300 worklist.pop_back(); in IntersectsPath() 310 bb->ForEachSuccessorLabel([&already_done, &worklist](uint32_t* succ_bb_id) { in IntersectsPath() 312 worklist.push_back(*succ_bb_id); in IntersectsPath()
|
D | mem_pass.cpp | 418 std::queue<BasicBlock*> worklist; in RemoveUnreachableBlocks() local 422 worklist.push(func->entry().get()); in RemoveUnreachableBlocks() 424 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks() 429 worklist.push(successor); in RemoveUnreachableBlocks() 435 while (!worklist.empty()) { in RemoveUnreachableBlocks() 436 BasicBlock* block = worklist.front(); in RemoveUnreachableBlocks() 437 worklist.pop(); in RemoveUnreachableBlocks()
|
D | scalar_replacement_pass.cpp | 53 std::queue<Instruction*> worklist; in ProcessFunction() local 62 worklist.push(varInst); in ProcessFunction() 67 while (!worklist.empty()) { in ProcessFunction() 68 Instruction* varInst = worklist.front(); in ProcessFunction() 69 worklist.pop(); in ProcessFunction() 71 Status var_status = ReplaceVariable(varInst, &worklist); in ProcessFunction() 82 Instruction* inst, std::queue<Instruction*>* worklist) { in ReplaceVariable() argument 161 worklist->push(var); in ReplaceVariable()
|
/third_party/spirv-tools/source/opt/ |
D | code_sink.cpp | 293 std::vector<uint32_t> worklist; in IntersectsPath() local 294 worklist.push_back(start); in IntersectsPath() 298 while (!worklist.empty()) { in IntersectsPath() 299 BasicBlock* bb = context()->get_instr_block(worklist.back()); in IntersectsPath() 300 worklist.pop_back(); in IntersectsPath() 310 bb->ForEachSuccessorLabel([&already_done, &worklist](uint32_t* succ_bb_id) { in IntersectsPath() 312 worklist.push_back(*succ_bb_id); in IntersectsPath()
|
D | mem_pass.cpp | 419 std::queue<BasicBlock*> worklist; in RemoveUnreachableBlocks() local 423 worklist.push(func->entry().get()); in RemoveUnreachableBlocks() 425 auto mark_reachable = [&reachable_blocks, &visited_blocks, &worklist, in RemoveUnreachableBlocks() 430 worklist.push(successor); in RemoveUnreachableBlocks() 436 while (!worklist.empty()) { in RemoveUnreachableBlocks() 437 BasicBlock* block = worklist.front(); in RemoveUnreachableBlocks() 438 worklist.pop(); in RemoveUnreachableBlocks()
|
D | scalar_replacement_pass.cpp | 48 std::queue<Instruction*> worklist; in ProcessFunction() local 57 worklist.push(varInst); in ProcessFunction() 62 while (!worklist.empty()) { in ProcessFunction() 63 Instruction* varInst = worklist.front(); in ProcessFunction() 64 worklist.pop(); in ProcessFunction() 66 Status var_status = ReplaceVariable(varInst, &worklist); in ProcessFunction() 77 Instruction* inst, std::queue<Instruction*>* worklist) { in ReplaceVariable() argument 156 worklist->push(var); in ReplaceVariable()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_liveness.c | 51 nir_block_worklist worklist; member 69 nir_block_worklist_push_head(&state->worklist, block); in init_liveness_block() 157 nir_block_worklist_init(&state.worklist, impl->num_blocks, NULL); in nir_live_ssa_defs_impl() 173 while (!nir_block_worklist_is_empty(&state.worklist)) { in nir_live_ssa_defs_impl() 178 nir_block *block = nir_block_worklist_pop_head(&state.worklist); in nir_live_ssa_defs_impl() 207 nir_block_worklist_push_tail(&state.worklist, pred); in nir_live_ssa_defs_impl() 212 nir_block_worklist_fini(&state.worklist); in nir_live_ssa_defs_impl()
|
D | nir_opt_move_discards_to_top.c | 55 can_move_src(nir_src *src, void *worklist) in can_move_src() argument 85 nir_instr_worklist_push_tail(worklist, instr); in can_move_src() 87 if (!nir_foreach_src(instr, can_move_src, worklist)) { in can_move_src()
|
D | nir_search.c | 651 nir_instr_worklist *worklist, in add_uses_to_worklist() argument 659 nir_instr_worklist_push_tail(worklist, use_src->parent_instr); in add_uses_to_worklist() 866 nir_instr_worklist *worklist) in nir_algebraic_instr() argument 890 xform->search, xform->replace, worklist)) { in nir_algebraic_instr() 924 nir_instr_worklist *worklist = nir_instr_worklist_create(); in nir_algebraic_impl() local 940 nir_instr_worklist_push_tail(worklist, instr); in nir_algebraic_impl() 945 while ((instr = nir_instr_worklist_pop_head(worklist))) { in nir_algebraic_impl() 956 pass_op_table, worklist); in nir_algebraic_impl() 959 nir_instr_worklist_destroy(worklist); in nir_algebraic_impl()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_live_var_analysis.cpp | 92 process_live_temps_per_block(Program* program, live& lives, Block* block, unsigned& worklist, in process_live_temps_per_block() argument 227 worklist = std::max(worklist, pred_idx + 1); in process_live_temps_per_block() 248 worklist = std::max(worklist, preds[i] + 1); in process_live_temps_per_block() 420 unsigned worklist = program->blocks.size(); in live_var_analysis() local 428 while (worklist) { in live_var_analysis() 429 unsigned block_idx = --worklist; in live_var_analysis() 430 process_live_temps_per_block(program, result, &program->blocks[block_idx], worklist, in live_var_analysis()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_workqueue.c | 88 ret = list_empty(&cwq->worklist); in WorkqueueIsEmpty() 156 INIT_LIST_HEAD(&cwq->worklist); in InitCpuWorkqueue() 207 work = worklist_entry(cwq->worklist.next, struct work_struct, entry); in RunWorkqueue() 209 list_del_init(cwq->worklist.next); in RunWorkqueue() 270 InsertWork(cwq, work, &cwq->worklist, intSave); in QueueWork() 281 LIST_FOR_WORK(tmpWork, &wq->cpu_wq->worklist, struct work_struct, entry) { in QueueWorkOn() 386 LIST_FOR_WORK(work, &wq->cpu_wq->worklist, struct work_struct, entry) { in queue_delayed_work() 437 … LIST_FOR_WORK_DEL(work, workNext, &dwork->wq->cpu_wq->worklist, struct work_struct, entry) { in linux_cancel_delayed_work()
|
/third_party/mesa3d/src/broadcom/clif/ |
D | clif_dump.c | 48 list_addtail(&entry->link, &clif->worklist); in clif_dump_add_address_to_worklist() 65 list_inithead(&clif->worklist); in clif_dump_init() 190 &clif->worklist, link) { in clif_process_worklist() 286 &clif->worklist, link) { in clif_dump_buffers() 293 &clif->worklist, link) { in clif_dump_buffers()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
D | regalloc.c | 48 unsigned *worklist; member 257 ctx->worklist[ctx->worklist_end++] = *conflict; in push_stack() 272 ctx->worklist[ctx->worklist_end++] = i; in do_regalloc() 280 push_stack(ctx, ctx->worklist[ctx->worklist_start++]); in do_regalloc() 600 ctx.worklist = ralloc_array(ctx.mem_ctx, unsigned, comp->cur_reg); in gpir_regalloc_prog()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIFixSGPRCopies.cpp | 762 SetVector<const MachineInstr *> worklist; in processPHINode() local 764 worklist.insert(&MI); in processPHINode() 766 while (!worklist.empty()) { in processPHINode() 767 const MachineInstr *Instr = worklist.pop_back_val(); in processPHINode() 781 worklist.insert(UseMI); in processPHINode()
|