Home
last modified time | relevance | path

Searched refs:inst (Results 901 - 925 of 3181) sorted by relevance

1...<<31323334353637383940>>...128

/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dconvert_to_sampled_image_pass.cpp72 Instruction* inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef() local
73 while (inst->opcode() == SpvOpCopyObject) { in GetNonCopyObjectDef()
74 inst_id = inst->GetSingleWordInOperand(0u); in GetNonCopyObjectDef()
75 inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
77 return inst; in GetNonCopyObjectDef()
83 const Instruction& inst, in GetDescriptorSetBinding()
89 decoration_manager->GetDecorationsFor(inst.result_id(), false)) { in GetDescriptorSetBinding()
141 for (auto& inst : context()->types_values()) { in CollectResourcesToConvert()
142 const auto* variable_type = GetVariableType(inst); in CollectResourcesToConvert()
146 if (!GetDescriptorSetBinding(inst, in CollectResourcesToConvert()
82 GetDescriptorSetBinding( const Instruction& inst, DescriptorSetAndBinding* descriptor_set_binding) const GetDescriptorSetBinding() argument
206 FindUses(const Instruction* inst, std::vector<Instruction*>* uses, uint32_t user_opcode) const FindUses() argument
317 MoveInstructionNextToType(Instruction* inst, uint32_t type_id) MoveInstructionNextToType() argument
[all...]
H A Dfolding_rules.h34 // |inst| - the instruction to be simplified.
40 // A folding rule returns true if |inst| can be simplified using this rule. If
41 // the instruction can be simplified, then |inst| is changed to the simplified
42 // instruction. Otherwise, |inst| remains the same.
45 // important to note that if |inst| can be folded to the result of an
46 // instruction that feed it, then |inst| should be changed to an OpCopyObject
56 IRContext* context, Instruction* inst,
66 const FoldingRuleSet& GetRulesForInstruction(Instruction* inst) const { in GetRulesForInstruction()
67 if (inst->opcode() != SpvOpExtInst) { in GetRulesForInstruction()
68 auto it = rules_.find(inst in GetRulesForInstruction()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dconvert_to_sampled_image_pass.cpp72 Instruction* inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef() local
73 while (inst->opcode() == SpvOpCopyObject) { in GetNonCopyObjectDef()
74 inst_id = inst->GetSingleWordInOperand(0u); in GetNonCopyObjectDef()
75 inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
77 return inst; in GetNonCopyObjectDef()
83 const Instruction& inst, in GetDescriptorSetBinding()
89 decoration_manager->GetDecorationsFor(inst.result_id(), false)) { in GetDescriptorSetBinding()
141 for (auto& inst : context()->types_values()) { in CollectResourcesToConvert()
142 const auto* variable_type = GetVariableType(inst); in CollectResourcesToConvert()
146 if (!GetDescriptorSetBinding(inst, in CollectResourcesToConvert()
82 GetDescriptorSetBinding( const Instruction& inst, DescriptorSetAndBinding* descriptor_set_binding) const GetDescriptorSetBinding() argument
206 FindUses(const Instruction* inst, std::vector<Instruction*>* uses, uint32_t user_opcode) const FindUses() argument
317 MoveInstructionNextToType(Instruction* inst, uint32_t type_id) MoveInstructionNextToType() argument
[all...]
H A Dfolding_rules.h34 // |inst| - the instruction to be simplified.
40 // A folding rule returns true if |inst| can be simplified using this rule. If
41 // the instruction can be simplified, then |inst| is changed to the simplified
42 // instruction. Otherwise, |inst| remains the same.
45 // important to note that if |inst| can be folded to the result of an
46 // instruction that feed it, then |inst| should be changed to an OpCopyObject
56 IRContext* context, Instruction* inst,
66 const FoldingRuleSet& GetRulesForInstruction(Instruction* inst) const { in GetRulesForInstruction()
67 if (inst->opcode() != SpvOpExtInst) { in GetRulesForInstruction()
68 auto it = rules_.find(inst in GetRulesForInstruction()
[all...]
/third_party/spirv-tools/source/opt/
H A Dconvert_to_sampled_image_pass.cpp71 Instruction* inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef() local
72 while (inst->opcode() == spv::Op::OpCopyObject) { in GetNonCopyObjectDef()
73 inst_id = inst->GetSingleWordInOperand(0u); in GetNonCopyObjectDef()
74 inst = def_use_mgr->GetDef(inst_id); in GetNonCopyObjectDef()
76 return inst; in GetNonCopyObjectDef()
82 const Instruction& inst, in GetDescriptorSetBinding()
88 decoration_manager->GetDecorationsFor(inst.result_id(), false)) { in GetDescriptorSetBinding()
141 for (auto& inst : context()->types_values()) { in CollectResourcesToConvert()
142 const auto* variable_type = GetVariableType(inst); in CollectResourcesToConvert()
146 if (!GetDescriptorSetBinding(inst, in CollectResourcesToConvert()
81 GetDescriptorSetBinding( const Instruction& inst, DescriptorSetAndBinding* descriptor_set_binding) const GetDescriptorSetBinding() argument
206 FindUses(const Instruction* inst, std::vector<Instruction*>* uses, spv::Op user_opcode) const FindUses() argument
317 MoveInstructionNextToType(Instruction* inst, uint32_t type_id) MoveInstructionNextToType() argument
[all...]
H A Dfolding_rules.h34 // |inst| - the instruction to be simplified.
40 // A folding rule returns true if |inst| can be simplified using this rule. If
41 // the instruction can be simplified, then |inst| is changed to the simplified
42 // instruction. Otherwise, |inst| remains the same.
45 // important to note that if |inst| can be folded to the result of an
46 // instruction that feed it, then |inst| should be changed to an OpCopyObject
56 IRContext* context, Instruction* inst,
66 const FoldingRuleSet& GetRulesForInstruction(Instruction* inst) const { in GetRulesForInstruction()
67 if (inst->opcode() != spv::Op::OpExtInst) { in GetRulesForInstruction()
68 auto it = rules_.find(inst in GetRulesForInstruction()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dfault.h26 u64 inst; member
37 int gp100_fault_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_fault **);
38 int gp10b_fault_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_fault **);
39 int gv100_fault_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_fault **);
40 int tu102_fault_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_fault **);
H A Dbus.h21 int nv04_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **);
22 int nv31_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **);
23 int nv50_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **);
24 int g94_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **);
25 int gf100_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **);
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/ce/
H A Dgf100.c32 nvkm_wr32(ce->engine.subdev.device, ce->addr + 0x084, ce->engine.subdev.inst); in gf100_ce_init()
64 gf100_ce_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gf100_ce_new() argument
67 return nvkm_falcon_new_(inst ? &gf100_ce1 : &gf100_ce0, device, type, inst, true, in gf100_ce_new()
68 0x104000 + (inst * 0x1000), pengine); in gf100_ce_new()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/
H A Dsme-inst.h12 .inst 0x4bf5800 \
34 .inst 0xe1000000 \
45 .inst 0xe1200000 \
57 .inst 0xe11f8000 \
67 .inst 0xe13f8000 \
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_cl_dump.c51 struct v3d_group *inst = v3d_spec_find_instruction(spec, p); in vc4_dump_cl() local
55 if (inst == NULL) { in vc4_dump_cl()
61 length = v3d_group_get_length(inst); in vc4_dump_cl()
64 offset, hw_offset, header, v3d_group_get_name(inst)); in vc4_dump_cl()
66 v3d_print_group(clif, inst, offset, p); in vc4_dump_cl()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dvcn_v1_0.c97 VCN_1_0__SRCID__UVD_SYSTEM_MESSAGE_INTERRUPT, &adev->vcn.inst->irq); in vcn_v1_0_sw_init()
104 &adev->vcn.inst->irq); in vcn_v1_0_sw_init()
130 ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_sw_init()
132 r = amdgpu_ring_init(adev, ring, 512, &adev->vcn.inst->irq, 0, in vcn_v1_0_sw_init()
137 adev->vcn.internal.scratch9 = adev->vcn.inst->external.scratch9 = in vcn_v1_0_sw_init()
139 adev->vcn.internal.data0 = adev->vcn.inst->external.data0 = in vcn_v1_0_sw_init()
141 adev->vcn.internal.data1 = adev->vcn.inst->external.data1 = in vcn_v1_0_sw_init()
143 adev->vcn.internal.cmd = adev->vcn.inst->external.cmd = in vcn_v1_0_sw_init()
145 adev->vcn.internal.nop = adev->vcn.inst->external.nop = in vcn_v1_0_sw_init()
149 ring = &adev->vcn.inst in vcn_v1_0_sw_init()
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dcbc.c175 struct skcipher_instance *inst; in crypto_cbc_create() local
179 inst = skcipher_alloc_instance_simple(tmpl, tb); in crypto_cbc_create()
180 if (IS_ERR(inst)) in crypto_cbc_create()
181 return PTR_ERR(inst); in crypto_cbc_create()
183 alg = skcipher_ialg_simple(inst); in crypto_cbc_create()
189 inst->alg.encrypt = crypto_cbc_encrypt; in crypto_cbc_create()
190 inst->alg.decrypt = crypto_cbc_decrypt; in crypto_cbc_create()
192 err = skcipher_register_instance(tmpl, inst); in crypto_cbc_create()
195 inst->free(inst); in crypto_cbc_create()
[all...]
/kernel/linux/linux-5.10/include/crypto/
H A Dalgapi.h39 void (*free)(struct crypto_instance *inst);
79 struct crypto_instance *inst; member
111 struct crypto_instance *inst);
112 void crypto_unregister_instance(struct crypto_instance *inst);
114 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
125 int crypto_inst_setname(struct crypto_instance *inst, const char *name,
190 static inline void *crypto_instance_ctx(struct crypto_instance *inst) in crypto_instance_ctx() argument
192 return inst->__ctx; in crypto_instance_ctx()
200 struct crypto_instance *inst, in crypto_grab_cipher()
206 return crypto_grab_spawn(&spawn->base, inst, nam in crypto_grab_cipher()
199 crypto_grab_cipher(struct crypto_cipher_spawn *spawn, struct crypto_instance *inst, const char *name, u32 type, u32 mask) crypto_grab_cipher() argument
[all...]
/kernel/linux/linux-6.6/crypto/
H A Dcbc.c176 struct skcipher_instance *inst; in crypto_cbc_create() local
180 inst = skcipher_alloc_instance_simple(tmpl, tb); in crypto_cbc_create()
181 if (IS_ERR(inst)) in crypto_cbc_create()
182 return PTR_ERR(inst); in crypto_cbc_create()
184 alg = skcipher_ialg_simple(inst); in crypto_cbc_create()
190 inst->alg.encrypt = crypto_cbc_encrypt; in crypto_cbc_create()
191 inst->alg.decrypt = crypto_cbc_decrypt; in crypto_cbc_create()
193 err = skcipher_register_instance(tmpl, inst); in crypto_cbc_create()
196 inst->free(inst); in crypto_cbc_create()
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dcm.h61 void (*module_enable)(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
62 void (*module_disable)(u8 part, u16 inst, u16 clkctrl_offs);
63 u32 (*xlate_clkctrl)(u8 part, u16 inst, u16 clkctrl_offs);
72 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
73 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs);
74 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs);
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Dcm.h60 void (*module_enable)(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
61 void (*module_disable)(u8 part, u16 inst, u16 clkctrl_offs);
62 u32 (*xlate_clkctrl)(u8 part, u16 inst, u16 clkctrl_offs);
71 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
72 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs);
73 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs);
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_dead_control_flow.cpp51 backend_instruction *const inst = block->start(); in dead_control_flow_eliminate() local
57 if (inst->opcode == BRW_OPCODE_ENDIF && in dead_control_flow_eliminate()
64 } else if (inst->opcode == BRW_OPCODE_ENDIF && in dead_control_flow_eliminate()
68 backend_instruction *const endif_inst = inst; in dead_control_flow_eliminate()
101 } else if (inst->opcode == BRW_OPCODE_ELSE && in dead_control_flow_eliminate()
105 backend_instruction *const else_inst = inst; in dead_control_flow_eliminate()
/third_party/pcre2/pcre2/src/sljit/
H A DsljitNativeARM_32.c155 sljit_uw* inst; in push_cpool() local
165 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
166 FAIL_IF(!inst); in push_cpool()
168 *inst = 0xff000000 | compiler->cpool_fill; in push_cpool()
171 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
172 FAIL_IF(!inst); in push_cpool()
174 *inst = 0; in push_cpool()
180 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
181 FAIL_IF(!inst); in push_cpool()
183 *inst in push_cpool()
190 push_inst(struct sljit_compiler *compiler, sljit_uw inst) push_inst() argument
204 push_inst_with_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw literal) push_inst_with_literal() argument
254 push_inst_with_unique_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw literal) push_inst_with_unique_literal() argument
398 push_inst(struct sljit_compiler *compiler, sljit_uw inst) push_inst() argument
478 sljit_uw *inst = (sljit_uw *)ptr[0]; inline_set_jump_addr() local
577 sljit_uw *inst = (sljit_uw*)ptr[0]; inline_set_const() local
2352 sljit_uw inst = VSTR_F32 | (flags & (SLJIT_32 | FPU_LOAD)); emit_fop_mem() local
3444 sljit_uw is_type1_transfer, inst; sljit_emit_mem_update() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_soa.c1863 const struct tgsi_full_instruction *inst, in emit_store_chan()
1871 const struct tgsi_full_dst_register *reg = &inst->Dst[index]; in emit_store_chan()
1874 enum tgsi_opcode_type dtype = tgsi_opcode_infer_dst_type(inst->Instruction.Opcode, index); in emit_store_chan()
1881 if (inst->Instruction.Saturate) { in emit_store_chan()
1927 const struct tgsi_full_instruction * inst, in emit_debug()
1942 tgsi_dump_instruction_str(inst, bld_base->pc, &buf[2], sizeof buf - 2); in emit_debug()
1956 const struct tgsi_full_instruction * inst, in emit_store()
1962 enum tgsi_opcode_type dtype = tgsi_opcode_infer_dst_type(inst->Instruction.Opcode, index); in emit_store()
1964 unsigned writemask = inst->Dst[index].Register.WriteMask; in emit_store()
1969 emit_store_chan(bld_base, inst, inde in emit_store()
1861 emit_store_chan( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_instruction *inst, unsigned index, unsigned chan_index, LLVMValueRef value) emit_store_chan() argument
1925 emit_debug( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_instruction * inst, const struct tgsi_opcode_info * info) emit_debug() argument
1954 emit_store( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_instruction * inst, const struct tgsi_opcode_info * info, unsigned index, LLVMValueRef dst[4]) emit_store() argument
2012 lp_build_lod_property( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_instruction *inst, unsigned src_op) lp_build_lod_property() argument
2066 emit_tex( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier, LLVMValueRef *texel, unsigned sampler_reg, enum lp_sampler_op_type sampler_op) emit_tex() argument
2279 emit_sample(struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier, boolean compare, enum lp_sampler_op_type sample_type, LLVMValueRef *texel) emit_sample() argument
2461 emit_fetch_texels( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, LLVMValueRef *texel, boolean is_samplei) emit_fetch_texels() argument
2602 emit_size_query( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, LLVMValueRef *sizes_out, boolean is_sviewinfo) emit_size_query() argument
2720 emit_kill_if( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, int pc) emit_kill_if() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dgm107.c35 .inst = &gf100_chan_inst,
49 nvkm_wo32(memory, offset + 4, chan->inst->addr >> 12); in gm107_runl_insert_chan()
104 u32 inst = nvkm_rd32(device, 0x002800 + (unit * 0x10)); in gm107_fifo_intr_mmu_fault_unit() local
110 info.inst = (u64)inst << 12; in gm107_fifo_intr_mmu_fault_unit()
152 gm107_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gm107_fifo_new() argument
155 return nvkm_fifo_new_(&gm107_fifo, device, type, inst, pfifo); in gm107_fifo_new()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dgk104.c39 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) in gk104_clkgate_enable()
51 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) in gk104_clkgate_enable()
68 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) in gk104_clkgate_fini()
110 enum nvkm_subdev_type type, int inst, in gk104_therm_new_()
120 nvkm_therm_ctor(&therm->base, device, type, inst, func); in gk104_therm_new_()
128 gk104_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_therm **ptherm) in gk104_therm_new() argument
130 return gk104_therm_new_(&gk104_therm_func, device, type, inst, in gk104_therm_new()
109 gk104_therm_new_(const struct nvkm_therm_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, const struct gk104_clkgate_engine_info *clkgate_order, const struct gf100_idle_filter *idle_filter, struct nvkm_therm **ptherm) gk104_therm_new_() argument
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_inline_literals.c88 struct rc_instruction * inst; in rc_inline_literals() local
90 for(inst = c->Program.Instructions.Next; in rc_inline_literals()
91 inst != &c->Program.Instructions; in rc_inline_literals()
92 inst = inst->Next) { in rc_inline_literals()
94 rc_get_opcode_info(inst->U.I.Opcode); in rc_inline_literals()
112 &inst->U.I.SrcReg[src_idx]; in rc_inline_literals()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dfuzzer_pass_add_composite_extract.cpp45 GetIRContext(), [](opt::IRContext* ir_context, opt::Instruction* inst) { in Apply()
46 return inst->type_id() && inst->result_id() && in Apply()
48 ir_context->get_type_mgr()->GetType(inst->type_id())); in Apply()
86 const auto* inst = in Apply()
89 composite_id = inst->result_id(); in Apply()
91 auto type_id = inst->type_id(); in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dfuzzer_pass_add_composite_extract.cpp45 GetIRContext(), [](opt::IRContext* ir_context, opt::Instruction* inst) { in Apply()
46 return inst->type_id() && inst->result_id() && in Apply()
48 ir_context->get_type_mgr()->GetType(inst->type_id())); in Apply()
86 const auto* inst = in Apply()
89 composite_id = inst->result_id(); in Apply()
91 auto type_id = inst->type_id(); in Apply()

Completed in 16 milliseconds

1...<<31323334353637383940>>...128