Home
last modified time | relevance | path

Searched refs:inst (Results 451 - 475 of 1478) sorted by relevance

1...<<11121314151617181920>>...60

/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 Dgraphics_robust_access_pass.cpp206 auto* inst = context()->module()->GetMemoryModel(); in IsCompatibleModule() local
208 spv::AddressingModel(inst->GetSingleWordOperand(0)); in IsCompatibleModule()
211 << inst->PrettyPrint(); in IsCompatibleModule()
233 for (auto& inst : block) { in ProcessAFunction()
234 switch (inst.opcode()) { in ProcessAFunction()
237 access_chains.push_back(&inst); in ProcessAFunction()
240 image_texel_pointers.push_back(&inst); in ProcessAFunction()
247 for (auto* inst : access_chains) { in ProcessAFunction()
248 ClampIndicesForAccessChain(inst); in ProcessAFunction()
252 for (auto* inst in ProcessAFunction()
260 Instruction& inst = *access_chain; ClampIndicesForAccessChain() local
572 Instruction* inst = import_inst.get(); GetGlslInsts() local
[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...]
/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...]
/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/mesa3d/src/gallium/drivers/r600/
H A Dr600_shader.c1317 const struct tgsi_full_instruction *inst = &parse.FullToken.FullInstruction; in allocate_system_value_inputs() local
1318 if (inst->Instruction.Opcode == TGSI_OPCODE_INTERP_SAMPLE || in allocate_system_value_inputs()
1319 inst->Instruction.Opcode == TGSI_OPCODE_INTERP_OFFSET || in allocate_system_value_inputs()
1320 inst->Instruction.Opcode == TGSI_OPCODE_INTERP_CENTROID) in allocate_system_value_inputs()
1324 if (inst->Instruction.Opcode == TGSI_OPCODE_INTERP_SAMPLE) { in allocate_system_value_inputs()
1326 } else if (inst->Instruction.Opcode == TGSI_OPCODE_INTERP_OFFSET) { in allocate_system_value_inputs()
1333 interpolate = ctx->info.input_interpolate[inst->Src[0].Register.Index]; in allocate_system_value_inputs()
1996 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_gs_inputs() local
1999 for (i = 0; i < inst->Instruction.NumSrcRegs; i++) { in tgsi_split_gs_inputs()
2000 struct tgsi_full_src_register *src = &inst in tgsi_split_gs_inputs()
2286 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_split_lds_inputs() local
2316 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_split_constant() local
2372 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_split_literal_constant() local
3115 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; r600_store_tcs_output() local
4428 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_dst() local
4526 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_op2_64_params() local
4653 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_op2_64() local
4676 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_op3_64() local
4709 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_op2_s() local
4797 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_ineg() local
4828 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_dneg() local
4859 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_dfracexp() local
4923 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; egcm_int_to_double() local
5035 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; egcm_double_to_int() local
5104 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; cayman_emit_double_instr() local
5145 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; cayman_emit_float_instr() local
5175 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; cayman_mul_int_instr() local
5224 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; cayman_mul_double_instr() local
5277 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; cayman_ddiv_instr() local
5407 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; cayman_trig() local
5438 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_trig() local
5481 const struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_kill() local
5515 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_lit() local
5665 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_rsq() local
5689 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_helper_tempx_replicate() local
5711 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_trans_srcx_replicate() local
5732 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; cayman_pow() local
5846 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_divmod() local
6633 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_f2i() local
6682 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_iabs() local
6738 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_issg() local
6801 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_ssg() local
6859 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_bfi() local
6977 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_msb() local
7063 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_interp_egcm() local
7225 tgsi_helper_copy(struct r600_shader_ctx *ctx, struct tgsi_full_instruction *inst) tgsi_helper_copy() argument
7294 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_op3_dst() local
7347 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_dp() local
7395 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_tex_src_requires_loading() local
7406 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_tex_get_src_gpr() local
7414 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; do_vtx_fetch_inst() local
7509 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; r600_do_buffer_txq() local
7554 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_tex() local
8677 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_set_gds_temp() local
8724 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_load_gds() local
8761 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; load_index_src() local
8819 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; load_buffer_coord() local
8862 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_load_buffer() local
8917 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_load_rat() local
8987 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_load_lds() local
9011 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_load() local
9025 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_store_buffer_rat() local
9107 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_store_rat() local
9166 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_store_lds() local
9235 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_store() local
9246 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_atomic_op_rat() local
9405 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_atomic_op_gds() local
9536 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_atomic_op_lds() local
9573 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_atomic_op() local
9587 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_resq() local
9660 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_lrp() local
9768 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_cmp() local
9816 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_ucmp() local
9845 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_exp() local
9974 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_log() local
10234 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_eg_arl() local
10280 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_r600_arl() local
10357 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_opdst() local
10783 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_gs_emit() local
10801 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_umad() local
10854 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_pk2h() local
10902 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_up2h() local
10953 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_bfe() local
11012 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; tgsi_clock() local
11109 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; egcm_u64add() local
11182 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; egcm_i64neg() local
11255 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; egcm_u64mul() local
11413 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; egcm_u64div() local
11740 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; egcm_u64sne() local
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs_builder.h67 * before instruction \p inst in basic block \p block. The default
71 fs_builder(backend_shader *shader, bblock_t *block, fs_inst *inst) : in fs_builder() argument
72 shader(shader), block(block), cursor(inst), in fs_builder()
73 _dispatch_width(inst->exec_size), in fs_builder()
74 _group(inst->group), in fs_builder()
75 force_writemask_all(inst->force_writemask_all) in fs_builder()
77 annotation.str = inst->annotation; in fs_builder()
78 annotation.ir = inst->ir; in fs_builder()
249 emit(const instruction &inst) const in emit()
251 return emit(new(shader->mem_ctx) instruction(inst)); in emit()
770 instruction *inst = emit(SHADER_OPCODE_LOAD_PAYLOAD, dst, src, sources); LOAD_PAYLOAD() local
785 instruction *inst = emit(SHADER_OPCODE_UNDEF, UNDEF() local
[all...]
H A Dbrw_vec4_tcs.cpp99 vec4_instruction *inst; in emit_thread_end() local
145 inst = emit(TCS_OPCODE_THREAD_END); in emit_thread_end()
146 inst->base_mrf = 14; in emit_thread_end()
147 inst->mlen = 2; in emit_thread_end()
158 vec4_instruction *inst; in emit_input_urb_read() local
164 inst = emit(VEC4_TCS_OPCODE_SET_INPUT_URB_OFFSETS, header, vertex_index, in emit_input_urb_read()
166 inst->force_writemask_all = true; in emit_input_urb_read()
169 inst = emit(VEC4_OPCODE_URB_READ, temp, src_reg(header)); in emit_input_urb_read()
170 inst->offset = base_offset; in emit_input_urb_read()
171 inst in emit_input_urb_read()
193 vec4_instruction *inst; emit_output_urb_read() local
224 vec4_instruction *inst; emit_urb_write() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dgraphics_robust_access_pass.cpp212 auto* inst = context()->module()->GetMemoryModel(); in IsCompatibleModule() local
213 const auto addressing_model = inst->GetSingleWordOperand(0); in IsCompatibleModule()
216 << inst->PrettyPrint(); in IsCompatibleModule()
238 for (auto& inst : block) { in ProcessAFunction()
239 switch (inst.opcode()) { in ProcessAFunction()
242 access_chains.push_back(&inst); in ProcessAFunction()
245 image_texel_pointers.push_back(&inst); in ProcessAFunction()
252 for (auto* inst : access_chains) { in ProcessAFunction()
253 ClampIndicesForAccessChain(inst); in ProcessAFunction()
257 for (auto* inst in ProcessAFunction()
265 Instruction& inst = *access_chain; ClampIndicesForAccessChain() local
581 Instruction* inst = import_inst.get(); GetGlslInsts() local
[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() != 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/opt/
H A Dgraphics_robust_access_pass.cpp212 auto* inst = context()->module()->GetMemoryModel(); in IsCompatibleModule() local
213 const auto addressing_model = inst->GetSingleWordOperand(0); in IsCompatibleModule()
216 << inst->PrettyPrint(); in IsCompatibleModule()
238 for (auto& inst : block) { in ProcessAFunction()
239 switch (inst.opcode()) { in ProcessAFunction()
242 access_chains.push_back(&inst); in ProcessAFunction()
245 image_texel_pointers.push_back(&inst); in ProcessAFunction()
252 for (auto* inst : access_chains) { in ProcessAFunction()
253 ClampIndicesForAccessChain(inst); in ProcessAFunction()
257 for (auto* inst in ProcessAFunction()
265 Instruction& inst = *access_chain; ClampIndicesForAccessChain() local
581 Instruction* inst = import_inst.get(); GetGlslInsts() local
[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() != SpvOpExtInst) { in GetRulesForInstruction()
92 auto it = rules_.find(inst->opcode()); in GetRulesForInstruction()
97 uint32_t ext_inst_id = inst in GetRulesForInstruction()
[all...]
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_ffi.cpp410 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); in FfiMMAAVGMGetMaxVolume() local
411 if (inst == nullptr) { in FfiMMAAVGMGetMaxVolume()
417 return inst->GetMaxVolume(volumeType); in FfiMMAAVGMGetMaxVolume()
422 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); in FfiMMAAVGMGetMinVolume() local
423 if (inst == nullptr) { in FfiMMAAVGMGetMinVolume()
429 return inst->GetMinVolume(volumeType); in FfiMMAAVGMGetMinVolume()
434 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); in FfiMMAAVGMGetRingerMode() local
435 if (inst == nullptr) { in FfiMMAAVGMGetRingerMode()
441 return inst->GetRingerMode(); in FfiMMAAVGMGetRingerMode()
447 auto inst in FfiMMAAVGMGetSystemVolumeInDb() local
459 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); FfiMMAAVGMGetVolume() local
471 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); FfiMMAAVGMIsMicrophoneMute() local
483 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); FfiMMAAVGMIsMute() local
495 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); FfiMMAAVGMIsVolumeUnadjustable() local
[all...]
/third_party/glslang/SPIRV/
H A DSpvPostProcess.cpp64 void Builder::postProcessType(const Instruction& inst, Id typeId) in postProcessType() argument
73 switch (inst.getOpCode()) { in postProcessType()
84 StorageClass storageClass = getStorageClass(inst.getIdOperand(0)); in postProcessType()
158 switch (inst.getImmediateOperand(1)) { in postProcessType()
203 void Builder::postProcess(Instruction& inst) in postProcess() argument
206 switch (inst.getOpCode()) { in postProcess()
208 switch (inst.getImmediateOperand(1)) { in postProcess()
248 Instruction *accessChain = module.getInstruction(inst.getIdOperand(0)); in postProcess()
303 assert(inst.getNumOperands() >= 3); in postProcess()
304 unsigned int memoryAccess = inst in postProcess()
431 const Instruction& inst = *vi->get(); postProcessFeatures() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dtest_arith_main.cpp68 #define X(inst, op, isdiv, isshift) \ in testsInt()
69 {STR(inst), test##inst, Subzero_::test##inst, NULL, NULL, isdiv}, in testsInt()
72 #define X(inst, op, isdiv, isshift) \ in testsInt()
73 {STR(inst), NULL, NULL, test##inst, Subzero_::test##inst, isdiv}, in testsInt()
193 #define X(inst, op, isdiv, isshift) \ in testsVecInt()
194 {STR(inst), tes in testsVecInt()
[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);
/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/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/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 19 milliseconds

1...<<11121314151617181920>>...60