/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_intersection_shader.c | 73 nir_foreach_instr_safe(instr, block) { in lower_any_hit_for_intersection() 74 switch (instr->type) { in lower_any_hit_for_intersection() 76 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in lower_any_hit_for_intersection() 79 b->cursor = nir_instr_remove(&intrin->instr); in lower_any_hit_for_intersection() 100 nir_instr_remove(&intrin->instr); in lower_any_hit_for_intersection() 106 nir_instr_remove(&intrin->instr); in lower_any_hit_for_intersection() 183 nir_foreach_instr_safe(instr, block) { in brw_nir_lower_intersection_shader() 184 switch (instr->type) { in brw_nir_lower_intersection_shader() 186 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in brw_nir_lower_intersection_shader() 189 b->cursor = nir_instr_remove(&intrin->instr); in brw_nir_lower_intersection_shader() [all...] |
H A D | brw_nir_opt_peephole_ffma.c | 76 nir_instr *instr = src->src.ssa->parent_instr; in get_mul_for_src() local 77 if (instr->type != nir_instr_type_alu) in get_mul_for_src() 80 nir_alu_instr *alu = nir_instr_as_alu(instr); in get_mul_for_src() 167 nir_instr *instr, in brw_nir_opt_peephole_ffma_instr() 170 if (instr->type != nir_instr_type_alu) in brw_nir_opt_peephole_ffma_instr() 173 nir_alu_instr *add = nir_instr_as_alu(instr); in brw_nir_opt_peephole_ffma_instr() 227 b->cursor = nir_before_instr(&add->instr); in brw_nir_opt_peephole_ffma_instr() 250 nir_ssa_dest_init(&ffma->instr, &ffma->dest.dest, in brw_nir_opt_peephole_ffma_instr() 255 nir_builder_instr_insert(b, &ffma->instr); in brw_nir_opt_peephole_ffma_instr() 257 nir_instr_remove(&add->instr); in brw_nir_opt_peephole_ffma_instr() 166 brw_nir_opt_peephole_ffma_instr(nir_builder *b, nir_instr *instr, UNUSED void *cb_data) brw_nir_opt_peephole_ffma_instr() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 360 const struct nand_op_instr *instr; in vf610_nfc_cmd() local 372 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd() 373 if (!instr) in vf610_nfc_cmd() 376 if (instr && instr->type == NAND_OP_CMD_INSTR) { in vf610_nfc_cmd() 377 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; in vf610_nfc_cmd() 380 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd() 383 if (instr && instr->type == NAND_OP_ADDR_INSTR) { in vf610_nfc_cmd() 388 u8 val = instr in vf610_nfc_cmd() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 360 const struct nand_op_instr *instr; in vf610_nfc_cmd() local 372 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd() 373 if (!instr) in vf610_nfc_cmd() 376 if (instr && instr->type == NAND_OP_CMD_INSTR) { in vf610_nfc_cmd() 377 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; in vf610_nfc_cmd() 380 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd() 383 if (instr && instr->type == NAND_OP_ADDR_INSTR) { in vf610_nfc_cmd() 388 u8 val = instr in vf610_nfc_cmd() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_tex.c | 107 b->cursor = nir_before_instr(&tex->instr); in project_src() 154 nir_instr_rewrite_src(&tex->instr, in project_src() 178 b->cursor = nir_before_instr(&tex->instr); in lower_offset() 211 nir_instr_rewrite_src(&tex->instr, &tex->src[coord_index].src, in lower_offset() 234 nir_instr_rewrite_src(&tex->instr, in lower_rect() 243 b->cursor = nir_before_instr(&tex->instr); in lower_rect_tex_scale() 252 nir_instr_rewrite_src(&tex->instr, in lower_rect_tex_scale() 287 b->cursor = nir_before_instr(&tex->instr); in lower_implicit_lod() 294 b->cursor = nir_before_instr(&tex->instr); in lower_zero_lod() 298 nir_instr_remove(&tex->instr); in lower_zero_lod() [all...] |
H A D | nir_lower_wrmasks.c | 99 b->cursor = nir_before_instr(&intr->instr); in split_wrmask() 170 nir_builder_instr_insert(b, &new_intr->instr); in split_wrmask() 179 nir_instr_remove(&intr->instr); in split_wrmask() 188 nir_lower_wrmasks_instr(nir_builder *b, nir_instr *instr, void *data) in nir_lower_wrmasks_instr() argument 192 if (instr->type != nir_instr_type_intrinsic) in nir_lower_wrmasks_instr() 195 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in nir_lower_wrmasks_instr() 212 if (state->cb && !state->cb(instr, state->data)) in nir_lower_wrmasks_instr()
|
H A D | nir_lower_vec3_to_vec4.c | 46 nir_foreach_instr_safe(instr, block) { in lower_vec3_to_vec4_impl() 47 switch (instr->type) { in lower_vec3_to_vec4_impl() 49 nir_deref_instr *deref = nir_instr_as_deref(instr); in lower_vec3_to_vec4_impl() 63 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in lower_vec3_to_vec4_impl() 77 b.cursor = nir_after_instr(&intrin->instr); in lower_vec3_to_vec4_impl() 97 b.cursor = nir_before_instr(&intrin->instr); in lower_vec3_to_vec4_impl() 102 nir_instr_rewrite_src(&intrin->instr, &intrin->src[1], in lower_vec3_to_vec4_impl()
|
H A D | nir_lower_tex_shadow.c | 29 nir_lower_tex_shadow_filter(const nir_instr *instr, in nir_lower_tex_shadow_filter() argument 32 if (instr->type != nir_instr_type_tex) in nir_lower_tex_shadow_filter() 38 nir_tex_instr *tex = nir_instr_as_tex(instr); in nir_lower_tex_shadow_filter() 76 nir_lower_tex_shadow_impl(nir_builder *b, nir_instr *instr, void *options) in nir_lower_tex_shadow_impl() argument 79 nir_tex_instr *tex = nir_instr_as_tex(instr); in nir_lower_tex_shadow_impl() 84 b->cursor = nir_after_instr(instr); in nir_lower_tex_shadow_impl() 101 nir_ssa_dest_init(&tex->instr, &tex->dest, 4, 32, NULL); in nir_lower_tex_shadow_impl()
|
H A D | nir_opt_ray_queries.c | 70 nir_foreach_instr(instr, block) { in nir_find_ray_queries_read() 71 if (instr->type != nir_instr_type_intrinsic) in nir_find_ray_queries_read() 74 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in nir_find_ray_queries_read() 93 nir_replace_unread_queries_instr(nir_builder *b, nir_instr *instr, void *data) in nir_replace_unread_queries_instr() argument 97 if (instr->type != nir_instr_type_intrinsic) in nir_replace_unread_queries_instr() 100 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in nir_replace_unread_queries_instr() 125 nir_instr_remove(instr); in nir_replace_unread_queries_instr()
|
H A D | nir_lower_poly_line_smooth.c | 33 lower_polylinesmooth(nir_builder *b, nir_instr *instr, void *data) in lower_polylinesmooth() argument 37 if (instr->type != nir_instr_type_intrinsic) in lower_polylinesmooth() 40 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_polylinesmooth() 53 b->cursor = nir_before_instr(&intr->instr); in lower_polylinesmooth() 66 nir_instr_rewrite_src(instr, &intr->src[0], nir_src_for_ssa(new_val)); in lower_polylinesmooth()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_context.c | 297 dest_flags(struct ir3_instruction *instr) in dest_flags() argument 299 return instr->dsts[0]->flags & (IR3_REG_HALF | IR3_REG_SHARED); in dest_flags() 418 struct ir3_instruction *instr, *immed; in create_addr0() local 420 instr = ir3_COV(block, src, TYPE_U32, TYPE_S16); in create_addr0() 429 instr = ir3_SHL_B(block, instr, 0, immed, 0); in create_addr0() 434 instr = ir3_MULL_U(block, instr, 0, immed, 0); in create_addr0() 439 instr = ir3_SHL_B(block, instr, in create_addr0() 459 struct ir3_instruction *instr = ir3_MOV(block, immed, TYPE_U16); create_addr1() local [all...] |
H A D | ir3_nir_lower_load_barycentric_at_sample.c | 64 ir3_nir_lower_load_barycentric_at_sample_instr(nir_builder *b, nir_instr *instr, in ir3_nir_lower_load_barycentric_at_sample_instr() argument 67 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in ir3_nir_lower_load_barycentric_at_sample_instr() 76 ir3_nir_lower_load_barycentric_at_sample_filter(const nir_instr *instr, in ir3_nir_lower_load_barycentric_at_sample_filter() argument 79 if (instr->type != nir_instr_type_intrinsic) in ir3_nir_lower_load_barycentric_at_sample_filter() 81 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in ir3_nir_lower_load_barycentric_at_sample_filter()
|
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | move-optimizer.cc | 112 int FindFirstNonEmptySlot(const Instruction* instr) { in FindFirstNonEmptySlot() argument 115 ParallelMove* moves = instr->parallel_moves()[i]; in FindFirstNonEmptySlot() 359 Instruction* instr = code()->instructions()[index]; in CompressBlock() local 360 // Migrate to the gap of prev_instr eligible moves from instr. in CompressBlock() 361 MigrateMoves(instr, prev_instr); in CompressBlock() 362 // Remove gap assignments clobbered by instr's output. in CompressBlock() 363 RemoveClobberedDestinations(instr); in CompressBlock() 364 prev_instr = instr; in CompressBlock() 401 const Instruction* instr = LastInstruction(pred); in OptimizeMerge() local 402 if (instr in OptimizeMerge() 516 FinalizeMoves(Instruction* instr) FinalizeMoves() argument [all...] |
/third_party/elfutils/libcpu/ |
H A D | i386_parse.y | 190 struct instruction *instr, int n); 280 instrs: instrs '\n' instr 281 | instr 284 instr: bytes ':' bitfieldopt kID bitfieldopt optargs label 773 struct instruction *instr, int n) 790 if (instr->operands[n].str != NULL) 795 instr->operands[n].str = runp->str; 838 if (instr->operands[n].off1 == 0) 839 instr->operands[n].off1 = bitoff; 840 else if (instr [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_shader_fs.h | 55 bool do_scan_instruction(nir_instr *instr) override; 60 bool scan_input(nir_intrinsic_instr *instr, int index_src_id); 64 bool emit_load_sample_mask_in(nir_intrinsic_instr* instr); 65 bool emit_load_helper_invocation(nir_intrinsic_instr* instr); 66 bool emit_load_sample_pos(nir_intrinsic_instr* instr); 136 bool load_barycentric_at_sample(nir_intrinsic_instr* instr); 137 bool load_barycentric_at_offset(nir_intrinsic_instr* instr);
|
H A D | sfn_nir_legalize_image_load_store.cpp | 35 r600_legalize_image_load_store_impl(nir_builder *b, nir_instr *instr, in r600_legalize_image_load_store_impl() argument 38 b->cursor = nir_before_instr(instr); in r600_legalize_image_load_store_impl() 39 auto ir = nir_instr_as_intrinsic(instr); in r600_legalize_image_load_store_impl() 62 nir_instr_rewrite_src_ssa(instr, &ir->src[0], new_index); in r600_legalize_image_load_store_impl() 110 auto new_load = nir_instr_clone(b->shader, instr); in r600_legalize_image_load_store_impl() 147 r600_legalize_image_load_store_filter(const nir_instr *instr, in r600_legalize_image_load_store_filter() argument 150 if (instr->type != nir_instr_type_intrinsic) in r600_legalize_image_load_store_filter() 153 auto ir = nir_instr_as_intrinsic(instr); in r600_legalize_image_load_store_filter()
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/test/ |
H A D | test-validate-fau.cpp | 30 #define CASE(instr, expected) do { \ 31 if (va_validate_fau(instr) != expected) { \ 33 bi_print_instr(instr, stderr); \ 39 #define VALID(instr) CASE(instr, true) 40 #define INVALID(instr) CASE(instr, false)
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_parameters.cpp | 85 for (auto* instr : in Apply() 87 auto block = GetIRContext()->get_instr_block(instr); in Apply() 91 call_parameter_ids[instr->result_id()] = variable_id; in Apply() 103 for (auto* instr : callers) { in Apply() 104 call_parameter_ids[instr->result_id()] = variable_id; in Apply() 119 for (auto* instr : in Apply() 121 call_parameter_ids[instr->result_id()] = constant_id; in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_add_parameters.cpp | 85 for (auto* instr : in Apply() 87 auto block = GetIRContext()->get_instr_block(instr); in Apply() 91 call_parameter_ids[instr->result_id()] = variable_id; in Apply() 103 for (auto* instr : callers) { in Apply() 104 call_parameter_ids[instr->result_id()] = variable_id; in Apply() 119 for (auto* instr : in Apply() 121 call_parameter_ids[instr->result_id()] = constant_id; in Apply()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_parameters.cpp | 85 for (auto* instr : in Apply() 87 auto block = GetIRContext()->get_instr_block(instr); in Apply() 91 call_parameter_ids[instr->result_id()] = variable_id; in Apply() 103 for (auto* instr : callers) { in Apply() 104 call_parameter_ids[instr->result_id()] = variable_id; in Apply() 119 for (auto* instr : in Apply() 121 call_parameter_ids[instr->result_id()] = constant_id; in Apply()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | codegen.c | 668 b->branch.target = target_instr->offset - node->instr->offset; in ppir_codegen_encode_branch() 697 static int get_instr_encode_size(ppir_instr *instr) in get_instr_encode_size() argument 702 if (instr->slots[i]) in get_instr_encode_size() 707 if (instr->constant[i].num) in get_instr_encode_size() 744 static int encode_instr(ppir_instr *instr, void *code, void *last_code) in encode_instr() argument 750 if (instr->slots[i]) { in encode_instr() 754 ppir_codegen_encode_slot[i](instr->slots[i], output); in encode_instr() 762 if (instr->slots[PPIR_INSTR_SLOT_TEXLD]) in encode_instr() 765 if (instr->slots[PPIR_INSTR_SLOT_ALU_VEC_ADD]) { in encode_instr() 766 ppir_node *node = instr in encode_instr() 839 ppir_instr *instr = list_last_entry(&block->instr_list, ppir_instr, list); ppir_codegen_prog() local [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_spill.cpp | 62 Instruction* instr; member 191 aco_ptr<Instruction>& instr = block->instructions[idx]; in next_uses_per_block() local 193 if (instr->opcode == aco_opcode::p_linear_phi || instr->opcode == aco_opcode::p_phi) in next_uses_per_block() 196 for (const Definition& def : instr->definitions) { in next_uses_per_block() 201 for (const Operand& op : instr->operands) { in next_uses_per_block() 216 aco_ptr<Instruction>& instr = block->instructions[idx]; in next_uses_per_block() local 217 assert(instr->opcode == aco_opcode::p_linear_phi || instr->opcode == aco_opcode::p_phi); in next_uses_per_block() 221 auto it = instr in next_uses_per_block() 287 should_rematerialize(aco_ptr<Instruction>& instr) should_rematerialize() argument 319 Instruction* instr = remat->second.instr; do_reload() local 402 aco_ptr<Instruction>& instr = block->instructions[idx]; update_local_next_uses() local 444 aco_ptr<Instruction>& instr = ctx.program->blocks[block_idx].instructions[idx]; get_demand_before() local 1180 aco_ptr<Instruction>& instr = block->instructions[idx]; process_block() local 1372 aco_ptr<Instruction>& instr = *instr_it; spill_block() local 1511 Instruction* instr = spill_vgpr() local 1521 Instruction* instr = bld.mubuf(aco_opcode::buffer_store_dword, ctx.scratch_rsrc, Operand(v1), spill_vgpr() local 1552 Instruction* instr = reload_vgpr() local 1563 Instruction* instr = bld.mubuf(aco_opcode::buffer_load_dword, def, ctx.scratch_rsrc, reload_vgpr() local [all...] |
/kernel/linux/linux-5.10/arch/arm/lib/ |
H A D | bitops.h | 6 .macro bitop, name, instr 22 \instr r2, r2, r3 31 .macro testop, name, instr, store variable 49 \instr r2, r2, r3 @ toggle bit 61 .macro bitop, name, instr 72 \instr r2, r2, r3 82 * @instr: operational instruction 88 .macro testop, name, instr, store 99 \instr r2, r2, r0, lsl r3
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | swp_emulate.c | 157 static int swp_handler(struct pt_regs *regs, unsigned int instr) in swp_handler() argument 164 res = arm_check_condition(instr, regs->ARM_cpsr); in swp_handler() 185 address = regs->uregs[EXTRACT_REG_NUM(instr, RN_OFFSET)]; in swp_handler() 186 data = regs->uregs[EXTRACT_REG_NUM(instr, RT2_OFFSET)]; in swp_handler() 187 destreg = EXTRACT_REG_NUM(instr, RT_OFFSET); in swp_handler() 189 type = instr & TYPE_SWPB; in swp_handler() 192 EXTRACT_REG_NUM(instr, RN_OFFSET), address, in swp_handler() 193 destreg, EXTRACT_REG_NUM(instr, RT2_OFFSET), data); in swp_handler()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | swp_emulate.c | 160 static int swp_handler(struct pt_regs *regs, unsigned int instr) in swp_handler() argument 167 res = arm_check_condition(instr, regs->ARM_cpsr); in swp_handler() 188 address = regs->uregs[EXTRACT_REG_NUM(instr, RN_OFFSET)]; in swp_handler() 189 data = regs->uregs[EXTRACT_REG_NUM(instr, RT2_OFFSET)]; in swp_handler() 190 destreg = EXTRACT_REG_NUM(instr, RT_OFFSET); in swp_handler() 192 type = instr & TYPE_SWPB; in swp_handler() 195 EXTRACT_REG_NUM(instr, RN_OFFSET), address, in swp_handler() 196 destreg, EXTRACT_REG_NUM(instr, RT2_OFFSET), data); in swp_handler()
|