/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | instruction.cpp | 67 Instruction::Instruction(IRContext* c, const spv_parsed_instruction_t& inst, in Instruction() argument 71 opcode_(static_cast<SpvOp>(inst.opcode)), in Instruction() 72 has_type_id_(inst.type_id != 0), in Instruction() 73 has_result_id_(inst.result_id != 0), in Instruction() 77 for (uint32_t i = 0; i < inst.num_operands; ++i) { in Instruction() 78 const auto& current_payload = inst.operands[i]; in Instruction() 80 inst.words + current_payload.offset, in Instruction() 81 inst.words + current_payload.offset + current_payload.num_words); in Instruction() 88 Instruction::Instruction(IRContext* c, const spv_parsed_instruction_t& inst, in Instruction() argument 92 opcode_(static_cast<SpvOp>(inst in Instruction() 571 AddDebugLine(const Instruction* inst) AddDebugLine() argument 600 InsertBefore(std::unique_ptr<Instruction>&& inst) InsertBefore() argument 826 operator <<(std::ostream& str, const Instruction& inst) operator <<() argument [all...] |
H A D | ir_context.h | 296 // Sets the basic block for |inst|. Re-builds the mapping if it has become 298 void set_instr_block(Instruction* inst, BasicBlock* block) { in set_instr_block() argument 300 instr_to_block_[inst] = block; in set_instr_block() 393 // Deletes the given instruction |inst|. This method erases the 394 // information of the given instruction's uses of its operands. If |inst| 404 // Returns a pointer to the instruction after |inst| or |nullptr| if no such 406 Instruction* KillInst(Instruction* inst); 408 // Collects the non-semantic instruction tree that uses |inst|'s result id 410 void CollectNonSemanticTree(Instruction* inst, 437 // The IRContext will look at the def and uses of |inst| an 469 IsCombinatorInstruction(const Instruction* inst) IsCombinatorInstruction() argument 576 GetFunction(Instruction* inst) GetFunction() argument 1128 AnalyzeDefUse(Instruction* inst) AnalyzeDefUse() argument 1134 UpdateDefUse(Instruction* inst) UpdateDefUse() argument [all...] |
H A D | ssa_rewrite_pass.cpp | 302 void SSARewriter::ProcessStore(Instruction* inst, BasicBlock* bb) { in ProcessStore() argument 303 auto opcode = inst->opcode(); in ProcessStore() 310 (void)pass_->GetPtr(inst, &var_id); in ProcessStore() 311 val_id = inst->GetSingleWordInOperand(kStoreValIdInIdx); in ProcessStore() 312 } else if (inst->NumInOperands() >= 2) { in ProcessStore() 313 var_id = inst->result_id(); in ProcessStore() 314 val_id = inst->GetSingleWordInOperand(kVariableInitIdInIdx); in ProcessStore() 319 inst, var_id, val_id, inst, &decls_invisible_to_value_assignment_); in ProcessStore() 323 << inst in ProcessStore() 329 ProcessLoad(Instruction* inst, BasicBlock* bb) ProcessLoad() argument [all...] |
H A D | function.cpp | 32 [clone, ctx](const Instruction* inst) { in Clone() 33 clone->AddParameter(std::unique_ptr<Instruction>(inst->Clone(ctx))); in Clone() 62 [&f](Instruction* inst) { in ForEachInst() 63 f(inst); in ForEachInst() 73 [&f](const Instruction* inst) { in ForEachInst() 74 f(inst); in ForEachInst() 265 ForEachInst([&str, options](const Instruction* inst) { in PrettyPrint() 266 str << inst->PrettyPrint(options); in PrettyPrint() 267 if (inst->opcode() != SpvOpFunctionEnd) { in PrettyPrint()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | ssa_rewrite_pass.cpp | 302 void SSARewriter::ProcessStore(Instruction* inst, BasicBlock* bb) { in ProcessStore() argument 303 auto opcode = inst->opcode(); in ProcessStore() 310 (void)pass_->GetPtr(inst, &var_id); in ProcessStore() 311 val_id = inst->GetSingleWordInOperand(kStoreValIdInIdx); in ProcessStore() 312 } else if (inst->NumInOperands() >= 2) { in ProcessStore() 313 var_id = inst->result_id(); in ProcessStore() 314 val_id = inst->GetSingleWordInOperand(kVariableInitIdInIdx); in ProcessStore() 319 inst, var_id, val_id, inst, &decls_invisible_to_value_assignment_); in ProcessStore() 323 << inst in ProcessStore() 329 ProcessLoad(Instruction* inst, BasicBlock* bb) ProcessLoad() argument [all...] |
H A D | function.cpp | 32 [clone, ctx](const Instruction* inst) { in Clone() 33 clone->AddParameter(std::unique_ptr<Instruction>(inst->Clone(ctx))); in Clone() 62 [&f](Instruction* inst) { in ForEachInst() 63 f(inst); in ForEachInst() 73 [&f](const Instruction* inst) { in ForEachInst() 74 f(inst); in ForEachInst() 265 ForEachInst([&str, options](const Instruction* inst) { in PrettyPrint() 266 str << inst->PrettyPrint(options); in PrettyPrint() 267 if (inst->opcode() != SpvOpFunctionEnd) { in PrettyPrint()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
H A D | qat_algs.c | 60 struct qat_crypto_instance *inst; member 77 struct qat_crypto_instance *inst; member 558 struct qat_crypto_instance *inst = NULL; in qat_alg_aead_newkey() local 563 inst = qat_crypto_get_instance_node(node); in qat_alg_aead_newkey() 564 if (!inst) in qat_alg_aead_newkey() 566 dev = &GET_DEV(inst->accel_dev); in qat_alg_aead_newkey() 567 ctx->inst = inst; in qat_alg_aead_newkey() 601 ctx->inst = NULL; in qat_alg_aead_newkey() 602 qat_crypto_put_instance(inst); in qat_alg_aead_newkey() 617 qat_alg_free_bufl(struct qat_crypto_instance *inst, struct qat_crypto_request *qat_req) qat_alg_free_bufl() argument 657 qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst, struct scatterlist *sgl, struct scatterlist *sglout, struct qat_crypto_request *qat_req) qat_alg_sgl_to_bufl() argument 803 struct qat_crypto_instance *inst = ctx->inst; qat_aead_alg_callback() local 818 struct qat_crypto_instance *inst = ctx->inst; qat_skcipher_alg_callback() local 955 struct qat_crypto_instance *inst = NULL; qat_alg_skcipher_newkey() local 1242 struct qat_crypto_instance *inst = ctx->inst; qat_alg_aead_exit() local 1291 struct qat_crypto_instance *inst = ctx->inst; qat_alg_skcipher_exit_tfm() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_algs.c | 73 struct qat_crypto_instance *inst; member 90 struct qat_crypto_instance *inst; member 417 bool aes_v2_capable = HW_CAP_AES_V2(ctx->inst->accel_dev); in qat_alg_skcipher_init_com() 493 bool aes_v2_capable = HW_CAP_AES_V2(ctx->inst->accel_dev); in qat_alg_skcipher_init_dec() 607 struct qat_crypto_instance *inst = NULL; in qat_alg_aead_newkey() local 612 inst = qat_crypto_get_instance_node(node); in qat_alg_aead_newkey() 613 if (!inst) in qat_alg_aead_newkey() 615 dev = &GET_DEV(inst->accel_dev); in qat_alg_aead_newkey() 616 ctx->inst = inst; in qat_alg_aead_newkey() 670 struct qat_crypto_instance *inst = ctx->inst; qat_aead_alg_callback() local 740 struct qat_crypto_instance *inst = ctx->inst; qat_skcipher_alg_callback() local 769 qat_alg_send_sym_message(struct qat_crypto_request *qat_req, struct qat_crypto_instance *inst, struct crypto_async_request *base) qat_alg_send_sym_message() argument 891 struct qat_crypto_instance *inst = NULL; qat_alg_skcipher_newkey() local 1184 struct qat_crypto_instance *inst = ctx->inst; qat_alg_aead_exit() local 1239 struct qat_crypto_instance *inst = ctx->inst; qat_alg_skcipher_exit_tfm() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gc_9_4_3.c | 287 uint32_t wptr_mask, struct mm_struct *mm, uint32_t inst) in kgd_gfx_v9_4_3_hqd_load() 295 kgd_gfx_v9_acquire_queue(adev, pipe_id, queue_id, inst); in kgd_gfx_v9_4_3_hqd_load() 299 hqd_base = SOC15_REG_OFFSET(GC, GET_INST(GC, inst), regCP_MQD_BASE_ADDR); in kgd_gfx_v9_4_3_hqd_load() 300 hqd_end = SOC15_REG_OFFSET(GC, GET_INST(GC, inst), regCP_HQD_AQL_DISPATCH_ID_HI); in kgd_gfx_v9_4_3_hqd_load() 309 WREG32_RLC(SOC15_REG_OFFSET(GC, GET_INST(GC, inst), regCP_HQD_PQ_DOORBELL_CONTROL), in kgd_gfx_v9_4_3_hqd_load() 339 WREG32_RLC(SOC15_REG_OFFSET(GC, GET_INST(GC, inst), regCP_HQD_PQ_WPTR_LO), in kgd_gfx_v9_4_3_hqd_load() 341 WREG32_RLC(SOC15_REG_OFFSET(GC, GET_INST(GC, inst), regCP_HQD_PQ_WPTR_HI), in kgd_gfx_v9_4_3_hqd_load() 343 WREG32_RLC(SOC15_REG_OFFSET(GC, GET_INST(GC, inst), regCP_HQD_PQ_WPTR_POLL_ADDR), in kgd_gfx_v9_4_3_hqd_load() 345 WREG32_RLC(SOC15_REG_OFFSET(GC, GET_INST(GC, inst), in kgd_gfx_v9_4_3_hqd_load() 348 WREG32(SOC15_REG_OFFSET(GC, GET_INST(GC, inst), regCP_PQ_WPTR_POLL_CNTL in kgd_gfx_v9_4_3_hqd_load() 284 kgd_gfx_v9_4_3_hqd_load(struct amdgpu_device *adev, void *mqd, uint32_t pipe_id, uint32_t queue_id, uint32_t __user *wptr, uint32_t wptr_shift, uint32_t wptr_mask, struct mm_struct *mm, uint32_t inst) kgd_gfx_v9_4_3_hqd_load() argument 465 kgd_gfx_v9_4_3_set_address_watch( struct amdgpu_device *adev, uint64_t watch_address, uint32_t watch_address_mask, uint32_t watch_id, uint32_t watch_mode, uint32_t debug_vmid, uint32_t inst) kgd_gfx_v9_4_3_set_address_watch() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_obfuscate_constants.cpp | 411 const opt::Instruction& inst, uint32_t in_operand_index, in MaybeAddConstantIdUse() 415 if (inst.GetInOperand(in_operand_index).type != SPV_OPERAND_TYPE_ID) { in MaybeAddConstantIdUse() 419 auto operand_id = inst.GetSingleWordInOperand(in_operand_index); in MaybeAddConstantIdUse() 431 ->set_target_instruction_opcode(inst.opcode()); in MaybeAddConstantIdUse() 436 skipped_opcode_count.find(inst.opcode()) == in MaybeAddConstantIdUse() 439 : skipped_opcode_count.at(inst.opcode())); in MaybeAddConstantIdUse() 467 for (auto& inst : block) { in Apply() 468 if (inst.HasResultId()) { in Apply() 472 base_instruction_result_id = inst.result_id(); in Apply() 481 if (inst in Apply() 410 MaybeAddConstantIdUse( const opt::Instruction& inst, uint32_t in_operand_index, uint32_t base_instruction_result_id, const std::map<SpvOp, uint32_t>& skipped_opcode_count, std::vector<protobufs::IdUseDescriptor>* constant_uses) MaybeAddConstantIdUse() argument [all...] |
H A D | fuzzer_pass.cpp | 434 for (auto& inst : GetIRContext()->types_values()) { in FindOrCreateGlobalUndef() 435 if (inst.opcode() == SpvOpUndef && inst.type_id() == type_id) { in FindOrCreateGlobalUndef() 436 return inst.result_id(); in FindOrCreateGlobalUndef() 475 for (auto& inst : GetIRContext()->types_values()) { in GetAvailableBasicTypesAndPointers() 482 switch (inst.opcode()) { in GetAvailableBasicTypesAndPointers() 489 basic_types.insert(inst.result_id()); in GetAvailableBasicTypesAndPointers() 490 basic_type_to_pointers.insert({inst.result_id(), {}}); in GetAvailableBasicTypesAndPointers() 494 if (basic_types.count(inst.GetSingleWordInOperand(0))) { in GetAvailableBasicTypesAndPointers() 495 basic_types.insert(inst in GetAvailableBasicTypesAndPointers() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_obfuscate_constants.cpp | 411 const opt::Instruction& inst, uint32_t in_operand_index, in MaybeAddConstantIdUse() 415 if (inst.GetInOperand(in_operand_index).type != SPV_OPERAND_TYPE_ID) { in MaybeAddConstantIdUse() 419 auto operand_id = inst.GetSingleWordInOperand(in_operand_index); in MaybeAddConstantIdUse() 431 ->set_target_instruction_opcode(inst.opcode()); in MaybeAddConstantIdUse() 436 skipped_opcode_count.find(inst.opcode()) == in MaybeAddConstantIdUse() 439 : skipped_opcode_count.at(inst.opcode())); in MaybeAddConstantIdUse() 467 for (auto& inst : block) { in Apply() 468 if (inst.HasResultId()) { in Apply() 472 base_instruction_result_id = inst.result_id(); in Apply() 481 if (inst in Apply() 410 MaybeAddConstantIdUse( const opt::Instruction& inst, uint32_t in_operand_index, uint32_t base_instruction_result_id, const std::map<SpvOp, uint32_t>& skipped_opcode_count, std::vector<protobufs::IdUseDescriptor>* constant_uses) MaybeAddConstantIdUse() argument [all...] |
H A D | fuzzer_pass.cpp | 434 for (auto& inst : GetIRContext()->types_values()) { in FindOrCreateGlobalUndef() 435 if (inst.opcode() == SpvOpUndef && inst.type_id() == type_id) { in FindOrCreateGlobalUndef() 436 return inst.result_id(); in FindOrCreateGlobalUndef() 475 for (auto& inst : GetIRContext()->types_values()) { in GetAvailableBasicTypesAndPointers() 482 switch (inst.opcode()) { in GetAvailableBasicTypesAndPointers() 489 basic_types.insert(inst.result_id()); in GetAvailableBasicTypesAndPointers() 490 basic_type_to_pointers.insert({inst.result_id(), {}}); in GetAvailableBasicTypesAndPointers() 494 if (basic_types.count(inst.GetSingleWordInOperand(0))) { in GetAvailableBasicTypesAndPointers() 495 basic_types.insert(inst in GetAvailableBasicTypesAndPointers() [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_obfuscate_constants.cpp | 413 const opt::Instruction& inst, uint32_t in_operand_index, in MaybeAddConstantIdUse() 417 if (inst.GetInOperand(in_operand_index).type != SPV_OPERAND_TYPE_ID) { in MaybeAddConstantIdUse() 421 auto operand_id = inst.GetSingleWordInOperand(in_operand_index); in MaybeAddConstantIdUse() 433 ->set_target_instruction_opcode(uint32_t(inst.opcode())); in MaybeAddConstantIdUse() 438 skipped_opcode_count.find(inst.opcode()) == in MaybeAddConstantIdUse() 441 : skipped_opcode_count.at(inst.opcode())); in MaybeAddConstantIdUse() 469 for (auto& inst : block) { in Apply() 470 if (inst.HasResultId()) { in Apply() 474 base_instruction_result_id = inst.result_id(); in Apply() 483 if (inst in Apply() 412 MaybeAddConstantIdUse( const opt::Instruction& inst, uint32_t in_operand_index, uint32_t base_instruction_result_id, const std::map<spv::Op, uint32_t>& skipped_opcode_count, std::vector<protobufs::IdUseDescriptor>* constant_uses) MaybeAddConstantIdUse() argument [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | pcbc.c | 155 struct skcipher_instance *inst; in crypto_pcbc_create() local 158 inst = skcipher_alloc_instance_simple(tmpl, tb); in crypto_pcbc_create() 159 if (IS_ERR(inst)) in crypto_pcbc_create() 160 return PTR_ERR(inst); in crypto_pcbc_create() 162 inst->alg.encrypt = crypto_pcbc_encrypt; in crypto_pcbc_create() 163 inst->alg.decrypt = crypto_pcbc_decrypt; in crypto_pcbc_create() 165 err = skcipher_register_instance(tmpl, inst); in crypto_pcbc_create() 167 inst->free(inst); in crypto_pcbc_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
H A D | nv44.c | 48 u32 inst; member 59 chan->inst = (*pgpuobj)->addr; in nv44_mpeg_chan_bind() 74 u32 inst = 0x80000000 | (chan->inst >> 4); in nv44_mpeg_chan_fini() local 77 if (nvkm_rd32(device, 0x00b318) == inst) in nv44_mpeg_chan_fini() 150 u32 inst = nvkm_rd32(device, 0x00b318) & 0x000fffff; in nv44_mpeg_intr() local 159 if (temp->inst >> 4 == inst) { in nv44_mpeg_intr() 185 chan ? chan->fifo->chid : -1, inst << 4, in nv44_mpeg_intr()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | pcbc.c | 156 struct skcipher_instance *inst; in crypto_pcbc_create() local 159 inst = skcipher_alloc_instance_simple(tmpl, tb); in crypto_pcbc_create() 160 if (IS_ERR(inst)) in crypto_pcbc_create() 161 return PTR_ERR(inst); in crypto_pcbc_create() 163 inst->alg.encrypt = crypto_pcbc_encrypt; in crypto_pcbc_create() 164 inst->alg.decrypt = crypto_pcbc_decrypt; in crypto_pcbc_create() 166 err = skcipher_register_instance(tmpl, inst); in crypto_pcbc_create() 168 inst->free(inst); in crypto_pcbc_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | i2c.h | 79 int nv04_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **); 80 int nv4e_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **); 81 int nv50_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **); 82 int g94_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **); 83 int gf117_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **); 84 int gf119_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **); 85 int gk104_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **); 86 int gk110_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **); 87 int gm200_i2c_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_i2c **);
|
/third_party/libwebsockets/lib/drivers/netdev/ |
H A D | wifi.c | 56 wnd->inst.ops->scan(&wnd->inst); in lws_netdev_wifi_scan() 79 lws_netdevs_t *netdevs = lws_netdevs_from_ndi(&wnd->inst); in lws_netdev_wifi_scan_select() 160 wnd->inst.ops->connect(&wnd->inst, pc->ssid, pc->passphrase, in lws_netdev_wifi_scan_select() 189 lws_netdevs_t *netdevs = lws_netdevs_from_ndi(&wnd->inst); in lws_netdev_wifi_redo_last() 201 lws_snprintf(setname, sizeof(setname), "netdev.last.%s", wnd->inst.name); in lws_netdev_wifi_redo_last() 235 wnd->inst.ops->connect(&wnd->inst, ssid_copy, pp, bssid); in lws_netdev_wifi_redo_last()
|
/third_party/spirv-tools/source/opt/ |
H A D | function.cpp | 30 [clone, ctx](const Instruction* inst) { in Clone() 31 clone->AddParameter(std::unique_ptr<Instruction>(inst->Clone(ctx))); in Clone() 60 [&f](Instruction* inst) { in ForEachInst() 61 f(inst); in ForEachInst() 71 [&f](const Instruction* inst) { in ForEachInst() 72 f(inst); in ForEachInst() 263 ForEachInst([&str, options](const Instruction* inst) { in PrettyPrint() 264 str << inst->PrettyPrint(options); in PrettyPrint() 265 if (inst->opcode() != spv::Op::OpFunctionEnd) { in PrettyPrint()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gf100.c | 81 nvkm_wr32(device, 0x003000 + (chan->id * 8), 0xc0000000 | chan->inst->addr >> 12); in gf100_chan_bind() 90 nvkm_kmap(chan->inst); in gf100_chan_ramfc_write() 91 nvkm_wo32(chan->inst, 0x08, lower_32_bits(userd)); in gf100_chan_ramfc_write() 92 nvkm_wo32(chan->inst, 0x0c, upper_32_bits(userd)); in gf100_chan_ramfc_write() 93 nvkm_wo32(chan->inst, 0x10, 0x0000face); in gf100_chan_ramfc_write() 94 nvkm_wo32(chan->inst, 0x30, 0xfffff902); in gf100_chan_ramfc_write() 95 nvkm_wo32(chan->inst, 0x48, lower_32_bits(offset)); in gf100_chan_ramfc_write() 96 nvkm_wo32(chan->inst, 0x4c, upper_32_bits(offset) | (limit2 << 16)); in gf100_chan_ramfc_write() 97 nvkm_wo32(chan->inst, 0x54, 0x00000002); in gf100_chan_ramfc_write() 98 nvkm_wo32(chan->inst, in gf100_chan_ramfc_write() 699 u32 inst = nvkm_rd32(device, 0x002800 + (unit * 0x10)); gf100_fifo_intr_mmu_fault_unit() local 965 gf100_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fifo **pfifo) gf100_fifo_new() argument [all...] |
/third_party/mesa3d/src/intel/common/ |
H A D | intel_batch_decoder.c | 214 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); in handle_state_base_address() local 217 intel_field_iterator_init(&iter, inst, p, 0, false); in handle_state_base_address() 252 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); in handle_binding_table_pool_alloc() local 255 intel_field_iterator_init(&iter, inst, p, 0, false); in handle_binding_table_pool_alloc() 418 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); in handle_media_interface_descriptor_load() local 423 intel_field_iterator_init(&iter, inst, p, 0, false); in handle_media_interface_descriptor_load() 460 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); in handle_compute_walker() local 463 intel_field_iterator_init(&iter, inst, p, 0, false); in handle_compute_walker() 476 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); in handle_3dstate_vertex_buffers() local 486 intel_field_iterator_init(&iter, inst, in handle_3dstate_vertex_buffers() 539 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); handle_3dstate_index_buffer() local 589 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_single_ksp() local 631 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_mesh_task_ksp() local 661 decode_ps_kern(struct intel_batch_decode_ctx *ctx, struct intel_group *inst, const uint32_t *p) decode_ps_kern() argument 717 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_ps_kernels() local 724 struct intel_group *inst = decode_3dstate_constant_all() local 767 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_3dstate_constant() local 814 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_gfx4_constant_buffer() local 947 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_dynamic_state_pointers() local 966 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_3dstate_viewport_state_pointers() local 1023 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_3dstate_cc_state_pointers() local 1109 struct intel_group *inst = intel_ctx_find_instruction(ctx, p); decode_load_register_imm() local 1403 struct intel_group *inst; intel_print_batch() local [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_fs_nir.cpp | 377 fs_inst *inst = bld.MOV(bld.null_reg_d(), in nir_emit_if() local 379 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_if() 627 fs_inst *inst; in emit_find_msb_using_lzd() local 664 inst = bld.ADD(result, retype(result, BRW_REGISTER_TYPE_D), brw_imm_d(31)); in emit_find_msb_using_lzd() 665 inst->src[0].negate = true; in emit_find_msb_using_lzd() 823 fs_inst *inst; in emit_fsign() local 873 inst = bld.OR(result, result, brw_imm_uw(0x3c00u)); in emit_fsign() 876 inst = bld.XOR(result, result, retype(op[1], BRW_REGISTER_TYPE_UW)); in emit_fsign() 879 inst->predicate = BRW_PREDICATE_NORMAL; in emit_fsign() 893 inst in emit_fsign() 973 fs_inst *inst; nir_emit_alu() local [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atifs_to_nir.c | 180 prepare_argument(struct st_translate *t, const struct atifs_instruction *inst, in prepare_argument() argument 183 if (argId >= inst->ArgCount[alpha]) { in prepare_argument() 188 const struct atifragshader_src_register *srcReg = &inst->SrcReg[alpha][argId]; in prepare_argument() 225 const struct atifs_instruction *inst, in emit_arith_inst() 229 for (int i = 0; i < inst->ArgCount[alpha]; i++) in emit_arith_inst() 230 src[i] = prepare_argument(t, inst, i, alpha); in emit_arith_inst() 232 switch (inst->Opcode[alpha]) { in emit_arith_inst() 395 const struct atifs_instruction *inst) in compile_instruction() 400 unsigned dstreg = inst->DstReg[optype].Index - GL_REG_0_ATI; in compile_instruction() 402 if (!inst in compile_instruction() 224 emit_arith_inst(struct st_translate *t, const struct atifs_instruction *inst, bool alpha) emit_arith_inst() argument 394 compile_instruction(struct st_translate *t, const struct atifs_instruction *inst) compile_instruction() argument 478 struct atifs_instruction *inst = &atifs->Instructions[pass][i]; st_translate_atifs_program() local 576 struct atifs_instruction *inst = &atifs->Instructions[pass][i]; st_init_atifs_prog() local [all...] |
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | efi.h | 226 #define efi_table_attr(inst, attr) \ 228 ? inst->attr \ 229 : (__typeof__(inst->attr)) \ 230 efi_mixed_mode_cast(inst->mixed_mode.attr)) 311 #define __efi64_thunk_map(inst, func, ...) \ 312 efi64_thunk(inst->mixed_mode.func, \ 326 #define efi_call_proto(inst, func, ...) \ 328 ? inst->func(inst, ##__VA_ARGS__) \ 329 : __efi64_thunk_map(inst, fun [all...] |