Home
last modified time | relevance | path

Searched refs:instr (Results 626 - 650 of 1237) sorted by relevance

1...<<21222324252627282930>>...50

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_interpolation.c43 nir_foreach_instr_safe(instr, block) { in nir_lower_interpolation_block()
44 if (instr->type != nir_instr_type_intrinsic) in nir_lower_interpolation_block()
47 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in nir_lower_interpolation_block()
101 b->cursor = nir_before_instr(instr); in nir_lower_interpolation_block()
H A Dnir_opt_remove_phis.c71 nir_foreach_instr_safe(instr, block) { in remove_phis_block()
72 if (instr->type != nir_instr_type_phi) in remove_phis_block()
75 nir_phi_instr *phi = nir_instr_as_phi(instr); in remove_phis_block()
136 nir_instr_remove(instr); in remove_phis_block()
H A Dnir_lower_texcoord_replace.c104 nir_foreach_instr_safe(instr, block) { in nir_lower_texcoord_replace_impl()
105 if (instr->type != nir_instr_type_intrinsic) in nir_lower_texcoord_replace_impl()
108 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in nir_lower_texcoord_replace_impl()
119 b.cursor = nir_after_instr(instr); in nir_lower_texcoord_replace_impl()
H A Dnir_lower_io.c384 nir_ssa_dest_init(&load->instr, &load->dest, in emit_load()
386 nir_builder_instr_insert(b, &load->instr); in emit_load()
500 nir_builder_instr_insert(b, &store->instr); in emit_store()
608 nir_ssa_dest_init(&bary_setup->instr, &bary_setup->dest, 2, 32, NULL); in lower_interpolate_at()
616 nir_builder_instr_insert(b, &bary_setup->instr); in lower_interpolate_at()
647 nir_foreach_instr_safe(instr, block) { in nir_lower_io_block()
648 if (instr->type != nir_instr_type_intrinsic) in nir_lower_io_block()
651 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in nir_lower_io_block()
678 b->cursor = nir_before_instr(instr); in nir_lower_io_block()
715 nir_instr_remove(&intrin->instr); in nir_lower_io_block()
2614 nir_get_io_offset_src(nir_intrinsic_instr *instr) nir_get_io_offset_src() argument
2712 nir_get_io_arrayed_index_src(nir_intrinsic_instr *instr) nir_get_io_arrayed_index_src() argument
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_reindex_ssa.cpp38 reindex_defs(idx_ctx& ctx, aco_ptr<Instruction>& instr) in reindex_defs() argument
40 for (Definition& def : instr->definitions) { in reindex_defs()
52 reindex_ops(idx_ctx& ctx, aco_ptr<Instruction>& instr) in reindex_ops() argument
54 for (Operand& op : instr->operands) { in reindex_ops()
/third_party/mesa3d/src/gallium/drivers/lima/ir/
H A Dlima_nir_lower_txp.c80 lima_nir_lower_txp_instr(nir_builder *b, nir_instr *instr, in lima_nir_lower_txp_instr() argument
83 if (instr->type != nir_instr_type_tex) in lima_nir_lower_txp_instr()
86 nir_tex_instr *tex = nir_instr_as_tex(instr); in lima_nir_lower_txp_instr()
104 b->cursor = nir_before_instr(&tex->instr); in lima_nir_lower_txp_instr()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv_tm.c44 u32 instr = vcpu->arch.emul_inst; in kvmhv_p9_tm_emulation() local
69 switch (instr & PO_XOP_OPCODE_MASK) { in kvmhv_p9_tm_emulation()
108 if (instr & (1 << 11)) in kvmhv_p9_tm_emulation()
119 rs = (instr >> 21) & 0x1f; in kvmhv_p9_tm_emulation()
159 if (instr & (1 << 21)) { in kvmhv_p9_tm_emulation()
194 ra = (instr >> 16) & 0x1f; in kvmhv_p9_tm_emulation()
245 pr_warn_ratelimited("Unrecognized TM-related instruction %#x for emulation", instr); in kvmhv_p9_tm_emulation()
/third_party/mesa3d/src/freedreno/ir3/tests/
H A Ddisasm.c47 #define INSTR_4XX(i, d, ...) { .gpu_id = 420, .instr = #i, .expected = d, __VA_ARGS__ }
48 #define INSTR_5XX(i, d, ...) { .gpu_id = 540, .instr = #i, .expected = d, __VA_ARGS__ }
49 #define INSTR_6XX(i, d, ...) { .gpu_id = 630, .instr = #i, .expected = d, __VA_ARGS__ }
54 const char *instr; member
446 printf("Testing a%d %s: \"%s\"...\n", test->gpu_id, test->instr, in main()
457 strtoll(&test->instr[9], NULL, 16), in main()
458 strtoll(&test->instr[0], NULL, 16), in main()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir_lower_rt_intrinsics.c94 nir_foreach_instr_safe(instr, block) { in lower_rt_intrinsics_impl()
95 if (instr->type != nir_instr_type_intrinsic) in lower_rt_intrinsics_impl()
98 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in lower_rt_intrinsics_impl()
100 b->cursor = nir_after_instr(&intrin->instr); in lower_rt_intrinsics_impl()
117 nir_instr_remove(instr); in lower_rt_intrinsics_impl()
135 nir_instr_remove(instr); in lower_rt_intrinsics_impl()
334 nir_instr_remove(&intrin->instr); in lower_rt_intrinsics_impl()
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_pressure_schedule.c47 bi_instr *instr; member
96 node->instr = I; in create_dag()
274 int32_t delta = calculate_pressure_delta(n->instr, s->live, s->max); in choose_instr()
313 pressure += calculate_pressure_delta(node->instr, s->live, s->max); in pressure_schedule_block()
318 bi_liveness_ins_update(s->live, node->instr, s->max); in pressure_schedule_block()
329 bi_remove_instruction(schedule[i]->instr); in pressure_schedule_block()
330 list_add(&schedule[i]->instr->link, &block->instructions); in pressure_schedule_block()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog.c91 const char *instr; in r300FragmentProgramDump() local
97 instr = "TEX"; in r300FragmentProgramDump()
100 instr = "KIL"; in r300FragmentProgramDump()
103 instr = "TXP"; in r300FragmentProgramDump()
106 instr = "TXB"; in r300FragmentProgramDump()
109 instr = "UNKNOWN"; in r300FragmentProgramDump()
114 instr, in r300FragmentProgramDump()
/third_party/node/deps/v8/src/codegen/mips64/
H A Dassembler-mips64.h217 int BranchOffset(Instr instr);
1486 static void instr_at_put(Address pc, Instr instr) { in instr_at_put() argument
1487 *reinterpret_cast<Instr*>(pc) = instr; in instr_at_put()
1492 void instr_at_put(int pos, Instr instr) { in instr_at_put() argument
1493 *reinterpret_cast<Instr*>(buffer_start_ + pos) = instr; in instr_at_put()
1497 static bool IsBranch(Instr instr);
1498 static bool IsMsaBranch(Instr instr);
1499 static bool IsBc(Instr instr);
1500 static bool IsNal(Instr instr);
1501 static bool IsBzc(Instr instr);
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dmxic_nand.c392 const struct nand_op_instr *instr = NULL; in mxic_nfc_exec_op() local
402 instr = &op->instrs[op_id]; in mxic_nfc_exec_op()
404 switch (instr->type) { in mxic_nfc_exec_op()
412 &instr->ctx.cmd.opcode, in mxic_nfc_exec_op()
418 OP_ADDR_BYTES(instr->ctx.addr.naddrs), in mxic_nfc_exec_op()
421 instr->ctx.addr.addrs, NULL, in mxic_nfc_exec_op()
422 instr->ctx.addr.naddrs); in mxic_nfc_exec_op()
430 instr->ctx.data.buf.in, in mxic_nfc_exec_op()
431 instr->ctx.data.len); in mxic_nfc_exec_op()
435 writel(instr in mxic_nfc_exec_op()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/devices/
H A Dmtd_dataflash.c148 static int dataflash_erase(struct mtd_info *mtd, struct erase_info *instr) in dataflash_erase() argument
159 (long long)instr->addr, (long long)instr->len); in dataflash_erase()
161 div_u64_rem(instr->len, priv->page_size, &rem); in dataflash_erase()
164 div_u64_rem(instr->addr, priv->page_size, &rem); in dataflash_erase()
175 while (instr->len > 0) { in dataflash_erase()
183 pageaddr = div_u64(instr->addr, priv->page_size); in dataflash_erase()
184 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; in dataflash_erase()
203 /* REVISIT: can retry instr->retries times; or in dataflash_erase()
204 * giveup and instr in dataflash_erase()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/devices/
H A Dmtd_dataflash.c154 static int dataflash_erase(struct mtd_info *mtd, struct erase_info *instr) in dataflash_erase() argument
165 (long long)instr->addr, (long long)instr->len); in dataflash_erase()
167 div_u64_rem(instr->len, priv->page_size, &rem); in dataflash_erase()
170 div_u64_rem(instr->addr, priv->page_size, &rem); in dataflash_erase()
181 while (instr->len > 0) { in dataflash_erase()
189 pageaddr = div_u64(instr->addr, priv->page_size); in dataflash_erase()
190 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; in dataflash_erase()
209 /* REVISIT: can retry instr->retries times; or in dataflash_erase()
210 * giveup and instr in dataflash_erase()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dmxic_nand.c392 const struct nand_op_instr *instr = NULL; in mxic_nfc_exec_op() local
402 instr = &op->instrs[op_id]; in mxic_nfc_exec_op()
404 switch (instr->type) { in mxic_nfc_exec_op()
412 &instr->ctx.cmd.opcode, in mxic_nfc_exec_op()
418 OP_ADDR_BYTES(instr->ctx.addr.naddrs), in mxic_nfc_exec_op()
421 instr->ctx.addr.addrs, NULL, in mxic_nfc_exec_op()
422 instr->ctx.addr.naddrs); in mxic_nfc_exec_op()
430 instr->ctx.data.buf.in, in mxic_nfc_exec_op()
431 instr->ctx.data.len); in mxic_nfc_exec_op()
435 writel(instr in mxic_nfc_exec_op()
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_nir_lower_descriptors.c258 b->cursor = nir_before_instr(&intrin->instr); in lower_res_intrinsic()
294 nir_instr_remove(&intrin->instr); in lower_res_intrinsic()
303 b->cursor = nir_before_instr(&intrin->instr); in lower_get_ssbo_size()
317 nir_instr_remove(&intrin->instr); in lower_get_ssbo_size()
437 b->cursor = nir_before_instr(&tex->instr); in lower_tex()
467 nir_instr_remove(&tex->instr); in lower_tex()
549 b->cursor = nir_before_instr(&intr->instr); in lower_img_intrinsic()
572 nir_instr_remove(&intr->instr); in lower_img_intrinsic()
616 nir_instr *instr, in lower_descriptors_instr()
621 switch (instr in lower_descriptors_instr()
615 lower_descriptors_instr(nir_builder *b, nir_instr *instr, void *data) lower_descriptors_instr() argument
[all...]
/third_party/python/Python/
H A Dcompile.c132 struct instr { struct
146 struct instr *setup;
175 is_relative_jump(struct instr *i) in is_relative_jump()
181 is_block_push(struct instr *instr) in is_block_push() argument
183 int opcode = instr->i_opcode; in is_block_push()
188 is_jump(struct instr *i) in is_jump()
195 instr_size(struct instr *instruction) in instr_size()
206 write_instr(_Py_CODEUNIT *codestr, struct instr *instruction, int ilen) in write_instr()
241 struct instr *b_inst
1211 is_end_of_basic_block(struct instr *instr) is_end_of_basic_block() argument
1235 compiler_check_if_end_of_block(struct compiler *c, struct instr *instr) compiler_check_if_end_of_block() argument
7184 struct instr *instr = &b->b_instr[i]; stackdepth() local
7361 struct instr *instr = &b->b_instr[i]; label_exception_targets() local
7431 struct instr *instr = &b->b_instr[i]; convert_exception_handlers_to_nops() local
7508 struct instr *instr = &b->b_instr[i]; assemble_exception_table() local
7776 struct instr *instr = &b->b_instr[i]; assemble_jump_offsets() local
8161 insert_instruction(basicblock *block, int pos, struct instr *instr) insert_instruction() argument
9198 struct instr *instr = &b->b_instr[i]; mark_reachable() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/lib/
H A Dfeature-fixups.c50 struct ppc_inst instr; in patch_alt_instruction() local
52 instr = ppc_inst_read(src); in patch_alt_instruction()
59 err = translate_branch(&instr, dest, src); in patch_alt_instruction()
65 raw_patch_instruction(dest, instr); in patch_alt_instruction()
436 unsigned int instr, *dest; in do_barrier_nospec_fixups_range() local
443 instr = 0x60000000; /* nop */ in do_barrier_nospec_fixups_range()
447 instr = 0x63ff0000; /* ori 31,31,0 speculation barrier */ in do_barrier_nospec_fixups_range()
454 patch_instruction((struct ppc_inst *)dest, ppc_inst(instr)); in do_barrier_nospec_fixups_range()
477 unsigned int instr[2], *dest; in do_barrier_nospec_fixups_range() local
484 instr[ in do_barrier_nospec_fixups_range()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/lib/
H A Dfeature-fixups.c50 ppc_inst_t instr; in patch_alt_instruction() local
52 instr = ppc_inst_read(src); in patch_alt_instruction()
59 err = translate_branch(&instr, dest, src); in patch_alt_instruction()
65 raw_patch_instruction(dest, instr); in patch_alt_instruction()
504 unsigned int instr; in do_barrier_nospec_fixups_range() local
511 instr = PPC_RAW_NOP(); in do_barrier_nospec_fixups_range()
515 instr = PPC_RAW_ORI(_R31, _R31, 0); /* speculation barrier */ in do_barrier_nospec_fixups_range()
518 i = do_patch_fixups(start, end, &instr, 1); in do_barrier_nospec_fixups_range()
540 unsigned int instr[2]; in do_barrier_nospec_fixups_range() local
547 instr[ in do_barrier_nospec_fixups_range()
[all...]
/third_party/node/deps/v8/src/compiler/backend/loong64/
H A Dinstruction-scheduler-loong64.cc16 const Instruction* instr) const { in GetTargetInstructionFlags()
20 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { in GetInstructionLatency() argument
/kernel/linux/linux-5.10/arch/m68k/math-emu/
H A Dfp_scan.S45 | %d2 - first two instr words
77 fp_decode_cond: | separate conditional instr
83 fp_decode_move: | separate move instr
91 | now all arithmetic instr and a few move instr are left
406 .macro fp_dosingleprec instr
409 jra \instr
412 .macro fp_dodoubleprec instr
415 jra \instr
/kernel/linux/linux-6.6/arch/m68k/math-emu/
H A Dfp_scan.S45 | %d2 - first two instr words
77 fp_decode_cond: | separate conditional instr
83 fp_decode_move: | separate move instr
91 | now all arithmetic instr and a few move instr are left
406 .macro fp_dosingleprec instr
409 jra \instr
412 .macro fp_dodoubleprec instr
415 jra \instr
/kernel/linux/linux-6.6/fs/jffs2/
H A Derase.c41 struct erase_info *instr; in jffs2_erase_block() local
46 instr = kzalloc(sizeof(struct erase_info), GFP_KERNEL); in jffs2_erase_block()
47 if (!instr) { in jffs2_erase_block()
60 instr->addr = jeb->offset; in jffs2_erase_block()
61 instr->len = c->sector_size; in jffs2_erase_block()
63 ret = mtd_erase(c->mtd, instr); in jffs2_erase_block()
66 kfree(instr); in jffs2_erase_block()
70 bad_offset = instr->fail_addr; in jffs2_erase_block()
71 kfree(instr); in jffs2_erase_block()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_lower_ycbcr_textures.c56 nir_ssa_dest_init(&tex->instr, &tex->dest, nir_tex_instr_dest_size(tex), 32, NULL); in get_texture_size()
57 nir_builder_instr_insert(b, &tex->instr); in get_texture_size()
155 nir_ssa_dest_init(&tex->instr, &tex->dest, old_tex->dest.ssa.num_components, in create_plane_tex_instr_implicit()
157 nir_builder_instr_insert(b, &tex->instr); in create_plane_tex_instr_implicit()
273 builder->cursor = nir_before_instr(&tex->instr); in try_lower_tex_ycbcr()
296 nir_instr_remove(&tex->instr); in try_lower_tex_ycbcr()
315 nir_foreach_instr_safe (instr, block) { in radv_nir_lower_ycbcr_textures()
316 if (instr->type != nir_instr_type_tex) in radv_nir_lower_ycbcr_textures()
319 nir_tex_instr *tex = nir_instr_as_tex(instr); in radv_nir_lower_ycbcr_textures()

Completed in 26 milliseconds

1...<<21222324252627282930>>...50