/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/node/deps/v8/src/torque/ |
D | instructions.cc | 52 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() 68 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() 78 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() 88 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() 102 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() 116 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() 172 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() 235 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() 242 (*catch_block)->MergeInputDefinitions(*locations, worklist); in RecomputeDefinitionLocations() 328 Stack<DefinitionLocation>* locations, Worklist<Block*>* worklist) const { in RecomputeDefinitionLocations() [all …]
|
D | earley-parser.cc | 191 std::vector<Item> worklist; in RunEarleyAlgorithm() local 209 worklist.push_back(Item{top_level.rule(0), 0, 0, 0}); in RunEarleyAlgorithm() 214 while (!worklist.empty()) { in RunEarleyAlgorithm() 215 auto insert_result = processed->insert(worklist.back()); in RunEarleyAlgorithm() 221 if (!is_new) item.CheckAmbiguity(worklist.back(), tokens); in RunEarleyAlgorithm() 222 worklist.pop_back(); in RunEarleyAlgorithm() 230 worklist.push_back(parent->Advance(pos, &item)); in RunEarleyAlgorithm() 258 worklist.push_back(item.Advance(pos, &*already_completed)); in RunEarleyAlgorithm() 260 worklist.push_back(Item{rule, 0, pos, pos}); in RunEarleyAlgorithm() 265 std::swap(worklist, future_items); in RunEarleyAlgorithm()
|
/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_liveness.c | 96 u_worklist worklist; in bi_compute_liveness() local 97 bi_worklist_init(ctx, &worklist); in bi_compute_liveness() 109 bi_worklist_push_tail(&worklist, block); in bi_compute_liveness() 112 while (!u_worklist_is_empty(&worklist)) { in bi_compute_liveness() 114 bi_block *blk = bi_worklist_pop_tail(&worklist); in bi_compute_liveness() 121 bi_worklist_push_head(&worklist, *pred); in bi_compute_liveness() 125 u_worklist_fini(&worklist); in bi_compute_liveness()
|
D | bi_helper_invocations.c | 244 u_worklist worklist; in bi_analyze_helper_requirements() local 245 bi_worklist_init(ctx, &worklist); in bi_analyze_helper_requirements() 248 bi_worklist_push_tail(&worklist, block); in bi_analyze_helper_requirements() 251 while (!u_worklist_is_empty(&worklist)) { in bi_analyze_helper_requirements() 252 bi_block *blk = bi_worklist_pop_tail(&worklist); in bi_analyze_helper_requirements() 256 bi_worklist_push_head(&worklist, *pred); in bi_analyze_helper_requirements() 260 u_worklist_fini(&worklist); in bi_analyze_helper_requirements()
|
D | bi_opt_dce.c | 127 u_worklist worklist; in bi_postra_liveness() local 128 bi_worklist_init(ctx, &worklist); in bi_postra_liveness() 133 bi_worklist_push_tail(&worklist, block); in bi_postra_liveness() 136 while (!u_worklist_is_empty(&worklist)) { in bi_postra_liveness() 138 bi_block *blk = bi_worklist_pop_tail(&worklist); in bi_postra_liveness() 145 bi_worklist_push_head(&worklist, *pred); in bi_postra_liveness() 149 u_worklist_fini(&worklist); in bi_postra_liveness()
|
D | bi_scoreboard.c | 282 u_worklist worklist; in bi_assign_scoreboard() local 283 bi_worklist_init(ctx, &worklist); in bi_assign_scoreboard() 294 bi_worklist_push_tail(&worklist, block); in bi_assign_scoreboard() 298 while (!u_worklist_is_empty(&worklist)) { in bi_assign_scoreboard() 300 bi_block *blk = bi_worklist_pop_head(&worklist); in bi_assign_scoreboard() 304 bi_worklist_push_tail(&worklist, succ); in bi_assign_scoreboard() 308 u_worklist_fini(&worklist); in bi_assign_scoreboard()
|
/third_party/mesa3d/src/asahi/compiler/ |
D | agx_liveness.c | 63 u_worklist worklist; in agx_compute_liveness() local 64 u_worklist_init(&worklist, ctx->num_blocks, NULL); in agx_compute_liveness() 79 agx_worklist_push_head(&worklist, block); in agx_compute_liveness() 83 while(!u_worklist_is_empty(&worklist)) { in agx_compute_liveness() 85 agx_block *blk = agx_worklist_pop_head(&worklist); in agx_compute_liveness() 137 agx_worklist_push_tail(&worklist, *pred); in agx_compute_liveness() 141 u_worklist_fini(&worklist); in agx_compute_liveness()
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
D | va_mark_last.c | 110 u_worklist worklist; in va_analyze_scoreboard_reads() local 111 bi_worklist_init(ctx, &worklist); in va_analyze_scoreboard_reads() 114 bi_worklist_push_tail(&worklist, block); in va_analyze_scoreboard_reads() 122 while (!u_worklist_is_empty(&worklist)) { in va_analyze_scoreboard_reads() 124 bi_block *blk = bi_worklist_pop_head(&worklist); in va_analyze_scoreboard_reads() 139 bi_worklist_push_tail(&worklist, succ); in va_analyze_scoreboard_reads() 145 u_worklist_fini(&worklist); in va_analyze_scoreboard_reads()
|
D | va_insert_flow.c | 293 u_worklist worklist; in va_assign_scoreboard() local 294 bi_worklist_init(ctx, &worklist); in va_assign_scoreboard() 297 bi_worklist_push_tail(&worklist, block); in va_assign_scoreboard() 301 while (!u_worklist_is_empty(&worklist)) { in va_assign_scoreboard() 303 bi_block *blk = bi_worklist_pop_head(&worklist); in va_assign_scoreboard() 307 bi_worklist_push_tail(&worklist, succ); in va_assign_scoreboard() 311 u_worklist_fini(&worklist); in va_assign_scoreboard()
|
/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()
|
/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/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 | spread_volatile_semantics.cpp | 205 std::vector<uint32_t> worklist({var_id}); in VisitLoadsOfPointersToVariableInEntries() local 207 while (!worklist.empty()) { in VisitLoadsOfPointersToVariableInEntries() 208 uint32_t ptr_id = worklist.back(); in VisitLoadsOfPointersToVariableInEntries() 209 worklist.pop_back(); in VisitLoadsOfPointersToVariableInEntries() 211 ptr_id, [this, &worklist, &ptr_id, handle_load, in VisitLoadsOfPointersToVariableInEntries() 226 worklist.push_back(user->result_id()); in VisitLoadsOfPointersToVariableInEntries()
|
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()
|
/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()
|
/third_party/node/deps/v8/src/heap/ |
D | marking-worklist.cc | 42 cw.worklist->Clear(); in Clear() 62 MarkingWorklist* worklist = new MarkingWorklist(); in CreateContextWorklists() local 63 worklists_.push_back(std::unique_ptr<MarkingWorklist>(worklist)); in CreateContextWorklists() 64 context_worklists_.push_back({context, worklist}); in CreateContextWorklists() 74 MarkingWorklist* worklist) { in PrintWorklist() argument 78 worklist->Iterate([&count, &total_count](HeapObject obj) { in PrintWorklist() 121 std::make_unique<MarkingWorklist::Local>(cw.worklist); in Local()
|
D | marking-worklist-inl.h | 28 cw.worklist->Update(callback); in Update() 86 Address context, MarkingWorklist::Local* worklist) { in SwitchToContext() argument 90 active_owner_ = worklist; in SwitchToContext() 91 active_ = std::move(*worklist); in SwitchToContext()
|
/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()
|
/third_party/elfio/elfio/ |
D | elfio.hpp | 695 std::deque<segment*> worklist; in get_ordered_segments() local 699 worklist.emplace_back( seg.get() ); in get_ordered_segments() 704 for ( size_t i = 0; i < worklist.size(); ++i ) { in get_ordered_segments() 705 if ( i != nextSlot && worklist[i]->is_offset_initialized() && in get_ordered_segments() 706 worklist[i]->get_offset() == 0 ) { in get_ordered_segments() 707 if ( worklist[nextSlot]->get_offset() == 0 ) { in get_ordered_segments() 710 std::swap( worklist[i], worklist[nextSlot] ); in get_ordered_segments() 715 while ( !worklist.empty() ) { in get_ordered_segments() 716 segment* seg = worklist.front(); in get_ordered_segments() 717 worklist.pop_front(); in get_ordered_segments() [all …]
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_live_var_analysis.cpp | 107 process_live_temps_per_block(Program* program, live& lives, Block* block, unsigned& worklist, in process_live_temps_per_block() argument 243 worklist = std::max(worklist, pred_idx + 1); in process_live_temps_per_block() 264 worklist = std::max(worklist, preds[i] + 1); in process_live_temps_per_block() 440 unsigned worklist = program->blocks.size(); in live_var_analysis() local 448 while (worklist) { in live_var_analysis() 449 unsigned block_idx = --worklist; in live_var_analysis() 450 process_live_temps_per_block(program, result, &program->blocks[block_idx], worklist, in live_var_analysis()
|