/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_composite_types.cpp | 115 for (auto& inst : GetIRContext()->types_values()) { in ChooseScalarOrCompositeType() 116 switch (inst.opcode()) { in ChooseScalarOrCompositeType() 123 candidates.push_back(inst.result_id()); in ChooseScalarOrCompositeType() 127 inst.result_id()) && in ChooseScalarOrCompositeType() 129 inst.result_id())) { in ChooseScalarOrCompositeType() 130 candidates.push_back(inst.result_id()); in ChooseScalarOrCompositeType()
|
H A D | fuzzer_pass_permute_phi_operands.cpp | 41 const auto& inst = *inst_it; in Apply() 43 if (inst.opcode() != SpvOpPhi) { in Apply() 52 // Create a vector of indices for each pair of operands in the |inst|. in Apply() 54 std::vector<uint32_t> permutation(inst.NumInOperands() / 2); in Apply() 59 inst.result_id(), std::move(permutation))); in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_add_composite_types.cpp | 115 for (auto& inst : GetIRContext()->types_values()) { in ChooseScalarOrCompositeType() 116 switch (inst.opcode()) { in ChooseScalarOrCompositeType() 123 candidates.push_back(inst.result_id()); in ChooseScalarOrCompositeType() 127 inst.result_id()) && in ChooseScalarOrCompositeType() 129 inst.result_id())) { in ChooseScalarOrCompositeType() 130 candidates.push_back(inst.result_id()); in ChooseScalarOrCompositeType()
|
H A D | fuzzer_pass_permute_phi_operands.cpp | 41 const auto& inst = *inst_it; in Apply() 43 if (inst.opcode() != SpvOpPhi) { in Apply() 52 // Create a vector of indices for each pair of operands in the |inst|. in Apply() 54 std::vector<uint32_t> permutation(inst.NumInOperands() / 2); in Apply() 59 inst.result_id(), std::move(permutation))); in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | dataflow.cpp | 40 VisitResult Visit(Instruction* inst) override { 41 if (inst->HasResultId()) { 42 visited_result_ids.push_back(inst->result_id()); 67 VisitResult Visit(Instruction* inst) override { 69 if (inst->opcode() != SpvOpLabel) 71 uint32_t id = inst->result_id();
|
H A D | instruction_list_test.cpp | 75 std::unique_ptr<Instruction> inst(new Instruction()); in TEST() 76 inserted_instructions.push_back(inst.get()); in TEST() 77 auto new_element = list.end().InsertBefore(std::move(inst)); in TEST() 98 std::unique_ptr<Instruction> inst(new Instruction()); in TEST() 99 created_instructions.push_back(inst.get()); in TEST() 100 new_instructions.push_back(std::move(inst)); in TEST()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_composite_types.cpp | 115 for (auto& inst : GetIRContext()->types_values()) { in ChooseScalarOrCompositeType() 116 switch (inst.opcode()) { in ChooseScalarOrCompositeType() 123 candidates.push_back(inst.result_id()); in ChooseScalarOrCompositeType() 127 inst.result_id()) && in ChooseScalarOrCompositeType() 129 inst.result_id())) { in ChooseScalarOrCompositeType() 130 candidates.push_back(inst.result_id()); in ChooseScalarOrCompositeType()
|
H A D | fuzzer_pass_permute_phi_operands.cpp | 41 const auto& inst = *inst_it; in Apply() 43 if (inst.opcode() != spv::Op::OpPhi) { in Apply() 52 // Create a vector of indices for each pair of operands in the |inst|. in Apply() 54 std::vector<uint32_t> permutation(inst.NumInOperands() / 2); in Apply() 59 inst.result_id(), std::move(permutation))); in Apply()
|
/third_party/spirv-tools/test/opt/ |
H A D | dataflow.cpp | 39 VisitResult Visit(Instruction* inst) override { 40 if (inst->HasResultId()) { 41 visited_result_ids.push_back(inst->result_id()); 66 VisitResult Visit(Instruction* inst) override { 68 if (inst->opcode() != spv::Op::OpLabel) 70 uint32_t id = inst->result_id();
|
H A D | instruction_list_test.cpp | 75 std::unique_ptr<Instruction> inst(new Instruction()); in TEST() 76 inserted_instructions.push_back(inst.get()); in TEST() 77 auto new_element = list.end().InsertBefore(std::move(inst)); in TEST() 98 std::unique_ptr<Instruction> inst(new Instruction()); in TEST() 99 created_instructions.push_back(inst.get()); in TEST() 100 new_instructions.push_back(std::move(inst)); in TEST()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | uvd_v7_0.c | 89 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_rptr() 123 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_wptr() 161 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_set_wptr() 416 r = amdgpu_irq_add_id(adev, amdgpu_ih_clientid_uvds[j], UVD_7_0__SRCID__UVD_SYSTEM_MESSAGE_INTERRUPT, &adev->uvd.inst[j].irq); in uvd_v7_0_sw_init() 422 r = amdgpu_irq_add_id(adev, amdgpu_ih_clientid_uvds[j], i + UVD_7_0__SRCID__UVD_ENC_GEN_PURP, &adev->uvd.inst[j].irq); in uvd_v7_0_sw_init() 453 ring = &adev->uvd.inst[j].ring; in uvd_v7_0_sw_init() 456 &adev->uvd.inst[j].irq, 0, in uvd_v7_0_sw_init() 463 ring = &adev->uvd.inst[j].ring_enc[i]; in uvd_v7_0_sw_init() 477 &adev->uvd.inst[j].irq, 0, in uvd_v7_0_sw_init() 514 amdgpu_ring_fini(&adev->uvd.inst[ in uvd_v7_0_sw_fini() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | uvd_v7_0.c | 89 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_rptr() 123 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_wptr() 161 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_set_wptr() 409 r = amdgpu_irq_add_id(adev, amdgpu_ih_clientid_uvds[j], UVD_7_0__SRCID__UVD_SYSTEM_MESSAGE_INTERRUPT, &adev->uvd.inst[j].irq); in uvd_v7_0_sw_init() 415 r = amdgpu_irq_add_id(adev, amdgpu_ih_clientid_uvds[j], i + UVD_7_0__SRCID__UVD_ENC_GEN_PURP, &adev->uvd.inst[j].irq); in uvd_v7_0_sw_init() 446 ring = &adev->uvd.inst[j].ring; in uvd_v7_0_sw_init() 450 &adev->uvd.inst[j].irq, 0, in uvd_v7_0_sw_init() 457 ring = &adev->uvd.inst[j].ring_enc[i]; in uvd_v7_0_sw_init() 472 &adev->uvd.inst[j].irq, 0, in uvd_v7_0_sw_init() 509 amdgpu_ring_fini(&adev->uvd.inst[ in uvd_v7_0_sw_fini() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_asym_algs.c | 78 struct qat_crypto_instance *inst; member 112 struct qat_crypto_instance *inst; member 143 struct qat_crypto_instance *inst, in qat_alg_send_asym_message() 149 alg_req->tx_ring = inst->pke_tx; in qat_alg_send_asym_message() 151 alg_req->backlog = &inst->backlog; in qat_alg_send_asym_message() 160 struct device *dev = &GET_DEV(req->ctx.dh->inst->accel_dev); in qat_dh_cb() 221 struct qat_crypto_instance *inst = ctx->inst; in qat_dh_compute_value() local 222 struct device *dev = &GET_DEV(inst->accel_dev); in qat_dh_compute_value() 352 ret = qat_alg_send_asym_message(qat_req, inst, in qat_dh_compute_value() 142 qat_alg_send_asym_message(struct qat_asym_request *qat_req, struct qat_crypto_instance *inst, struct crypto_async_request *base) qat_alg_send_asym_message() argument 398 struct qat_crypto_instance *inst = ctx->inst; qat_dh_set_params() local 490 struct qat_crypto_instance *inst = qat_dh_init_tfm() local 649 struct qat_crypto_instance *inst = ctx->inst; qat_rsa_enc() local 783 struct qat_crypto_instance *inst = ctx->inst; qat_rsa_dec() local 932 struct qat_crypto_instance *inst = ctx->inst; qat_rsa_set_n() local 964 struct qat_crypto_instance *inst = ctx->inst; qat_rsa_set_e() local 989 struct qat_crypto_instance *inst = ctx->inst; qat_rsa_set_d() local 1025 struct qat_crypto_instance *inst = ctx->inst; qat_rsa_setkey_crt() local 1227 struct qat_crypto_instance *inst = qat_rsa_init_tfm() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_emulate.c | 239 unsigned int inst, int *advance) in kvmppc_core_emulate_op_pr() 242 int rt = get_rt(inst); in kvmppc_core_emulate_op_pr() 243 int rs = get_rs(inst); in kvmppc_core_emulate_op_pr() 244 int ra = get_ra(inst); in kvmppc_core_emulate_op_pr() 245 int rb = get_rb(inst); in kvmppc_core_emulate_op_pr() 248 switch (get_op(inst)) { in kvmppc_core_emulate_op_pr() 252 (inst == swab32(inst_sc))) { in kvmppc_core_emulate_op_pr() 266 switch (get_xop(inst)) { in kvmppc_core_emulate_op_pr() 297 switch (get_xop(inst)) { in kvmppc_core_emulate_op_pr() 304 if (inst in kvmppc_core_emulate_op_pr() 238 kvmppc_core_emulate_op_pr(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_core_emulate_op_pr() argument 1032 kvmppc_alignment_dsisr(struct kvm_vcpu *vcpu, unsigned int inst) kvmppc_alignment_dsisr() argument 1037 kvmppc_alignment_dar(struct kvm_vcpu *vcpu, unsigned int inst) kvmppc_alignment_dar() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_emulate.c | 235 unsigned int inst, int *advance) in kvmppc_core_emulate_op_pr() 238 int rt = get_rt(inst); in kvmppc_core_emulate_op_pr() 239 int rs = get_rs(inst); in kvmppc_core_emulate_op_pr() 240 int ra = get_ra(inst); in kvmppc_core_emulate_op_pr() 241 int rb = get_rb(inst); in kvmppc_core_emulate_op_pr() 244 switch (get_op(inst)) { in kvmppc_core_emulate_op_pr() 248 (inst == swab32(inst_sc))) { in kvmppc_core_emulate_op_pr() 262 switch (get_xop(inst)) { in kvmppc_core_emulate_op_pr() 293 switch (get_xop(inst)) { in kvmppc_core_emulate_op_pr() 300 if (inst in kvmppc_core_emulate_op_pr() 234 kvmppc_core_emulate_op_pr(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_core_emulate_op_pr() argument 1034 kvmppc_alignment_dsisr(struct kvm_vcpu *vcpu, unsigned int inst) kvmppc_alignment_dsisr() argument 1039 kvmppc_alignment_dar(struct kvm_vcpu *vcpu, unsigned int inst) kvmppc_alignment_dar() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | merge_return_pass.cpp | 259 target->ForEachPhiInst([this, new_source](Instruction* inst) { in UpdatePhiNodes() 260 uint32_t undefId = Type2Undef(inst->type_id()); in UpdatePhiNodes() 261 inst->AddOperand({SPV_OPERAND_TYPE_ID, {undefId}}); in UpdatePhiNodes() 262 inst->AddOperand({SPV_OPERAND_TYPE_ID, {new_source->id()}}); in UpdatePhiNodes() 263 context()->UpdateDefUse(inst); in UpdatePhiNodes() 268 Instruction& inst) { in CreatePhiNodesForInst() 272 if (inst.result_id() != 0) { in CreatePhiNodesForInst() 273 BasicBlock* inst_bb = context()->get_instr_block(&inst); in CreatePhiNodesForInst() 276 &inst, in CreatePhiNodesForInst() 277 [&users_to_update, &dom_tree, &inst, inst_b in CreatePhiNodesForInst() 267 CreatePhiNodesForInst(BasicBlock* merge_block, Instruction& inst) CreatePhiNodesForInst() argument 866 Instruction* inst = &*bb.begin(); HasNontrivialUnreachableBlocks() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | merge_return_pass.cpp | 259 target->ForEachPhiInst([this, new_source](Instruction* inst) { in UpdatePhiNodes() 260 uint32_t undefId = Type2Undef(inst->type_id()); in UpdatePhiNodes() 261 inst->AddOperand({SPV_OPERAND_TYPE_ID, {undefId}}); in UpdatePhiNodes() 262 inst->AddOperand({SPV_OPERAND_TYPE_ID, {new_source->id()}}); in UpdatePhiNodes() 263 context()->UpdateDefUse(inst); in UpdatePhiNodes() 268 Instruction& inst) { in CreatePhiNodesForInst() 272 if (inst.result_id() != 0) { in CreatePhiNodesForInst() 273 BasicBlock* inst_bb = context()->get_instr_block(&inst); in CreatePhiNodesForInst() 276 &inst, in CreatePhiNodesForInst() 277 [&users_to_update, &dom_tree, &inst, inst_b in CreatePhiNodesForInst() 267 CreatePhiNodesForInst(BasicBlock* merge_block, Instruction& inst) CreatePhiNodesForInst() argument 866 Instruction* inst = &*bb.begin(); HasNontrivialUnreachableBlocks() local [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | merge_return_pass.cpp | 263 target->ForEachPhiInst([this, new_source](Instruction* inst) { in UpdatePhiNodes() 264 uint32_t undefId = Type2Undef(inst->type_id()); in UpdatePhiNodes() 265 inst->AddOperand({SPV_OPERAND_TYPE_ID, {undefId}}); in UpdatePhiNodes() 266 inst->AddOperand({SPV_OPERAND_TYPE_ID, {new_source->id()}}); in UpdatePhiNodes() 267 context()->UpdateDefUse(inst); in UpdatePhiNodes() 272 Instruction& inst) { in CreatePhiNodesForInst() 276 if (inst.result_id() != 0) { in CreatePhiNodesForInst() 277 BasicBlock* inst_bb = context()->get_instr_block(&inst); in CreatePhiNodesForInst() 280 &inst, in CreatePhiNodesForInst() 281 [&users_to_update, &dom_tree, &inst, inst_b in CreatePhiNodesForInst() 271 CreatePhiNodesForInst(BasicBlock* merge_block, Instruction& inst) CreatePhiNodesForInst() argument 874 Instruction* inst = &*bb.begin(); HasNontrivialUnreachableBlocks() local [all...] |
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_qir_emit_uniform_stream_resets.c | 41 qir_for_each_inst(inst, block) { in block_reads_any_uniform() 42 if (qir_has_uniform_read(inst)) in block_reads_any_uniform() 82 qir_for_each_inst(inst, block) { in qir_emit_uniform_stream_resets() 83 if (qir_has_uniform_read(inst)) in qir_emit_uniform_stream_resets()
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
H A D | operand_to_const_reduction_opportunity_finder.cpp | 40 for (auto& inst : block) { in GetAvailableOpportunities() 44 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetAvailableOpportunities() 45 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities() 64 &inst, index, constant->result_id())); in GetAvailableOpportunities()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
H A D | operand_to_const_reduction_opportunity_finder.cpp | 40 for (auto& inst : block) { in GetAvailableOpportunities() 44 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetAvailableOpportunities() 45 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities() 64 &inst, index, constant->result_id())); in GetAvailableOpportunities()
|
/third_party/spirv-tools/source/reduce/ |
H A D | operand_to_const_reduction_opportunity_finder.cpp | 40 for (auto& inst : block) { in GetAvailableOpportunities() 44 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetAvailableOpportunities() 45 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities() 64 &inst, index, constant->result_id())); in GetAvailableOpportunities()
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | algapi.h | 63 void (*free)(struct crypto_instance *inst); 106 struct crypto_instance *inst; member 155 struct crypto_instance *inst); 156 void crypto_unregister_instance(struct crypto_instance *inst); 158 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, 168 int crypto_inst_setname(struct crypto_instance *inst, const char *name, 224 static inline void *crypto_instance_ctx(struct crypto_instance *inst) in crypto_instance_ctx() argument 226 return inst->__ctx; in crypto_instance_ctx()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | nv50.c | 142 u32 trap[6], idx, inst; in nv50_fb_intr() local 171 inst = ((trap[2] << 16) | trap[1]) << 12; in nv50_fb_intr() 180 chan = nvkm_chan_get_inst(&device->fifo->engine, inst, &flags); in nv50_fb_intr() 186 chan ? chan->id : -1, inst, in nv50_fb_intr() 240 enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) in nv50_fb_new_() 246 nvkm_fb_ctor(&nv50_fb_, device, type, inst, &fb->base); in nv50_fb_new_() 260 nv50_fb_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) in nv50_fb_new() argument 262 return nv50_fb_new_(&nv50_fb, device, type, inst, pfb); in nv50_fb_new() 239 nv50_fb_new_(const struct nv50_fb_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) nv50_fb_new_() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | nv40.c | 103 .inst = &nv04_chan_inst, 130 u32 inst = 0x00000000, reg, ctx; in nv40_ectx_bind() local 150 inst = cctx->vctx->inst->addr >> 4; in nv40_ectx_bind() 157 nvkm_wr32(device, reg, inst); in nv40_ectx_bind() 160 nvkm_wo32(ramfc, chan->ramfc_offset + ctx, inst); in nv40_ectx_bind() 248 nv40_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in nv40_fifo_new() argument 251 return nvkm_fifo_new_(&nv40_fifo, device, type, inst, pfifo); in nv40_fifo_new()
|