Home
last modified time | relevance | path

Searched refs:inst (Results 676 - 700 of 3196) sorted by relevance

1...<<21222324252627282930>>...128

/third_party/spirv-tools/source/fuzz/
H A Dtransformation_invert_comparison_operator.cpp38 auto* inst = ir_context->get_def_use_mgr()->GetDef(message_.operator_id()); in IsApplicable() local
39 if (!inst || !IsInversionSupported(inst->opcode())) { in IsApplicable()
44 auto* block = ir_context->get_instr_block(inst); in IsApplicable()
47 auto iter = fuzzerutil::GetIteratorForInstruction(block, inst); in IsApplicable()
60 auto* inst = ir_context->get_def_use_mgr()->GetDef(message_.operator_id()); in Apply() local
61 assert(inst && "Result id of an operator is invalid"); in Apply()
63 // Insert negation after |inst|. in Apply()
65 ir_context->get_instr_block(inst), inst); in Apply()
[all...]
H A Dtransformation_move_instruction_down.h54 // Returns true if the |inst| is supported by this transformation.
56 const opt::Instruction& inst);
58 // Returns true if |inst| represents a "simple" instruction. That is, it
61 const opt::Instruction& inst);
63 // Returns true if |inst| reads from memory.
65 const opt::Instruction& inst);
67 // Returns id being used by |inst| to read from. |inst| must be a memory read
71 const opt::Instruction& inst);
73 // Returns true if |inst| tha
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c136 struct rc_instruction * inst, in init_rc_normal_src()
143 struct rc_src_register * src_reg = &inst->U.I.SrcReg[src_index]; in init_rc_normal_src()
266 struct rc_instruction * inst, in init_rc_normal_dst()
290 inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in init_rc_normal_dst()
292 inst->U.I.DstReg.File = RC_FILE_OUTPUT; in init_rc_normal_dst()
294 inst->U.I.DstReg.File = RC_FILE_NONE; in init_rc_normal_dst()
303 inst->U.I.DstReg.Index = strtol(tokens.Index.String, NULL, 10); in init_rc_normal_dst()
312 inst->U.I.DstReg.WriteMask = RC_MASK_XYZW; in init_rc_normal_dst()
314 inst->U.I.DstReg.WriteMask = 0; in init_rc_normal_dst()
323 inst in init_rc_normal_dst()
135 init_rc_normal_src( struct rc_instruction * inst, unsigned int src_index, const char * src_str) init_rc_normal_src() argument
265 init_rc_normal_dst( struct rc_instruction * inst, const char * dst_str) init_rc_normal_dst() argument
370 parse_rc_normal_instruction( struct rc_instruction * inst, const char * inst_str) parse_rc_normal_instruction() argument
449 init_rc_normal_instruction( struct rc_instruction * inst, const char * inst_str) init_rc_normal_instruction() argument
[all...]
/third_party/spirv-tools/source/
H A Ddisassemble.cpp66 spv_result_t HandleInstruction(const spv_parsed_instruction_t& inst);
104 const spv_parsed_instruction_t& inst) { in HandleInstruction()
105 instruction_disassembler_.EmitSectionComment(inst, inserted_decoration_space_, in HandleInstruction()
109 instruction_disassembler_.EmitInstruction(inst, byte_offset_); in HandleInstruction()
111 byte_offset_ += inst.num_words * sizeof(uint32_t); in HandleInstruction()
246 const spv_parsed_instruction_t& inst, size_t inst_byte_offset) { in EmitInstruction()
247 auto opcode = static_cast<spv::Op>(inst.opcode); in EmitInstruction()
249 if (inst.result_id) { in EmitInstruction()
251 const std::string id_name = name_mapper_(inst.result_id); in EmitInstruction()
263 for (uint16_t i = 0; i < inst in EmitInstruction()
103 HandleInstruction( const spv_parsed_instruction_t& inst) HandleInstruction() argument
245 EmitInstruction( const spv_parsed_instruction_t& inst, size_t inst_byte_offset) EmitInstruction() argument
290 EmitSectionComment( const spv_parsed_instruction_t& inst, bool& inserted_decoration_space, bool& inserted_debug_space, bool& inserted_type_space) EmitSectionComment() argument
319 EmitOperand(const spv_parsed_instruction_t& inst, const uint16_t operand_index) EmitOperand() argument
[all...]
/third_party/spirv-tools/source/opt/
H A Dir_loader.cpp42 bool IsLineInst(const spv_parsed_instruction_t* inst) { in IsLineInst() argument
43 const auto opcode = static_cast<spv::Op>(inst->opcode); in IsLineInst()
46 if (inst->ext_inst_type != SPV_EXT_INST_TYPE_NONSEMANTIC_SHADER_DEBUGINFO_100) in IsLineInst()
48 const uint32_t ext_inst_index = inst->words[kExtInstSetIndex]; in IsLineInst()
55 bool IrLoader::AddInstruction(const spv_parsed_instruction_t* inst) { in AddInstruction() argument
57 if (IsLineInst(inst)) { in AddInstruction()
60 dbg_line_info_.emplace_back(module()->context(), *inst, last_dbg_scope_); in AddInstruction()
67 const auto opcode = static_cast<spv::Op>(inst->opcode); in AddInstruction()
69 spvExtInstIsDebugInfo(inst->ext_inst_type)) { in AddInstruction()
70 const uint32_t ext_inst_index = inst in AddInstruction()
[all...]
H A Dconst_folding_rules.h33 // |inst| - the instruction to be simplified.
39 // A constant folding rule returns a pointer to an Constant if |inst| can be
52 IRContext* ctx, Instruction* inst,
84 bool HasFoldingRule(const Instruction* inst) const { in HasFoldingRule()
85 return !GetRulesForInstruction(inst).empty(); in HasFoldingRule()
88 // Returns true if there is at least 1 folding rule for |inst|.
90 const Instruction* inst) const { in GetRulesForInstruction()
91 if (inst->opcode() != spv::Op::OpExtInst) { in GetRulesForInstruction()
92 auto it = rules_.find(inst->opcode()); in GetRulesForInstruction()
97 uint32_t ext_inst_id = inst in GetRulesForInstruction()
[all...]
/third_party/vulkan-loader/loader/
H A Dloader_linux.c207 void linux_env_var_default_device(struct loader_instance *inst, uint32_t device_count, in linux_env_var_default_device() argument
209 char *selection = loader_getenv("VK_LOADER_DEVICE_SELECT", inst); in linux_env_var_default_device()
211 loader_log(inst, VULKAN_LOADER_DEBUG_BIT | VULKAN_LOADER_DRIVER_BIT, 0, in linux_env_var_default_device()
221 loader_log(inst, VULKAN_LOADER_INFO_BIT | VULKAN_LOADER_DRIVER_BIT, 0, in linux_env_var_default_device()
230 loader_free_getenv(selection, inst); in linux_env_var_default_device()
235 VkResult linux_read_sorted_physical_devices(struct loader_instance *inst, uint32_t icd_count, in linux_read_sorted_physical_devices() argument
239 bool app_is_vulkan_1_1 = loader_check_version_meets_required(LOADER_VERSION_1_1_0, inst->app_api_version); in linux_read_sorted_physical_devices()
242 inst, phys_dev_count * sizeof(struct LinuxSortedDeviceInfo), VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in linux_read_sorted_physical_devices()
248 loader_log(inst, VULKAN_LOADER_INFO_BIT | VULKAN_LOADER_DRIVER_BIT, 0, "linux_read_sorted_physical_devices:"); in linux_read_sorted_physical_devices()
249 loader_log(inst, VULKAN_LOADER_INFO_BI in linux_read_sorted_physical_devices()
347 linux_sort_physical_device_groups(struct loader_instance *inst, uint32_t group_count, struct loader_physical_device_group_term *sorted_group_term) linux_sort_physical_device_groups() argument
[all...]
/kernel/linux/linux-6.6/crypto/
H A Decb.c64 struct skcipher_instance *inst; in crypto_ecb_create() local
67 inst = skcipher_alloc_instance_simple(tmpl, tb); in crypto_ecb_create()
68 if (IS_ERR(inst)) in crypto_ecb_create()
69 return PTR_ERR(inst); in crypto_ecb_create()
71 inst->alg.ivsize = 0; /* ECB mode doesn't take an IV */ in crypto_ecb_create()
73 inst->alg.encrypt = crypto_ecb_encrypt; in crypto_ecb_create()
74 inst->alg.decrypt = crypto_ecb_decrypt; in crypto_ecb_create()
76 err = skcipher_register_instance(tmpl, inst); in crypto_ecb_create()
78 inst->free(inst); in crypto_ecb_create()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dclk.h127 int nv04_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
128 int nv40_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
129 int nv50_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
130 int g84_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
131 int mcp77_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
132 int gt215_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
133 int gf100_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
134 int gk104_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
135 int gk20a_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_clk **);
136 int gm20b_clk_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struc
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Dremove_struct_member_reduction_opportunity.cpp79 for (auto& inst : block) { in Apply()
80 switch (inst.opcode()) { in Apply()
88 ->GetDef(inst.GetSingleWordInOperand(0)) in Apply()
91 AdjustAccessedIndices(composite_type_id, 1, false, context, &inst); in Apply()
100 ->GetDef(inst.GetSingleWordInOperand(1)) in Apply()
103 AdjustAccessedIndices(composite_type_id, 2, false, context, &inst); in Apply()
110 ->GetDef(inst.GetSingleWordInOperand(0)) in Apply()
112 AdjustAccessedIndices(composite_type_id, 1, true, context, &inst); in Apply()
119 ->GetDef(inst.GetSingleWordInOperand(1)) in Apply()
121 AdjustAccessedIndices(composite_type_id, 2, true, context, &inst); in Apply()
[all...]
H A Dremove_unused_struct_member_reduction_opportunity_finder.cpp87 for (auto& inst : block) { in GetAvailableOpportunities()
88 switch (inst.opcode()) { in GetAvailableOpportunities()
99 ->GetDef(inst.GetSingleWordInOperand(0)) in GetAvailableOpportunities()
103 inst, &unused_member_to_structs); in GetAvailableOpportunities()
110 ->GetDef(inst.GetSingleWordInOperand(1)) in GetAvailableOpportunities()
114 inst, &unused_member_to_structs); in GetAvailableOpportunities()
119 ->GetDef(inst.GetSingleWordInOperand(0)) in GetAvailableOpportunities()
121 MarkAccessedMembersAsUsed(context, composite_type_id, 1, true, inst, in GetAvailableOpportunities()
127 ->GetDef(inst.GetSingleWordInOperand(1)) in GetAvailableOpportunities()
129 MarkAccessedMembersAsUsed(context, composite_type_id, 2, true, inst, in GetAvailableOpportunities()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Dremove_struct_member_reduction_opportunity.cpp79 for (auto& inst : block) { in Apply()
80 switch (inst.opcode()) { in Apply()
88 ->GetDef(inst.GetSingleWordInOperand(0)) in Apply()
91 AdjustAccessedIndices(composite_type_id, 1, false, context, &inst); in Apply()
100 ->GetDef(inst.GetSingleWordInOperand(1)) in Apply()
103 AdjustAccessedIndices(composite_type_id, 2, false, context, &inst); in Apply()
110 ->GetDef(inst.GetSingleWordInOperand(0)) in Apply()
112 AdjustAccessedIndices(composite_type_id, 1, true, context, &inst); in Apply()
119 ->GetDef(inst.GetSingleWordInOperand(1)) in Apply()
121 AdjustAccessedIndices(composite_type_id, 2, true, context, &inst); in Apply()
[all...]
H A Dremove_unused_struct_member_reduction_opportunity_finder.cpp87 for (auto& inst : block) { in GetAvailableOpportunities()
88 switch (inst.opcode()) { in GetAvailableOpportunities()
99 ->GetDef(inst.GetSingleWordInOperand(0)) in GetAvailableOpportunities()
103 inst, &unused_member_to_structs); in GetAvailableOpportunities()
110 ->GetDef(inst.GetSingleWordInOperand(1)) in GetAvailableOpportunities()
114 inst, &unused_member_to_structs); in GetAvailableOpportunities()
119 ->GetDef(inst.GetSingleWordInOperand(0)) in GetAvailableOpportunities()
121 MarkAccessedMembersAsUsed(context, composite_type_id, 1, true, inst, in GetAvailableOpportunities()
127 ->GetDef(inst.GetSingleWordInOperand(1)) in GetAvailableOpportunities()
129 MarkAccessedMembersAsUsed(context, composite_type_id, 2, true, inst, in GetAvailableOpportunities()
[all...]
/third_party/spirv-tools/source/reduce/
H A Dremove_struct_member_reduction_opportunity.cpp79 for (auto& inst : block) { in Apply()
80 switch (inst.opcode()) { in Apply()
88 ->GetDef(inst.GetSingleWordInOperand(0)) in Apply()
91 AdjustAccessedIndices(composite_type_id, 1, false, context, &inst); in Apply()
100 ->GetDef(inst.GetSingleWordInOperand(1)) in Apply()
103 AdjustAccessedIndices(composite_type_id, 2, false, context, &inst); in Apply()
110 ->GetDef(inst.GetSingleWordInOperand(0)) in Apply()
112 AdjustAccessedIndices(composite_type_id, 1, true, context, &inst); in Apply()
119 ->GetDef(inst.GetSingleWordInOperand(1)) in Apply()
121 AdjustAccessedIndices(composite_type_id, 2, true, context, &inst); in Apply()
[all...]
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/crypto/sha/
H A Dsha512-armv8.S76 .inst 0xd503233f // paciasp
1036 .inst 0xd50323bf // autiasp
1128 .inst 0xcec08230 //sha512su0 v16.16b,v17.16b
1130 .inst 0xce6680a3 //sha512h v3.16b,v5.16b,v6.16b
1131 .inst 0xce678af0 //sha512su1 v16.16b,v23.16b,v7.16b
1133 .inst 0xce608423 //sha512h2 v3.16b,v1.16b,v0.16b
1140 .inst 0xcec08251 //sha512su0 v17.16b,v18.16b
1142 .inst 0xce6680a2 //sha512h v2.16b,v5.16b,v6.16b
1143 .inst 0xce678a11 //sha512su1 v17.16b,v16.16b,v7.16b
1145 .inst
[all...]
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/crypto/sha/
H A Dsha512-armv8.S76 .inst 0xd503233f // paciasp
1036 .inst 0xd50323bf // autiasp
1128 .inst 0xcec08230 //sha512su0 v16.16b,v17.16b
1130 .inst 0xce6680a3 //sha512h v3.16b,v5.16b,v6.16b
1131 .inst 0xce678af0 //sha512su1 v16.16b,v23.16b,v7.16b
1133 .inst 0xce608423 //sha512h2 v3.16b,v1.16b,v0.16b
1140 .inst 0xcec08251 //sha512su0 v17.16b,v18.16b
1142 .inst 0xce6680a2 //sha512h v2.16b,v5.16b,v6.16b
1143 .inst 0xce678a11 //sha512su1 v17.16b,v16.16b,v7.16b
1145 .inst
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dspunge_core.h70 FILLP_INT SpungeInstInit(struct SpungeInstance *inst);
72 void SpungeHandleMsgCycle(struct SpungeInstance *inst);
91 void FillpServerRecvRateAdjustment(struct SpungeInstance *inst, FILLP_UINT32 calcRecvTotalRate, FILLP_INT realRecvConn,
94 void FillpServerSendRateAdjustment(struct SpungeInstance *inst, FILLP_UINT32 calcSendTotalRate, FILLP_INT realSendConn,
99 void FillpCalculateFairness(struct SpungeInstance *inst);
109 void FtGlobalTimerInit(struct SpungeInstance *inst);
111 void SpungeDestroyInstance(struct SpungeInstance *inst);
113 void SpungeInitTokenBucket(struct SpungeInstance *inst);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15.h54 uint32_t inst; member
64 uint32_t inst; member
73 uint32_t inst; member
82 #define SOC15_REG_ENTRY(ip, inst, reg) ip##_HWIP, inst, reg##_BASE_IDX, reg
84 #define SOC15_REG_ENTRY_OFFSET(entry) (adev->reg_offset[entry.hwip][entry.inst][entry.seg] + entry.reg_offset)
86 #define SOC15_REG_GOLDEN_VALUE(ip, inst, reg, and_mask, or_mask) \
87 { ip##_HWIP, inst, reg##_BASE_IDX, reg, and_mask, or_mask }
/third_party/skia/third_party/externals/spirv-tools/utils/
H A Dgenerate_vim_syntax.py162 for inst in core["instructions"]:
163 EmitAsStatement(inst['opname'])
175 for inst in glsl["instructions"]:
176 EmitAsEnumerant(inst['opname'])
181 for inst in opencl["instructions"]:
182 EmitAsEnumerant(inst['opname'])
187 for inst in debuginfo["instructions"]:
188 EmitAsEnumerant(inst['opname'])
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_move_instruction_down.h54 // Returns true if the |inst| is supported by this transformation.
56 const opt::Instruction& inst);
58 // Returns true if |inst| represents a "simple" instruction. That is, it
61 const opt::Instruction& inst);
63 // Returns true if |inst| reads from memory.
65 const opt::Instruction& inst);
67 // Returns id being used by |inst| to read from. |inst| must be a memory read
71 const opt::Instruction& inst);
73 // Returns true if |inst| tha
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dconst_folding_rules.h33 // |inst| - the instruction to be simplified.
39 // A constant folding rule returns a pointer to an Constant if |inst| can be
52 IRContext* ctx, Instruction* inst,
84 bool HasFoldingRule(const Instruction* inst) const { in HasFoldingRule()
85 return !GetRulesForInstruction(inst).empty(); in HasFoldingRule()
88 // Returns true if there is at least 1 folding rule for |inst|.
90 const Instruction* inst) const { in GetRulesForInstruction()
91 if (inst->opcode() != SpvOpExtInst) { in GetRulesForInstruction()
92 auto it = rules_.find(inst->opcode()); in GetRulesForInstruction()
97 uint32_t ext_inst_id = inst in GetRulesForInstruction()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_move_instruction_down.h54 // Returns true if the |inst| is supported by this transformation.
56 const opt::Instruction& inst);
58 // Returns true if |inst| represents a "simple" instruction. That is, it
61 const opt::Instruction& inst);
63 // Returns true if |inst| reads from memory.
65 const opt::Instruction& inst);
67 // Returns id being used by |inst| to read from. |inst| must be a memory read
71 const opt::Instruction& inst);
73 // Returns true if |inst| tha
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dconst_folding_rules.h33 // |inst| - the instruction to be simplified.
39 // A constant folding rule returns a pointer to an Constant if |inst| can be
52 IRContext* ctx, Instruction* inst,
84 bool HasFoldingRule(const Instruction* inst) const { in HasFoldingRule()
85 return !GetRulesForInstruction(inst).empty(); in HasFoldingRule()
88 // Returns true if there is at least 1 folding rule for |inst|.
90 const Instruction* inst) const { in GetRulesForInstruction()
91 if (inst->opcode() != SpvOpExtInst) { in GetRulesForInstruction()
92 auto it = rules_.find(inst->opcode()); in GetRulesForInstruction()
97 uint32_t ext_inst_id = inst in GetRulesForInstruction()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
H A Dgenerate_vim_syntax.py162 for inst in core["instructions"]:
163 EmitAsStatement(inst['opname'])
175 for inst in glsl["instructions"]:
176 EmitAsEnumerant(inst['opname'])
181 for inst in opencl["instructions"]:
182 EmitAsEnumerant(inst['opname'])
187 for inst in debuginfo["instructions"]:
188 EmitAsEnumerant(inst['opname'])
/third_party/spirv-tools/utils/
H A Dgenerate_vim_syntax.py162 for inst in core["instructions"]:
163 EmitAsStatement(inst['opname'])
175 for inst in glsl["instructions"]:
176 EmitAsEnumerant(inst['opname'])
181 for inst in opencl["instructions"]:
182 EmitAsEnumerant(inst['opname'])
187 for inst in debuginfo["instructions"]:
188 EmitAsEnumerant(inst['opname'])

Completed in 11 milliseconds

1...<<21222324252627282930>>...128