/third_party/musl/src/thread/ |
H A D | pthread_barrier_wait.c | 63 struct instance *inst; in pthread_barrier_wait() local 74 inst = b->_b_inst; in pthread_barrier_wait() 77 if (!inst) { in pthread_barrier_wait() 80 b->_b_inst = inst = &new_inst; in pthread_barrier_wait() 83 while (spins-- && !inst->finished) in pthread_barrier_wait() 85 a_inc(&inst->finished); in pthread_barrier_wait() 86 while (inst->finished == 1) in pthread_barrier_wait() 88 __syscall(SYS_futex, &inst->finished, FUTEX_WAIT | FUTEX_PRIVATE, 1, 0xffffffffu) != -ENOSYS in pthread_barrier_wait() 89 || __syscall(SYS_futex, &inst->finished, FUTEX_WAIT, 1, 0xffffffffu); in pthread_barrier_wait() 91 __syscall(SYS_futex,&inst in pthread_barrier_wait() [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validate_barriers.cpp | 31 spv_result_t BarriersPass(ValidationState_t& _, const Instruction* inst) { in BarriersPass() argument 32 const spv::Op opcode = inst->opcode(); in BarriersPass() 33 const uint32_t result_type = inst->type_id(); in BarriersPass() 38 _.function(inst->function()->id()) in BarriersPass() 59 const uint32_t execution_scope = inst->word(1); in BarriersPass() 60 const uint32_t memory_scope = inst->word(2); in BarriersPass() 62 if (auto error = ValidateExecutionScope(_, inst, execution_scope)) { in BarriersPass() 66 if (auto error = ValidateMemoryScope(_, inst, memory_scope)) { in BarriersPass() 70 if (auto error = ValidateMemorySemantics(_, inst, 2, memory_scope)) { in BarriersPass() 77 const uint32_t memory_scope = inst in BarriersPass() [all...] |
H A D | validate_function.cpp | 58 spv_result_t ValidateFunction(ValidationState_t& _, const Instruction* inst) { in ValidateFunction() argument 59 const auto function_type_id = inst->GetOperandAs<uint32_t>(3); in ValidateFunction() 62 return _.diag(SPV_ERROR_INVALID_ID, inst) in ValidateFunction() 68 if (return_id != inst->type_id()) { in ValidateFunction() 69 return _.diag(SPV_ERROR_INVALID_ID, inst) in ValidateFunction() 70 << "OpFunction Result Type <id> " << _.getIdName(inst->type_id()) in ValidateFunction() 90 for (auto& pair : inst->uses()) { in ValidateFunction() 96 << "Invalid use of function result id " << _.getIdName(inst->id()) in ValidateFunction() 105 const Instruction* inst) { in ValidateFunctionParameter() 108 size_t inst_num = inst in ValidateFunctionParameter() 104 ValidateFunctionParameter(ValidationState_t& _, const Instruction* inst) ValidateFunctionParameter() argument 227 ValidateFunctionCall(ValidationState_t& _, const Instruction* inst) ValidateFunctionCall() argument 341 FunctionPass(ValidationState_t& _, const Instruction* inst) FunctionPass() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_fpc_translate.c | 295 i915_program_error(p, "Bad inst->DstReg.Index/semantics"); in get_result_vector() 302 i915_program_error(p, "Bad inst->DstReg.File"); in get_result_vector() 311 get_result_flags(const struct i915_full_instruction *inst) in get_result_flags() argument 313 const uint32_t writeMask = inst->Dst[0].Register.WriteMask; in get_result_flags() 316 if (inst->Instruction.Saturate) in get_result_flags() 398 emit_tex(struct i915_fp_compile *p, const struct i915_full_instruction *inst, in emit_tex() argument 401 uint32_t texture = inst->Texture.Texture; in emit_tex() 402 uint32_t unit = inst->Src[1].Register.Index; in emit_tex() 405 uint32_t coord = src_vector(p, &inst->Src[0], fs); in emit_tex() 414 i915_emit_texld(p, get_result_vector(p, &inst in emit_tex() 425 emit_simple_arith(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint32_t opcode, uint32_t numArgs, struct i915_fragment_shader *fs) emit_simple_arith() argument 443 emit_simple_arith_swap2(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint32_t opcode, uint32_t numArgs, struct i915_fragment_shader *fs) emit_simple_arith_swap2() argument 471 i915_translate_instruction(struct i915_fp_compile *p, const struct i915_full_instruction *inst, struct i915_fragment_shader *fs) i915_translate_instruction() argument [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_cse.cpp | 49 is_expression(const vec4_instruction *const inst) in is_expression() argument 51 switch (inst->opcode) { in is_expression() 91 return inst->mlen == 0; in is_expression() 174 foreach_inst_in_block (vec4_instruction, inst, block) { in opt_cse_local() 176 if (is_expression(inst) && !inst->predicate && inst->mlen == 0 && in opt_cse_local() 177 ((inst->dst.file != ARF && inst->dst.file != FIXED_GRF) || in opt_cse_local() 178 inst in opt_cse_local() [all...] |
H A D | brw_eu_emit.c | 89 brw_set_dest(struct brw_codegen *p, brw_inst *inst, struct brw_reg dest) in brw_set_dest() argument 113 (brw_inst_opcode(p->isa, inst) == BRW_OPCODE_SEND || in brw_set_dest() 114 brw_inst_opcode(p->isa, inst) == BRW_OPCODE_SENDC)) { in brw_set_dest() 119 assert(brw_inst_exec_size(devinfo, inst) == BRW_EXECUTE_1 || in brw_set_dest() 123 brw_inst_set_dst_reg_file(devinfo, inst, dest.file); in brw_set_dest() 124 brw_inst_set_dst_da_reg_nr(devinfo, inst, dest.nr); in brw_set_dest() 126 } else if (brw_inst_opcode(p->isa, inst) == BRW_OPCODE_SENDS || in brw_set_dest() 127 brw_inst_opcode(p->isa, inst) == BRW_OPCODE_SENDSC) { in brw_set_dest() 136 brw_inst_set_dst_da_reg_nr(devinfo, inst, dest.nr); in brw_set_dest() 137 brw_inst_set_dst_da16_subreg_nr(devinfo, inst, des in brw_set_dest() 209 brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) brw_set_src0() argument 345 brw_set_src1(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) brw_set_src1() argument 455 brw_set_desc_ex(struct brw_codegen *p, brw_inst *inst, unsigned desc, unsigned ex_desc) brw_set_desc_ex() argument 469 brw_set_math_message( struct brw_codegen *p, brw_inst *inst, unsigned function, unsigned integer_type, bool low_precision, unsigned dataType ) brw_set_math_message() argument 583 gfx7_set_dp_scratch_message(struct brw_codegen *p, brw_inst *inst, bool write, bool dword, bool invalidate_after_read, unsigned num_regs, unsigned addr_offset, unsigned mlen, unsigned rlen, bool header_present) gfx7_set_dp_scratch_message() argument 810 brw_inst *inst = next_insn(p, opcode); brw_alu3() local 1261 brw_inst *inst; brw_F32TO16() local 1356 brw_inst *inst = brw_alu2(p, BRW_OPCODE_JMPI, ip, ip, index); brw_JMPI() local 1367 push_if_stack(struct brw_codegen *p, brw_inst *inst) push_if_stack() argument 1387 push_loop_stack(struct brw_codegen *p, brw_inst *inst) push_loop_stack() argument 1879 brw_inst *inst; brw_patch_break_cont() local 3373 brw_inst *inst; brw_find_live_channel() local 3456 brw_inst *inst; brw_broadcast() local 3590 struct brw_inst *inst; brw_barrier() local 3646 brw_inst *inst = brw_AND(p, brw_cr0_reg(0), brw_cr0_reg(0), brw_float_controls_mode() local 3665 brw_update_reloc_imm(const struct brw_isa_info *isa, brw_inst *inst, uint32_t value) brw_update_reloc_imm() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | r300_fragprog.c | 34 static void presub_string(char out[10], unsigned int inst) in presub_string() argument 36 switch(inst & 0x600000){ in presub_string() 94 inst[i] >> R300_TEX_INST_SHIFT) & in r300FragmentProgramDump() 116 inst[i] >> R300_DST_ADDR_SHIFT) & 31, in r300FragmentProgramDump() 119 inst[i] >> R300_SRC_ADDR_SHIFT) & 31, in r300FragmentProgramDump() 121 inst[i] & R300_TEX_ID_MASK) >> in r300FragmentProgramDump() 123 code->tex.inst[i]); in r300FragmentProgramDump() 136 int regc = code->alu.inst[i].rgb_addr >> (j * 6); in r300FragmentProgramDump() 137 int rega = code->alu.inst[i].alpha_addr >> (j * 6); in r300FragmentProgramDump() 139 code->alu.inst[ in r300FragmentProgramDump() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | def_use_manager.cpp | 26 void DefUseManager::AnalyzeInstDef(Instruction* inst) { in AnalyzeInstDef() argument 27 const uint32_t def_id = inst->result_id(); in AnalyzeInstDef() 35 id_to_def_[def_id] = inst; in AnalyzeInstDef() 37 ClearInst(inst); in AnalyzeInstDef() 41 void DefUseManager::AnalyzeInstUse(Instruction* inst) { in AnalyzeInstUse() argument 45 auto* used_ids = &inst_to_used_ids_[inst]; in AnalyzeInstUse() 47 EraseUseRecordsOfOperandIds(inst); in AnalyzeInstUse() 48 used_ids = &inst_to_used_ids_[inst]; in AnalyzeInstUse() 52 for (uint32_t i = 0; i < inst->NumOperands(); ++i) { in AnalyzeInstUse() 53 switch (inst in AnalyzeInstUse() 71 AnalyzeInstDefUse(Instruction* inst) AnalyzeInstDefUse() argument 79 UpdateDefUse(Instruction* inst) UpdateDefUse() argument 237 ClearInst(Instruction* inst) ClearInst() argument 254 EraseUseRecordsOfOperandIds(const Instruction* inst) EraseUseRecordsOfOperandIds() argument [all...] |
H A D | eliminate_dead_members_pass.h | 55 // Add to |used_members_| the member of structures that are live in |inst|. 56 void FindLiveMembers(const Instruction* inst); 59 // instruction |inst|. 60 void MarkMembersAsLiveForStore(const Instruction* inst); 63 // instruction |inst|. 64 void MarkMembersAsLiveForCopyMemory(const Instruction* inst); 67 // |OpCompositeExtract| instruction |inst|. 68 void MarkMembersAsLiveForExtract(const Instruction* inst); 71 // instruction |inst|. 72 void MarkMembersAsLiveForAccessChain(const Instruction* inst); [all...] |
H A D | code_sink.cpp | 43 for (auto inst = bb->rbegin(); inst != bb->rend(); ++inst) { in SinkInstructionsInBB() 44 if (SinkInstruction(&*inst)) { in SinkInstructionsInBB() 45 inst = bb->rbegin(); in SinkInstructionsInBB() 52 bool CodeSinkingPass::SinkInstruction(Instruction* inst) { in SinkInstruction() argument 53 if (inst->opcode() != SpvOpLoad && inst->opcode() != SpvOpAccessChain) { in SinkInstruction() 57 if (ReferencesMutableMemory(inst)) { in SinkInstruction() 61 if (BasicBlock* target_bb = FindNewBasicBlockFor(inst)) { in SinkInstruction() 74 FindNewBasicBlockFor(Instruction* inst) FindNewBasicBlockFor() argument 170 ReferencesMutableMemory(Instruction* inst) ReferencesMutableMemory() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | def_use_manager.cpp | 26 void DefUseManager::AnalyzeInstDef(Instruction* inst) { in AnalyzeInstDef() argument 27 const uint32_t def_id = inst->result_id(); in AnalyzeInstDef() 35 id_to_def_[def_id] = inst; in AnalyzeInstDef() 37 ClearInst(inst); in AnalyzeInstDef() 41 void DefUseManager::AnalyzeInstUse(Instruction* inst) { in AnalyzeInstUse() argument 45 auto* used_ids = &inst_to_used_ids_[inst]; in AnalyzeInstUse() 47 EraseUseRecordsOfOperandIds(inst); in AnalyzeInstUse() 48 used_ids = &inst_to_used_ids_[inst]; in AnalyzeInstUse() 52 for (uint32_t i = 0; i < inst->NumOperands(); ++i) { in AnalyzeInstUse() 53 switch (inst in AnalyzeInstUse() 71 AnalyzeInstDefUse(Instruction* inst) AnalyzeInstDefUse() argument 79 UpdateDefUse(Instruction* inst) UpdateDefUse() argument 237 ClearInst(Instruction* inst) ClearInst() argument 254 EraseUseRecordsOfOperandIds(const Instruction* inst) EraseUseRecordsOfOperandIds() argument [all...] |
H A D | eliminate_dead_members_pass.h | 55 // Add to |used_members_| the member of structures that are live in |inst|. 56 void FindLiveMembers(const Instruction* inst); 59 // instruction |inst|. 60 void MarkMembersAsLiveForStore(const Instruction* inst); 63 // instruction |inst|. 64 void MarkMembersAsLiveForCopyMemory(const Instruction* inst); 67 // |OpCompositeExtract| instruction |inst|. 68 void MarkMembersAsLiveForExtract(const Instruction* inst); 71 // instruction |inst|. 72 void MarkMembersAsLiveForAccessChain(const Instruction* inst); [all...] |
H A D | code_sink.cpp | 43 for (auto inst = bb->rbegin(); inst != bb->rend(); ++inst) { in SinkInstructionsInBB() 44 if (SinkInstruction(&*inst)) { in SinkInstructionsInBB() 45 inst = bb->rbegin(); in SinkInstructionsInBB() 52 bool CodeSinkingPass::SinkInstruction(Instruction* inst) { in SinkInstruction() argument 53 if (inst->opcode() != SpvOpLoad && inst->opcode() != SpvOpAccessChain) { in SinkInstruction() 57 if (ReferencesMutableMemory(inst)) { in SinkInstruction() 61 if (BasicBlock* target_bb = FindNewBasicBlockFor(inst)) { in SinkInstruction() 74 FindNewBasicBlockFor(Instruction* inst) FindNewBasicBlockFor() argument 170 ReferencesMutableMemory(Instruction* inst) ReferencesMutableMemory() argument [all...] |
/third_party/vulkan-loader/loader/ |
H A D | loader.h | 90 VkResult loader_validate_layers(const struct loader_instance *inst, const uint32_t layer_count, 93 VkResult loader_validate_instance_extensions(struct loader_instance *inst, const struct loader_extension_list *icd_exts, 105 VkResult loader_copy_to_new_str(const struct loader_instance *inst, const char *source_str, char **dest_str); 108 VkResult create_string_list(const struct loader_instance *inst, uint32_t allocated_count, struct loader_string_list *string_list); 111 VkResult append_str_to_string_list(const struct loader_instance *inst, struct loader_string_list *string_list, char *str); 116 VkResult copy_str_to_string_list(const struct loader_instance *inst, struct loader_string_list *string_list, const char *str, 120 void free_string_list(const struct loader_instance *inst, struct loader_string_list *string_list); 122 VkResult loader_init_generic_list(const struct loader_instance *inst, struct loader_generic_list *list_info, size_t element_size); 127 VkResult loader_append_layer_property(const struct loader_instance *inst, struct loader_layer_list *layer_list, 129 VkResult loader_add_layer_properties(const struct loader_instance *inst, struc [all...] |
H A D | settings.c | 38 void free_layer_configuration(const struct loader_instance* inst, loader_settings_layer_configuration* layer_configuration) { in free_layer_configuration() argument 39 loader_instance_heap_free(inst, layer_configuration->name); in free_layer_configuration() 40 loader_instance_heap_free(inst, layer_configuration->path); in free_layer_configuration() 44 void free_loader_settings(const struct loader_instance* inst, loader_settings* settings) { in free_loader_settings() argument 47 free_layer_configuration(inst, &settings->layer_configurations[i]); in free_loader_settings() 50 loader_instance_heap_free(inst, settings->layer_configurations); in free_loader_settings() 51 loader_instance_heap_free(inst, settings->settings_file_path); in free_loader_settings() 109 bool parse_json_enable_disable_option(const struct loader_instance* inst, cJSON* object, const char* key) { in parse_json_enable_disable_option() argument 119 loader_instance_heap_free(inst, str); in parse_json_enable_disable_option() 123 VkResult parse_layer_configuration(const struct loader_instance* inst, cJSO argument 159 parse_layer_configurations(const struct loader_instance* inst, cJSON* settings_object, loader_settings* loader_settings) parse_layer_configurations() argument 207 check_if_settings_path_exists(const struct loader_instance* inst, char* base, char* suffix, char** settings_file_path) check_if_settings_path_exists() argument 228 get_unix_settings_path(const struct loader_instance* inst, char** settings_file_path) get_unix_settings_path() argument 272 log_settings(const struct loader_instance* inst, loader_settings* settings) log_settings() argument 295 get_loader_settings(const struct loader_instance* inst, loader_settings* loader_settings) get_loader_settings() argument 503 get_current_settings_and_lock(const struct loader_instance* inst) get_current_settings_and_lock() argument 511 release_current_settings_lock(const struct loader_instance* inst) release_current_settings_lock() argument 517 get_settings_layers(const struct loader_instance* inst, struct loader_layer_list* settings_layers, bool* should_search_for_other_layers) get_settings_layers() argument 634 combine_settings_layers_with_regular_layers(const struct loader_instance* inst, struct loader_layer_list* settings_layers, struct loader_layer_list* regular_layers, struct loader_layer_list* output_layers) combine_settings_layers_with_regular_layers() argument 715 enable_correct_layers_from_settings(const struct loader_instance* inst, const struct loader_envvar_all_filters* filters, uint32_t app_enabled_name_count, const char* const* app_enabled_names, const struct loader_layer_list* instance_layers, struct loader_pointer_layer_list* target_layer_list, struct loader_pointer_layer_list* activated_layer_list) enable_correct_layers_from_settings() argument [all...] |
H A D | loader_windows.c | 116 bool windows_add_json_entry(const struct loader_instance *inst, in windows_add_json_entry() argument 131 *reg_data = loader_instance_heap_alloc(inst, *total_size, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); in windows_add_json_entry() 133 loader_log(inst, VULKAN_LOADER_ERROR_BIT, 0, in windows_add_json_entry() 141 loader_instance_heap_realloc(inst, *reg_data, *total_size, *total_size * 2, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); in windows_add_json_entry() 143 loader_log(inst, VULKAN_LOADER_ERROR_BIT, 0, in windows_add_json_entry() 159 loader_log(inst, VULKAN_LOADER_INFO_BIT, 0, "%s: Located json file \"%s\" from PnP registry: %s", __FUNCTION__, in windows_add_json_entry() 169 bool windows_get_device_registry_entry(const struct loader_instance *inst, char **reg_data, PDWORD total_size, DEVINST dev_id, in windows_get_device_registry_entry() argument 181 loader_log(inst, VULKAN_LOADER_WARN_BIT | VULKAN_LOADER_DRIVER_BIT, 0, in windows_get_device_registry_entry() 192 loader_log(inst, VULKAN_LOADER_INFO_BIT | VULKAN_LOADER_DRIVER_BIT, 0, in windows_get_device_registry_entry() 195 loader_log(inst, VULKAN_LOADER_INFO_BI in windows_get_device_registry_entry() 233 windows_get_device_registry_files(const struct loader_instance *inst, uint32_t log_target_flag, char **reg_data, PDWORD reg_data_size, LPCSTR value_name) windows_get_device_registry_files() argument 352 windows_get_registry_files(const struct loader_instance *inst, char *location, bool use_secondary_hive, char **reg_data, PDWORD reg_data_size) windows_get_registry_files() argument 575 windows_read_manifest_from_d3d_adapters(const struct loader_instance *inst, char **reg_data, PDWORD reg_data_size, const wchar_t *value_name) windows_read_manifest_from_d3d_adapters() argument 707 windows_read_data_files_in_registry(const struct loader_instance *inst, enum loader_data_files_type data_file_type, bool warn_if_not_present, char *registry_location, struct loader_string_list *out_files) windows_read_data_files_in_registry() argument 796 enumerate_adapter_physical_devices(struct loader_instance *inst, struct loader_icd_term *icd_term, uint32_t icd_idx, LUID luid, uint32_t *icd_phys_devs_array_count, struct loader_icd_physical_devices *icd_phys_devs_array) enumerate_adapter_physical_devices() argument 872 sort_physical_devices_with_same_luid(struct loader_instance *inst, uint32_t icd_phys_devs_array_count, struct loader_icd_physical_devices *icd_phys_devs_array) sort_physical_devices_with_same_luid() argument 926 windows_read_sorted_physical_devices(struct loader_instance *inst, uint32_t *icd_phys_devs_array_count, struct loader_icd_physical_devices **icd_phys_devs_array) windows_read_sorted_physical_devices() argument 1023 windows_sort_devices_in_group(struct loader_instance *inst, struct VkPhysicalDeviceGroupProperties *group_props, struct loader_icd_physical_devices *icd_sorted_list) windows_sort_devices_in_group() argument 1046 windows_sort_physical_device_groups(struct loader_instance *inst, const uint32_t group_count, struct loader_physical_device_group_term *sorted_group_term, const uint32_t sorted_device_count, struct loader_icd_physical_devices *sorted_phys_dev_array) windows_sort_physical_device_groups() argument 1090 windows_get_app_package_manifest_path(const struct loader_instance *inst) windows_get_app_package_manifest_path() argument 1165 get_settings_path_if_exists_in_registry_key(const struct loader_instance *inst, char **out_path, HKEY key) get_settings_path_if_exists_in_registry_key() argument 1211 windows_get_loader_settings_file_path(const struct loader_instance *inst, char **out_path) windows_get_loader_settings_file_path() argument [all...] |
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitNativeRISCV_32.c | 57 sljit_ins *inst = (sljit_ins*)addr; in sljit_set_jump_addr() local 63 SLJIT_UPDATE_WX_FLAGS(inst, inst + 5, 0); in sljit_set_jump_addr() 65 SLJIT_ASSERT((inst[0] & 0x7f) == LUI); in sljit_set_jump_addr() 66 inst[0] = (inst[0] & 0xfff) | (sljit_ins)((sljit_sw)new_target & ~0xfff); in sljit_set_jump_addr() 67 SLJIT_ASSERT((inst[1] & 0x707f) == ADDI || (inst[1] & 0x707f) == JALR); in sljit_set_jump_addr() 68 inst[1] = (inst[ in sljit_set_jump_addr() [all...] |
H A D | sljitNativeX86_64.c | 35 sljit_u8 *inst; in emit_load_imm64() local 37 inst = (sljit_u8*)ensure_buf(compiler, 1 + 2 + sizeof(sljit_sw)); in emit_load_imm64() 38 FAIL_IF(!inst); in emit_load_imm64() 40 *inst++ = REX_W | ((reg_map[reg] <= 7) ? 0 : REX_B); in emit_load_imm64() 41 *inst++ = U8(MOV_r_i32 | (reg_map[reg] & 0x7)); in emit_load_imm64() 42 sljit_unaligned_store_sw(inst, imm); in emit_load_imm64() 48 sljit_u8 *inst; in emit_do_imm32() local 51 inst = (sljit_u8*)ensure_buf(compiler, 1 + length); in emit_do_imm32() 52 FAIL_IF(!inst); in emit_do_imm32() 55 *inst in emit_do_imm32() 67 sljit_u8 *inst; emit_x86_instruction() local 386 sljit_u8 *inst; sljit_emit_enter() local 586 sljit_u8 *inst; emit_stack_frame_release() local 659 sljit_u8 *inst; sljit_emit_return_void() local 868 sljit_u8 *inst; sljit_emit_fast_enter() local 901 sljit_u8 *inst; emit_fast_return() local 945 sljit_u8* inst; sljit_emit_mem() local 1025 sljit_u8* inst; emit_mov_int() local [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | eliminate_dead_members_pass.h | 55 // Add to |used_members_| the member of structures that are live in |inst|. 56 void FindLiveMembers(const Instruction* inst); 59 // instruction |inst|. 60 void MarkMembersAsLiveForStore(const Instruction* inst); 63 // instruction |inst|. 64 void MarkMembersAsLiveForCopyMemory(const Instruction* inst); 67 // |OpCompositeExtract| instruction |inst|. 68 void MarkMembersAsLiveForExtract(const Instruction* inst); 71 // instruction |inst|. 72 void MarkMembersAsLiveForAccessChain(const Instruction* inst); [all...] |
H A D | def_use_manager.cpp | 21 void DefUseManager::AnalyzeInstDef(Instruction* inst) { in AnalyzeInstDef() argument 22 const uint32_t def_id = inst->result_id(); in AnalyzeInstDef() 30 id_to_def_[def_id] = inst; in AnalyzeInstDef() 32 ClearInst(inst); in AnalyzeInstDef() 36 void DefUseManager::AnalyzeInstUse(Instruction* inst) { in AnalyzeInstUse() argument 40 auto* used_ids = &inst_to_used_ids_[inst]; in AnalyzeInstUse() 42 EraseUseRecordsOfOperandIds(inst); in AnalyzeInstUse() 43 used_ids = &inst_to_used_ids_[inst]; in AnalyzeInstUse() 47 for (uint32_t i = 0; i < inst->NumOperands(); ++i) { in AnalyzeInstUse() 48 switch (inst in AnalyzeInstUse() 66 AnalyzeInstDefUse(Instruction* inst) AnalyzeInstDefUse() argument 74 UpdateDefUse(Instruction* inst) UpdateDefUse() argument 232 ClearInst(Instruction* inst) ClearInst() argument 249 EraseUseRecordsOfOperandIds(const Instruction* inst) EraseUseRecordsOfOperandIds() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
H A D | test_arith.cpp | 26 #define X(inst, op, isdiv, isshift) \ 27 bool test##inst(bool a, bool b) { return a op b; } \ 28 uint8_t test##inst(uint8_t a, uint8_t b) { return a op b; } \ 29 uint16_t test##inst(uint16_t a, uint16_t b) { return a op b; } \ 30 uint32_t test##inst(uint32_t a, uint32_t b) { return a op b; } \ 31 uint64 test##inst(uint64 a, uint64 b) { return a op b; } \ 32 v4ui32 test##inst(v4ui32 a, v4ui32 b) { return a op b; } \ 33 v8ui16 test##inst(v8ui16 a, v8ui16 b) { return a op b; } \ 34 v16ui8 test##inst(v16ui8 a, v16ui8 b) { return a op b; } 38 #define X(inst, o [all...] |
/third_party/vixl/tools/ |
H A D | make_instruction_doc_aarch64.pl | 41 my %inst = (); # Global hash of instructions. 98 $inst{$p}->{'type'} = $type; 99 $inst{$p}->{'mnemonic'} = $i; 100 $inst{$p}->{'description'} = $d; 101 $inst{$p}->{'initial'} = substr($i, 0, 1); 106 my $links = get_links_list(\%inst); 143 my $inst = $insts->{$i}; 144 $initials{$inst->{type}}->{$inst->{initial}}++; 159 $inst{ [all...] |
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_parse.c | 184 struct tgsi_full_instruction *inst = &ctx->FullToken.FullInstruction; in tgsi_parse_token() local 186 memset(inst, 0, sizeof *inst); in tgsi_parse_token() 187 copy_token(&inst->Instruction, &token); in tgsi_parse_token() 189 if (inst->Instruction.Label) { in tgsi_parse_token() 190 next_token( ctx, &inst->Label); in tgsi_parse_token() 193 if (inst->Instruction.Texture) { in tgsi_parse_token() 194 next_token( ctx, &inst->Texture); in tgsi_parse_token() 195 for (i = 0; i < inst->Texture.NumOffsets; i++) { in tgsi_parse_token() 196 next_token( ctx, &inst in tgsi_parse_token() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/lint/ |
H A D | divergence_analysis.cpp | 27 void DivergenceAnalysis::EnqueueSuccessors(opt::Instruction* inst) { in EnqueueSuccessors() argument 33 if (inst->IsBlockTerminator()) { in EnqueueSuccessors() 34 block_id = context().get_instr_block(inst)->id(); in EnqueueSuccessors() 35 } else if (inst->opcode() == SpvOpLabel) { in EnqueueSuccessors() 36 block_id = inst->result_id(); in EnqueueSuccessors() 41 opt::ForwardDataFlowAnalysis::EnqueueUsers(inst); in EnqueueSuccessors() 56 opt::Instruction* inst) { in Visit() 57 if (inst->opcode() == SpvOpLabel) { in Visit() 58 return VisitBlock(inst->result_id()); in Visit() 60 return VisitInstruction(inst); in Visit() 55 Visit( opt::Instruction* inst) Visit() argument 102 VisitInstruction( opt::Instruction* inst) VisitInstruction() argument 123 ComputeInstructionDivergence(opt::Instruction* inst) ComputeInstructionDivergence() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/lint/ |
H A D | divergence_analysis.cpp | 27 void DivergenceAnalysis::EnqueueSuccessors(opt::Instruction* inst) { in EnqueueSuccessors() argument 33 if (inst->IsBlockTerminator()) { in EnqueueSuccessors() 34 block_id = context().get_instr_block(inst)->id(); in EnqueueSuccessors() 35 } else if (inst->opcode() == SpvOpLabel) { in EnqueueSuccessors() 36 block_id = inst->result_id(); in EnqueueSuccessors() 41 opt::ForwardDataFlowAnalysis::EnqueueUsers(inst); in EnqueueSuccessors() 56 opt::Instruction* inst) { in Visit() 57 if (inst->opcode() == SpvOpLabel) { in Visit() 58 return VisitBlock(inst->result_id()); in Visit() 60 return VisitInstruction(inst); in Visit() 55 Visit( opt::Instruction* inst) Visit() argument 102 VisitInstruction( opt::Instruction* inst) VisitInstruction() argument 123 ComputeInstructionDivergence(opt::Instruction* inst) ComputeInstructionDivergence() argument [all...] |