Home
last modified time | relevance | path

Searched refs:num_instructions (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/freedreno/afuc/
Dasm.c46 static unsigned num_instructions; variable
54 struct asm_instruction *ai = &instructions[num_instructions++]; in next_instr()
55 assert(num_instructions < ARRAY_SIZE(instructions)); in next_instr()
67 label->offset = num_instructions; in decl_label()
143 for (i = 0; i < num_instructions; i++) { in emit_instructions()
154 ai->literal |= num_instructions; in emit_instructions()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_sanity.c55 uint num_instructions; member
319 ctx->index_of_END = ctx->num_instructions; in iter_instruction()
372 ctx->num_instructions++; in iter_instruction()
401 if (ctx->num_instructions > 0) in iter_declaration()
459 if (ctx->num_instructions > 0) in iter_immediate()
577 ctx.num_instructions = 0; in tgsi_sanity_check()
Dtgsi_scan.h79 uint num_instructions; member
Dtgsi_scan.c599 info->num_instructions++; in scan_instruction()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_function.cpp253 const auto num_instructions = in TryToAddFunction() local
258 while (instruction_index < num_instructions && in TryToAddFunction()
267 if (instruction_index == num_instructions || in TryToAddFunction()
274 while (instruction_index < num_instructions && in TryToAddFunction()
287 while (instruction_index < num_instructions && in TryToAddFunction()
300 if (instruction_index != num_instructions - 1 || in TryToAddFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_function.cpp253 const auto num_instructions = in TryToAddFunction() local
258 while (instruction_index < num_instructions && in TryToAddFunction()
267 if (instruction_index == num_instructions || in TryToAddFunction()
274 while (instruction_index < num_instructions && in TryToAddFunction()
287 while (instruction_index < num_instructions && in TryToAddFunction()
300 if (instruction_index != num_instructions - 1 || in TryToAddFunction()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_function.cpp253 const auto num_instructions = in TryToAddFunction() local
258 while (instruction_index < num_instructions && in TryToAddFunction()
267 if (instruction_index == num_instructions || in TryToAddFunction()
274 while (instruction_index < num_instructions && in TryToAddFunction()
287 while (instruction_index < num_instructions && in TryToAddFunction()
300 if (instruction_index != num_instructions - 1 || in TryToAddFunction()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_scoreboard.cpp235 num_instructions(const backend_shader *shader) in num_instructions() function
247 ordered_address *jps = new ordered_address[num_instructions(shader)]; in ordered_inst_addresses()
1123 equivalence_relation eq(num_instructions(shader)); in gather_inst_dependencies()
1126 dependency_list *deps = new dependency_list[num_instructions(shader)]; in gather_inst_dependencies()
1220 unsigned *ids = new unsigned[num_instructions(shader)]; in allocate_inst_dependencies()
1221 for (unsigned ip = 0; ip < num_instructions(shader); ip++) in allocate_inst_dependencies()
1224 dependency_list *deps1 = new dependency_list[num_instructions(shader)]; in allocate_inst_dependencies()
1227 for (unsigned ip = 0; ip < num_instructions(shader); ip++) { in allocate_inst_dependencies()
Dbrw_fs.cpp5999 const unsigned num_instructions = v->cfg->num_blocks ? in register_pressure() local
6002 regs_live_at_ip = new unsigned[num_instructions](); in register_pressure()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_disasm.c452 vc4_qpu_disasm(const uint64_t *instructions, int num_instructions) in vc4_qpu_disasm() argument
454 for (int i = 0; i < num_instructions; i++) { in vc4_qpu_disasm()
480 if (num_instructions != 1) in vc4_qpu_disasm()
Dvc4_qpu.h228 vc4_qpu_disasm(const uint64_t *instructions, int num_instructions);
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c65 if (bld_base->num_instructions == bld_base->max_instructions) { in lp_bld_tgsi_add_instruction()
77 memcpy(bld_base->instructions + bld_base->num_instructions, inst_to_add, in lp_bld_tgsi_add_instruction()
80 bld_base->num_instructions++; in lp_bld_tgsi_add_instruction()
Dlp_bld_tgsi.h315 uint num_instructions; member
404 uint num_instructions; member
Dlp_bld_tgsi_soa.c273 while (pc != ~0u && pc < bld_base->num_instructions) { in default_analyse_is_last()
2676 if (pc + i >= bld->bld_base.info->num_instructions) in near_end_of_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma_perf.c203 unsigned num_instructions = DIV_ROUND_UP(num_dwords, dwords_per_instruction); in si_test_dma_perf() local
206 info.block[0] = MIN2(64, num_instructions); in si_test_dma_perf()
Dsi_compute_blit.c282 unsigned num_instructions = DIV_ROUND_UP(num_dwords, dwords_per_instruction); in si_compute_clear_buffer_rmw() local
285 info.block[0] = MIN2(block_size, num_instructions); in si_compute_clear_buffer_rmw()
368 unsigned num_instructions = DIV_ROUND_UP(num_dwords, dwords_per_instruction); in si_compute_do_clear_or_copy() local
371 info.block[0] = MIN2(block_size, num_instructions); in si_compute_do_clear_or_copy()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c297 llvmpipe->fs->info.base.num_instructions <= 1; in llvmpipe_update_derived()
Dlp_state_fs_analysis.c470 shader->info.base.num_instructions)) { in llvmpipe_fs_analyse()
Dlp_state_fs.c657 shader->info.base.num_instructions < 8) && 0; in generate_fs_loop()
3223 if (shader->info.base.num_instructions > 1) { in generate_fragment()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_vertprog.c720 reloc.target = vpc->info->num_instructions; in nvfx_vertprog_parse_instruction()
769 if(idx != (vpc->info->num_instructions - 1)) { in nvfx_vertprog_parse_instruction()
771 reloc.target = vpc->info->num_instructions; in nvfx_vertprog_parse_instruction()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_shader.c118 info.num_instructions, in softpipe_shader_db()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh535 unsigned int num_instructions = StructAtOffset<HBUINT16> (glyph, 0); in trim_padding() local
537 glyph += 2 + num_instructions; in trim_padding()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c415 info->num_instructions = 2; in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c1017 if (ifs->info.num_instructions == 1) in i915_fini_compile()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp1091 insns = (struct tgsi_full_instruction *)MALLOC(scan.num_instructions * in scanSource()
3163 assert(ip < code->scan.num_instructions); in isEndOfSubroutine()
4389 for (ip = 0; ip < code->scan.num_instructions; ++ip) { in run()

12