Home
last modified time | relevance | path

Searched refs:instr (Results 726 - 750 of 1218) sorted by relevance

1...<<21222324252627282930>>...49

/third_party/mesa3d/src/compiler/nir/
H A Dnir_linking_helpers.c88 nir_foreach_instr(instr, block) { in tcs_add_output_reads()
89 if (instr->type != nir_instr_type_intrinsic) in tcs_add_output_reads()
92 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in tcs_add_output_reads()
580 nir_foreach_instr(instr, block) { in gather_varying_component_info()
581 if (instr->type != nir_instr_type_intrinsic) in gather_varying_component_info()
584 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in gather_varying_component_info()
645 nir_foreach_instr(instr, block) { in gather_varying_component_info()
646 if (instr->type != nir_instr_type_intrinsic) in gather_varying_component_info()
649 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in gather_varying_component_info()
1054 nir_foreach_instr(instr, bloc in replace_varying_input_by_constant_load()
[all...]
H A Dnir_opt_idiv_const.c161 b->cursor = nir_before_instr(&alu->instr); in nir_opt_idiv_const_instr()
206 nir_instr_remove(&alu->instr); in nir_opt_idiv_const_instr()
220 nir_foreach_instr_safe(instr, block) { in nir_opt_idiv_const_impl()
221 if (instr->type != nir_instr_type_alu) in nir_opt_idiv_const_impl()
224 nir_alu_instr *alu = nir_instr_as_alu(instr); in nir_opt_idiv_const_impl()
H A Dnir_lower_idiv.c236 lower_idiv(nir_builder *b, nir_instr *instr, void *_data) in lower_idiv() argument
239 nir_alu_instr *alu = nir_instr_as_alu(instr); in lower_idiv()
255 inst_is_idiv(const nir_instr *instr, UNUSED const void *_state) in inst_is_idiv() argument
257 if (instr->type != nir_instr_type_alu) in inst_is_idiv()
260 nir_alu_instr *alu = nir_instr_as_alu(instr); in inst_is_idiv()
H A Dnir_lower_clip.c148 nir_foreach_instr(instr, block) { in find_output_in_block()
150 if (instr->type == nir_instr_type_intrinsic) { in find_output_in_block()
151 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in find_output_in_block()
374 nir_foreach_instr_safe(instr, block) { in lower_clip_in_gs_block()
375 if (instr->type != nir_instr_type_intrinsic) in lower_clip_in_gs_block()
378 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in lower_clip_in_gs_block()
382 b->cursor = nir_before_instr(instr); in lower_clip_in_gs_block()
H A Dnir_lower_blend.c381 b->cursor = nir_before_instr(&store->instr); in nir_lower_blend_store()
421 nir_instr_rewrite_src_ssa(&store->instr, &store->src[1], blended); in nir_lower_blend_store()
426 nir_lower_blend_instr(nir_builder *b, nir_instr *instr, void *data) in nir_lower_blend_instr() argument
430 switch (instr->type) { in nir_lower_blend_instr()
433 nir_deref_instr *deref = nir_instr_as_deref(instr); in nir_lower_blend_instr()
448 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in nir_lower_blend_instr()
465 b->cursor = nir_after_instr(&intrin->instr); in nir_lower_blend_instr()
/third_party/mesa3d/src/broadcom/qpu/
H A Dqpu_instr.h439 const struct v3d_qpu_instr *instr,
444 struct v3d_qpu_instr *instr);
461 const struct v3d_qpu_instr *instr) ATTRIBUTE_CONST;
463 const struct v3d_qpu_instr *instr) ATTRIBUTE_CONST;
465 const struct v3d_qpu_instr *instr) ATTRIBUTE_CONST;
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_lower_abi.c61 lower_abi_instr(nir_builder *b, nir_instr *instr, void *state) in lower_abi_instr() argument
64 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in lower_abi_instr()
214 filter_abi_instr(const nir_instr *instr, in filter_abi_instr() argument
219 if (instr->type != nir_instr_type_intrinsic) in filter_abi_instr()
222 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in filter_abi_instr()
H A Dradv_pipeline_rt.c438 nir_foreach_instr_safe (instr, block) { in lower_rt_instructions()
439 switch (instr->type) { in lower_rt_instructions()
441 b_shader.cursor = nir_before_instr(instr); in lower_rt_instructions()
442 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_rt_instructions()
522 instr, &intr->src[0], in lower_rt_instructions()
528 instr, &intr->src[1], in lower_rt_instructions()
709 nir_instr_remove(instr); in lower_rt_instructions()
713 nir_jump_instr *jump = nir_instr_as_jump(instr); in lower_rt_instructions()
715 b_shader.cursor = nir_instr_remove(instr); in lower_rt_instructions()
773 nir_foreach_instr_safe (instr, bloc in lower_rt_derefs()
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dtest_eu_compact.cpp181 brw_inst instr = src; in test_fuzz_compact_instruction() local
182 uint64_t *bits = instr.data; in test_fuzz_compact_instruction()
190 clear_pad_bits(p->isa, &instr); in test_fuzz_compact_instruction()
192 if (!brw_validate_instruction(p->isa, &instr, 0, sizeof(brw_inst), NULL)) in test_fuzz_compact_instruction()
195 if (!test_compact_instruction(p, instr)) { in test_fuzz_compact_instruction()
H A Dbrw_nir_lower_cs_intrinsics.c46 nir_foreach_instr_safe(instr, block) { in lower_cs_intrinsics_convert_block()
47 if (instr->type != nir_instr_type_intrinsic) in lower_cs_intrinsics_convert_block()
50 nir_intrinsic_instr *intrinsic = nir_instr_as_intrinsic(instr); in lower_cs_intrinsics_convert_block()
52 b->cursor = nir_after_instr(&intrinsic->instr); in lower_cs_intrinsics_convert_block()
252 nir_instr_remove(&intrinsic->instr); in lower_cs_intrinsics_convert_block()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_analysis.c191 // The parent instr should be a nir_intrinsic_load_deref. in get_nir_input_info()
256 // The parent instr of the coord should be an nir_op_vec2 alu op in get_texcoord_provenance()
296 nir_foreach_instr_safe(instr, block) { in llvmpipe_nir_fn_is_linear_compat()
297 switch (instr->type) { in llvmpipe_nir_fn_is_linear_compat()
302 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in llvmpipe_nir_fn_is_linear_compat()
319 nir_tex_instr *tex = nir_instr_as_tex(instr); in llvmpipe_nir_fn_is_linear_compat()
371 const nir_alu_instr *alu = nir_instr_as_alu(instr); in llvmpipe_nir_fn_is_linear_compat()
/third_party/node/deps/v8/src/compiler/backend/arm64/
H A Dinstruction-scheduler-arm64.cc14 const Instruction* instr) const { in GetTargetInstructionFlags()
15 switch (instr->arch_opcode()) { in GetTargetInstructionFlags()
373 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { in GetInstructionLatency() argument
376 switch (instr->arch_opcode()) { in GetInstructionLatency()
401 if (instr->addressing_mode() != kMode_None) { in GetInstructionLatency()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.c429 LLVMValueRef instr; in lp_build_count_instructions() local
430 instr = LLVMGetFirstInstruction(block); in lp_build_count_instructions()
431 while (instr) { in lp_build_count_instructions()
434 instr = LLVMGetNextInstruction(instr); in lp_build_count_instructions()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dhw_breakpoint.c527 struct ppc_inst instr) in stepping_handler()
544 stepped = emulate_step(regs, instr); in stepping_handler()
568 struct ppc_inst instr = ppc_inst(0); in hw_breakpoint_handler() local
585 wp_get_instr_detail(regs, &instr, &type, &size, &ea); in hw_breakpoint_handler()
595 if (wp_check_constraints(regs, instr, ea, type, size, info[i])) { in hw_breakpoint_handler()
597 ppc_inst_equal(instr, ppc_inst(0))) { in hw_breakpoint_handler()
647 if (!stepping_handler(regs, bp, info, hit, instr)) in hw_breakpoint_handler()
525 stepping_handler(struct pt_regs *regs, struct perf_event **bp, struct arch_hw_breakpoint **info, int *hit, struct ppc_inst instr) stepping_handler() argument
/kernel/linux/linux-6.6/arch/arc/kernel/
H A Ddisasm.c238 /* still need to check for limm to extract instr len */ in disasm_instr()
260 /* still need to check for limm to extract instr len */ in disasm_instr()
564 struct disasm_state instr; in disasm_next_pc() local
566 disasm_instr(pc, &instr, 0, regs, cregs); in disasm_next_pc()
568 *next_pc = pc + instr.instr_len; in disasm_next_pc()
571 if (instr.is_branch) in disasm_next_pc()
572 *tgt_if_br = instr.target; in disasm_next_pc()
577 if (instr.delay_slot) { in disasm_next_pc()
591 return instr.is_branch; in disasm_next_pc()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dhw_breakpoint.c284 int *hit, ppc_inst_t instr) in stepping_handler()
302 stepped = emulate_step(regs, instr); in stepping_handler()
386 ppc_inst_t instr = ppc_inst(0); in hw_breakpoint_handler() local
403 wp_get_instr_detail(regs, &instr, &type, &size, &ea); in hw_breakpoint_handler()
415 if (wp_check_constraints(regs, instr, ea, type, size, info)) { in hw_breakpoint_handler()
417 ppc_inst_equal(instr, ppc_inst(0))) { in hw_breakpoint_handler()
473 if (!stepping_handler(regs, bp, hit, instr)) in hw_breakpoint_handler()
283 stepping_handler(struct pt_regs *regs, struct perf_event **bp, int *hit, ppc_inst_t instr) stepping_handler() argument
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_opt_dead_builtin_varyings.c203 nir_foreach_instr(instr, block) { in get_varying_info()
204 if (instr->type != nir_instr_type_intrinsic) in get_varying_info()
207 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in get_varying_info()
291 b->cursor = nir_before_instr(&deref->instr); in rewrite_varying_deref()
425 nir_foreach_instr(instr, block) { in replace_varyings()
426 if (instr->type != nir_instr_type_intrinsic) in replace_varyings()
429 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in replace_varyings()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
H A Dxmon.c103 struct ppc_inst *instr; member
705 regs->nip = (unsigned long) &bp->instr[0]; in xmon_core()
713 int stepped = emulate_step(regs, ppc_inst_read(bp->instr)); in xmon_core()
715 regs->nip = (unsigned long) &bp->instr[0]; in xmon_core()
719 IS_RFID(ppc_inst_read(bp->instr))? "rfid": "mtmsrd"); in xmon_core()
766 /* Are we at the trap at bp->instr[1] for some bp? */ in xmon_bpt()
894 bp->instr = (void *)(bpt_table + ((bp - bpts) * BPT_WORDS)); in new_breakpoint()
906 struct ppc_inst instr, instr2; in insert_bpts() local
913 if (!mread_instr(bp->address, &instr)) { in insert_bpts()
919 if (IS_MTMSRD(instr) || IS_RFI in insert_bpts()
986 struct ppc_inst instr; remove_bpts() local
1202 struct ppc_inst instr; do_step() local
1368 struct ppc_inst instr; check_bp_loc() local
2214 mread_instr(unsigned long adrs, struct ppc_inst *instr) mread_instr() argument
[all...]
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_variables.c243 nir_intrinsic_instr *instr = in vtn_variable_resource_index() local
246 instr->src[0] = nir_src_for_ssa(desc_array_index); in vtn_variable_resource_index()
247 nir_intrinsic_set_desc_set(instr, var->descriptor_set); in vtn_variable_resource_index()
248 nir_intrinsic_set_binding(instr, var->binding); in vtn_variable_resource_index()
249 nir_intrinsic_set_desc_type(instr, vk_desc_type_for_mode(b, var->mode)); in vtn_variable_resource_index()
252 nir_ssa_dest_init(&instr->instr, &instr->dest, in vtn_variable_resource_index()
255 instr->num_components = instr in vtn_variable_resource_index()
267 nir_intrinsic_instr *instr = vtn_resource_reindex() local
[all...]
/third_party/node/deps/v8/src/codegen/riscv64/
H A Dassembler-riscv64.h211 // Get offset from instr.
212 int BranchOffset(Instr instr);
216 int JumpOffset(Instr instr);
217 int CJumpOffset(Instr instr);
218 int CBranchOffset(Instr instr);
219 static int LdOffset(Instr instr);
220 static int AuipcOffset(Instr instr);
221 static int JalrOffset(Instr instr);
274 static bool IsConstantPoolAt(Instruction* instr);
275 static int ConstantPoolSizeAt(Instruction* instr);
1252 instr_at_put(Address pc, Instr instr) instr_at_put() argument
1258 instr_at_put(int pos, Instr instr) instr_at_put() argument
1262 instr_at_put(int pos, ShortInstr instr) instr_at_put() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_program.c288 nir_foreach_instr_safe(instr, block) { in crocus_lower_storage_image_derefs()
289 if (instr->type != nir_instr_type_intrinsic) in crocus_lower_storage_image_derefs()
292 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in crocus_lower_storage_image_derefs()
313 b.cursor = nir_before_instr(&intrin->instr); in crocus_lower_storage_image_derefs()
475 nir_foreach_instr_safe(instr, block) { in crocus_setup_uniforms()
476 if (instr->type != nir_instr_type_intrinsic) in crocus_setup_uniforms()
479 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr); in crocus_setup_uniforms()
487 b.cursor = nir_before_instr(instr); in crocus_setup_uniforms()
503 nir_ssa_dest_init(&load_ubo->instr, &load_ubo->dest, in crocus_setup_uniforms()
507 nir_builder_instr_insert(&b, &load_ubo->instr); in crocus_setup_uniforms()
752 rewrite_src_with_bti(nir_builder *b, struct crocus_binding_table *bt, nir_instr *instr, nir_src *src, enum crocus_surface_group group) rewrite_src_with_bti() argument
[all...]
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dtraps.h16 int (*fn)(struct pt_regs *regs, unsigned int instr);
43 asmlinkage void baddataabort(int code, unsigned long instr, struct pt_regs *regs);
/third_party/mesa3d/src/compiler/nir/tests/
H A Ddce_tests.cpp54 nir_ssa_dest_init(&phi->instr, &phi->dest, in create_one_source_phi()
96 nir_instr_insert_before_block(one->parent_instr->block, &phi->instr); in TEST_F()
/third_party/node/deps/v8/src/compiler/backend/
H A Dmove-optimizer.h34 void CompressGaps(Instruction* instr);
53 void FinalizeMoves(Instruction* instr);
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_duplicate_region_with_selection.h69 // Returns true if and only if |instr| is available at the end of the region
71 static bool AvailableAfterRegion(const opt::Instruction& instr,
75 // Returns true if and only if |instr| is valid as an argument to an OpPhi
77 static bool ValidOpPhiArgument(const opt::Instruction& instr,

Completed in 26 milliseconds

1...<<21222324252627282930>>...49