/third_party/spirv-tools/source/opt/ |
H A D | replace_invalid_opc.h | 45 // Returns true if |inst| is valid for fragment shaders only. 46 bool IsFragmentShaderOnlyInstruction(Instruction* inst); 48 // Replaces all uses of the result of |inst|, if there is one, with the id of 49 // a special constant. Then |inst| is killed. |inst| cannot be a block 50 // terminator because the basic block will then become invalid. |inst| is no 52 void ReplaceInstruction(Instruction* inst, const char* source,
|
H A D | constants.h | 542 const Constant* GetConstantFromInst(const Instruction* inst); 574 Type* GetType(const Instruction* inst) const; 618 const Instruction* inst) const; 620 // Records a mapping between |inst| and the constant value generated by it. 621 // It returns true if a new Constant was successfully mapped, false if |inst| 623 bool MapInst(Instruction* inst) { in MapInst() argument 624 if (auto cst = GetConstantFromInst(inst)) { in MapInst() 625 MapConstantToInst(cst, inst); in MapInst() 639 // Records a new mapping between |inst| and |const_value|. This updates the 641 void MapConstantToInst(const Constant* const_value, Instruction* inst) { in MapConstantToInst() argument [all...] |
/third_party/spirv-tools/source/reduce/ |
H A D | remove_unused_instruction_reduction_opportunity_finder.h | 44 // Returns true if and only if the only uses of |inst| are by decorations that 48 opt::IRContext* context, const opt::Instruction& inst) const; 50 // Returns true if and only if |inst| is a decoration instruction that can 53 bool IsIndependentlyRemovableDecoration(const opt::Instruction& inst) const;
|
/third_party/spirv-tools/test/opt/ |
H A D | line_debug_info_test.cpp | 29 [&modified](Instruction* inst) { 30 inst->ToNop();
|
/third_party/vulkan-loader/loader/ |
H A D | log.h | 66 void loader_log(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code, const char *format, ...) 71 void loader_log_asm_function_not_supported(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code,
|
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitNativeARM_64.c | 2161 sljit_u32 inst; in sljit_emit_mem() local 2182 inst = ADDI; in sljit_emit_mem() 2187 inst = SUBI; in sljit_emit_mem() 2194 inst = (type & SLJIT_MEM_STORE) ? STRI : LDRI; in sljit_emit_mem() 2196 FAIL_IF(push_inst(compiler, inst | RD(REG_PAIR_FIRST(reg)) | RN(mem & REG_MASK) | ((sljit_ins)memw << 7))); in sljit_emit_mem() 2197 return push_inst(compiler, inst | RD(REG_PAIR_SECOND(reg)) | RN(mem & REG_MASK) | ((sljit_ins)(memw + 0x8) << 7)); in sljit_emit_mem() 2201 FAIL_IF(push_inst(compiler, inst | RD(TMP_REG1) | RN(mem & REG_MASK) | ((sljit_ins)memw << 10))); in sljit_emit_mem() 2204 FAIL_IF(push_inst(compiler, inst | (1 << 22) | RD(TMP_REG1) | RN(mem & REG_MASK) | (((sljit_ins)memw >> 12) << 10))); in sljit_emit_mem() 2207 FAIL_IF(push_inst(compiler, inst | RD(TMP_REG1) | RN(TMP_REG1) | (((sljit_ins)memw & 0xfff) << 10))); in sljit_emit_mem() 2214 FAIL_IF(push_inst(compiler, (inst in sljit_emit_mem() 2232 sljit_u32 sign = 0, inst; sljit_emit_mem_update() local 2286 sljit_u32 inst; sljit_emit_fmem_update() local 2396 sljit_ins* inst = (sljit_ins*)addr; sljit_set_jump_addr() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmmgp100.c | 485 u32 inst, aper; in gp100_vmm_fault_cancel() local 493 aper = (args->v0.inst >> 8) & 3; in gp100_vmm_fault_cancel() 494 args->v0.inst >>= 12; in gp100_vmm_fault_cancel() 495 args->v0.inst |= aper << 28; in gp100_vmm_fault_cancel() 496 args->v0.inst |= 0x80000000; in gp100_vmm_fault_cancel() 499 if ((inst = nvkm_gr_ctxsw_inst(device)) == args->v0.inst) { in gp100_vmm_fault_cancel() 563 gp100_vmm_join(struct nvkm_vmm *vmm, struct nvkm_memory *inst) in gp100_vmm_join() argument 570 return gf100_vmm_join_(vmm, inst, base); in gp100_vmm_join()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validation_state.h | 194 DiagnosticStream diag(spv_result_t error_code, const Instruction* inst); 368 Instruction* AddOrderedInstruction(const spv_parsed_instruction_t* inst); 372 void RegisterInstruction(Instruction* inst); 375 void RegisterDebugInstruction(const Instruction* inst); 525 bool RegisterUniqueTypeDeclaration(const Instruction* inst); 615 uint32_t GetOperandTypeId(const Instruction* inst, 686 std::string Disassemble(const Instruction& inst) const; 694 spv_result_t CooperativeMatrixShapesMatch(const Instruction* inst, 712 // Traces |inst| to find a single base pointer. Returns the base pointer. 719 const Instruction* TracePointer(const Instruction* inst) cons [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | constants.h | 534 const Constant* GetConstantFromInst(const Instruction* inst); 566 Type* GetType(const Instruction* inst) const; 610 const Instruction* inst) const; 612 // Records a mapping between |inst| and the constant value generated by it. 613 // It returns true if a new Constant was successfully mapped, false if |inst| 615 bool MapInst(Instruction* inst) { in MapInst() argument 616 if (auto cst = GetConstantFromInst(inst)) { in MapInst() 617 MapConstantToInst(cst, inst); in MapInst() 631 // Records a new mapping between |inst| and |const_value|. This updates the 633 void MapConstantToInst(const Constant* const_value, Instruction* inst) { in MapConstantToInst() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | constants.h | 534 const Constant* GetConstantFromInst(const Instruction* inst); 566 Type* GetType(const Instruction* inst) const; 610 const Instruction* inst) const; 612 // Records a mapping between |inst| and the constant value generated by it. 613 // It returns true if a new Constant was successfully mapped, false if |inst| 615 bool MapInst(Instruction* inst) { in MapInst() argument 616 if (auto cst = GetConstantFromInst(inst)) { in MapInst() 617 MapConstantToInst(cst, inst); in MapInst() 631 // Records a new mapping between |inst| and |const_value|. This updates the 633 void MapConstantToInst(const Constant* const_value, Instruction* inst) { in MapConstantToInst() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validation_state.h | 194 DiagnosticStream diag(spv_result_t error_code, const Instruction* inst); 368 Instruction* AddOrderedInstruction(const spv_parsed_instruction_t* inst); 372 void RegisterInstruction(Instruction* inst); 375 void RegisterDebugInstruction(const Instruction* inst); 525 bool RegisterUniqueTypeDeclaration(const Instruction* inst); 615 uint32_t GetOperandTypeId(const Instruction* inst, 686 std::string Disassemble(const Instruction& inst) const; 694 spv_result_t CooperativeMatrixShapesMatch(const Instruction* inst, 712 // Traces |inst| to find a single base pointer. Returns the base pointer. 719 const Instruction* TracePointer(const Instruction* inst) cons [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validation_state.h | 193 DiagnosticStream diag(spv_result_t error_code, const Instruction* inst); 382 Instruction* AddOrderedInstruction(const spv_parsed_instruction_t* inst); 386 void RegisterInstruction(Instruction* inst); 389 void RegisterDebugInstruction(const Instruction* inst); 566 bool RegisterUniqueTypeDeclaration(const Instruction* inst); 664 uint32_t GetOperandTypeId(const Instruction* inst, 735 std::string Disassemble(const Instruction& inst) const; 756 spv_result_t CooperativeMatrixShapesMatch(const Instruction* inst, 774 // Traces |inst| to find a single base pointer. Returns the base pointer. 781 const Instruction* TracePointer(const Instruction* inst) cons [all...] |
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
H A D | ipmi_plat_data.c | 11 struct platform_device *ipmi_platform_add(const char *name, unsigned int inst, in ipmi_platform_add() argument 48 pdev = platform_device_alloc(name, inst); in ipmi_platform_add() 51 name, inst); in ipmi_platform_add()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_dwb.c | 121 int inst) in dcn10_dwbc_construct() 125 dwbc10->base.inst = inst; in dcn10_dwbc_construct() 116 dcn10_dwbc_construct(struct dcn10_dwbc *dwbc10, struct dc_context *ctx, const struct dcn10_dwbc_registers *dwbc_regs, const struct dcn10_dwbc_shift *dwbc_shift, const struct dcn10_dwbc_mask *dwbc_mask, int inst) dcn10_dwbc_construct() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_afmt.c | 193 uint32_t inst, in afmt3_construct() 200 afmt3->base.inst = inst; in afmt3_construct() 191 afmt3_construct(struct dcn30_afmt *afmt3, struct dc_context *ctx, uint32_t inst, const struct dcn30_afmt_registers *afmt_regs, const struct dcn30_afmt_shift *afmt_shift, const struct dcn30_afmt_mask *afmt_mask) afmt3_construct() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dccg.h | 47 #define DCCG_SFI(reg_name, field_name, field_prefix, inst, post_fix)\ 48 .field_prefix ## _ ## field_name[inst] = reg_name ## __ ## field_prefix ## inst ## _ ## field_name ## post_fix
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
H A D | gf100.c | 45 u32 inst = chan->base.fifo->inst->addr >> 12; in gf100_sw_chan_vblsem_release() local 47 nvkm_wr32(device, 0x001718, 0x80000000 | inst); in gf100_sw_chan_vblsem_release()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/cipher/ |
H A D | g84.c | 89 u32 inst = nvkm_rd32(device, 0x102188) & 0x7fffffff; in g84_cipher_intr() local 93 chan = nvkm_fifo_chan_inst(fifo, (u64)inst << 12, &flags); in g84_cipher_intr() 98 chan ? chan->chid : -1, (u64)inst << 12, in g84_cipher_intr()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gp100.c | 59 u32 inst = nvkm_rd32(device, 0x002800 + (unit * 0x10)); in gp100_fifo_intr_fault() local 65 info.inst = (u64)inst << 12; in gp100_fifo_intr_fault()
|
/kernel/linux/linux-6.6/drivers/char/ipmi/ |
H A D | ipmi_plat_data.c | 11 struct platform_device *ipmi_platform_add(const char *name, unsigned int inst, in ipmi_platform_add() argument 48 pdev = platform_device_alloc(name, inst); in ipmi_platform_add() 51 name, inst); in ipmi_platform_add()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_dwb.c | 119 int inst) in dcn10_dwbc_construct() 123 dwbc10->base.inst = inst; in dcn10_dwbc_construct() 114 dcn10_dwbc_construct(struct dcn10_dwbc *dwbc10, struct dc_context *ctx, const struct dcn10_dwbc_registers *dwbc_regs, const struct dcn10_dwbc_shift *dwbc_shift, const struct dcn10_dwbc_mask *dwbc_mask, int inst) dcn10_dwbc_construct() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_hubp.c | 134 uint32_t inst, in dcn201_hubp_construct() 144 hubp201->base.inst = inst; in dcn201_hubp_construct() 131 dcn201_hubp_construct( struct dcn201_hubp *hubp201, struct dc_context *ctx, uint32_t inst, const struct dcn201_hubp_registers *hubp_regs, const struct dcn201_hubp_shift *hubp_shift, const struct dcn201_hubp_mask *hubp_mask) dcn201_hubp_construct() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_vpg.c | 251 uint32_t inst, in vpg3_construct() 258 vpg3->base.inst = inst; in vpg3_construct() 249 vpg3_construct(struct dcn30_vpg *vpg3, struct dc_context *ctx, uint32_t inst, const struct dcn30_vpg_registers *vpg_regs, const struct dcn30_vpg_shift *vpg_shift, const struct dcn30_vpg_mask *vpg_mask) vpg3_construct() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_dpp.c | 148 uint32_t inst, in dpp32_construct() 155 dpp->base.inst = inst; in dpp32_construct() 145 dpp32_construct( struct dcn3_dpp *dpp, struct dc_context *ctx, uint32_t inst, const struct dcn3_dpp_registers *tf_regs, const struct dcn3_dpp_shift *tf_shift, const struct dcn3_dpp_mask *tf_mask) dpp32_construct() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | nv17.c | 85 .inst = &nv04_chan_inst, 138 nv17_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in nv17_fifo_new() argument 141 return nvkm_fifo_new_(&nv17_fifo, device, type, inst, pfifo); in nv17_fifo_new()
|