/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_optimizer.cpp | 626 ssa_info& info = ctx.info[instr->definitions[i].tempId()]; in to_VOP3() 651 ssa_info& info = ctx.info[instr->definitions[i].tempId()]; in to_SDWA() 710 if (op.tempId() != sgpr[0] && op.tempId() != sgpr[1]) { in check_vop3_operands() 712 sgpr[num_sgprs++] = op.tempId(); in check_vop3_operands() 793 ctx.info[add_instr->operands[i].tempId()].is_constant_or_literal(32)) { in parse_base_offset() 794 *offset = ctx.info[add_instr->operands[i].tempId()].val * (uint32_t)(is_sub ? -1 : 1); in parse_base_offset() 824 if (!op.isTemp() || !ctx.info[op.tempId()].is_bitwise()) in skip_smem_offset_align() 827 Instruction* bitwise_instr = ctx.info[op.tempId()].instr; in skip_smem_offset_align() 849 ssa_info info = ctx.info[instr->operands[1].tempId()]; in smem_combine() [all...] |
H A D | aco_dead_code_analysis.cpp | 66 if (ctx.uses[op.tempId()] == 0) in process_block() 68 ctx.uses[op.tempId()]++; in process_block() 90 [&uses](const Definition& def) { return !def.isTemp() || uses[def.tempId()]; })) in is_dead() 109 ctx.uses[startpgm->definitions.back().tempId()]++; in dead_code_analysis()
|
H A D | aco_lower_to_cssa.cpp | 128 ctx.live_out[preds[i]].erase(op.tempId()); in collect_parallelcopies() 145 ctx.merge_node_table[def.tempId()] = {Operand(def.getTemp()), index, block.index}; in collect_parallelcopies() 345 merge_node& op_node = ctx.merge_node_table[copy.op.tempId()]; in try_coalesce_copy() 353 } while (block_idx != pred && ctx.live_out[pred].count(copy.op.tempId())); in try_coalesce_copy() 369 assert(ctx.merge_node_table.count(copy.def.tempId())); in try_coalesce_copy() 370 if (op_node.index == ctx.merge_node_table[copy.def.tempId()].index) in try_coalesce_copy() 454 renames.emplace(cp.def.tempId(), cp.op); in emit_parallelcopies() 456 ctx.live_out[i].erase(cp.def.tempId()); in emit_parallelcopies() 457 ctx.live_out[i].insert(cp.op.tempId()); in emit_parallelcopies() 461 read_idx = ctx.merge_node_table[cp.op.tempId()] in emit_parallelcopies() [all...] |
H A D | aco_optimizer_postRA.cpp | 253 assert(last_vcc_wr->definitions[0].tempId() == op0_instr->operands[0].tempId()); in try_apply_branch_vcc() 256 ctx.uses[instr->operands[0].tempId()]--; in try_apply_branch_vcc() 290 if (ctx.uses[instr->operands[0].tempId()] > 1) in try_optimize_scc_nocompare() 340 ctx.uses[instr->operands[0].tempId()]--; in try_optimize_scc_nocompare() 342 ctx.uses[instr->operands[0].tempId()]++; in try_optimize_scc_nocompare() 377 if (ctx.uses[instr->operands[scc_op_idx].tempId()] > 1) in try_optimize_scc_nocompare() 393 ctx.uses[instr->operands[scc_op_idx].tempId()]--; in try_optimize_scc_nocompare() 431 (!mov->definitions[0].tempId() || ctx.uses[mov->definitions[0].tempId()] > in try_combine_dpp() [all...] |
H A D | aco_register_allocation.cpp | 328 fill_subdword(op.physReg(), op.bytes(), op.tempId()); in fill() 330 fill(op.physReg(), op.size(), op.tempId()); in fill() 338 fill_subdword(def.physReg(), def.bytes(), def.tempId()); in fill() 340 fill(def.physReg(), def.size(), def.tempId()); in fill() 793 ctx.assignments[def.tempId()].reg = def.physReg(); in update_renames() 808 ctx.assignments[other.second.tempId()].reg = other.second.physReg(); in update_renames() 814 if (op.isTemp() && op.tempId() == other.second.tempId()) { in update_renames() 840 if (op.tempId() == copy.first.tempId()) { in update_renames() [all...] |
H A D | aco_scheduler.cpp | 193 depends_on[op.tempId()] = true; 195 RAR_dependencies[op.tempId()] = true; 213 if (def.isTemp() && depends_on[def.tempId()]) 220 if (op.isTemp() && RAR_deps[op.tempId()]) { 229 depends_on[op.tempId()] = true; 231 RAR_dependencies[op.tempId()] = true; 288 depends_on[op.tempId()] = true; in downwards_skip() 290 RAR_dependencies[op.tempId()] = true; in downwards_skip() 291 RAR_dependencies_clause[op.tempId()] = true; in downwards_skip() 328 depends_on[def.tempId()] [all...] |
H A D | aco_validate.cpp | 369 if (op.tempId() != sgpr[0] && op.tempId() != sgpr[1]) { in validate_ir() 371 sgpr[num_sgprs++] = op.tempId(); in validate_ir() 967 if (regs[written_reg] && regs[written_reg] != def.tempId()) in validate_instr_defs() 1022 if (assignments[op.tempId()].valid && assignments[op.tempId()].reg != op.physReg()) in validate_ra() 1024 ra_fail(program, loc, assignments[op.tempId()].firstloc, in validate_ra() 1031 err |= ra_fail(program, loc, assignments[op.tempId()].firstloc, in validate_ra() 1039 if (!assignments[op.tempId()].firstloc.block) in validate_ra() 1040 assignments[op.tempId()] in validate_ra() [all...] |
H A D | aco_reindex_ssa.cpp | 45 ctx.renames[def.tempId()] = new_id; in reindex_defs() 57 uint32_t new_id = ctx.renames[op.tempId()]; in reindex_ops()
|
H A D | aco_opt_value_numbering.cpp | 136 if (a->operands[i].tempId() != b->operands[i].tempId()) in operator ()() 375 auto it = ctx.renames.find(op.tempId()); in process_block() 395 ctx.renames[instr->definitions[0].tempId()] = instr->operands[0].getTemp(); in process_block() 412 ctx.renames[instr->definitions[i].tempId()] = orig_instr->definitions[i].getTemp(); in process_block() 445 auto it = renames.find(op.tempId()); in rename_phi_operands()
|
H A D | aco_live_var_analysis.cpp | 174 insn->operands[j].tempId() == operand.tempId()) { in process_live_temps_per_block() 262 const bool inserted = lives.live_out[preds[i]].insert(operand.tempId()).second; in process_live_temps_per_block() 274 operand.setKill(!live.count(operand.tempId())); in process_live_temps_per_block()
|
H A D | aco_ir.cpp | 907 return a->operands[0].tempId() == b->operands[0].tempId();
|
H A D | aco_print_ir.cpp | 182 fprintf(output, "%%%d%s", operand->tempId(), operand->isFixed() ? ":" : ""); in aco_print_operand() 203 fprintf(output, "%%%d%s", definition->tempId(), definition->isFixed() ? ":" : ""); in print_definition()
|
H A D | aco_ir.h | 740 constexpr uint32_t tempId() const noexcept { return data_.temp.id(); } 933 constexpr bool isTemp() const noexcept { return tempId() > 0; } 937 constexpr uint32_t tempId() const noexcept { return temp.id(); }
|
H A D | aco_lower_to_hw_instr.cpp | 998 *def = Definition(src.def.tempId(), def_reg, src.def.regClass().resize(bytes)); in split_copy() 1006 op->setTemp(Temp(src.op.tempId(), op_cls)); in split_copy() 1732 other->second.def.setTemp(Temp(other->second.def.tempId(), in handle_operands() 1734 other->second.op.setTemp(Temp(other->second.op.tempId(), in handle_operands() 2194 unsigned id = instr->definitions[0].tempId(); in lower_to_hw_instr()
|
H A D | aco_instruction_selection.cpp | 10298 assert(instr->operands[i].tempId() == instr->operands.back().tempId());
|
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | codec_component_manager_service.cpp | 115 uint32_t tempId = 0; in GetNextComponentId() local 117 tempId = ++componentId_; in GetNextComponentId() 118 } while (componentMap_.find(tempId) != componentMap_.end()); in GetNextComponentId() 119 return tempId; in GetNextComponentId()
|
/drivers/peripheral/codec/hal/src/ |
H A D | codec_component_manager_service.c | 58 uint32_t tempId = 0; in GetNextComponentId() local 60 return tempId; in GetNextComponentId() 67 tempId = ++g_componentId; in GetNextComponentId() 71 if (pos != NULL && tempId == pos->componentId) { in GetNextComponentId() 77 return tempId; in GetNextComponentId()
|
/foundation/multimedia/av_session/services/session/server/ |
H A D | avrouter_impl.cpp | 223 int64_t tempId = 1; in OnCastSessionCreated() local 225 castHandle = static_cast<int64_t>((static_cast<uint64_t>(tempId) << 32) | in OnCastSessionCreated() 290 int64_t tempId = outputDeviceInfo.deviceInfos_[0].providerId_; in StartCast() local 292 castHandle = static_cast<int64_t>((static_cast<uint64_t>(tempId) << 32) | static_cast<uint32_t>(castId)); in StartCast()
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | spannable_string.cpp | 272 uint16_t tempId = tempSpan->data_.fontId; in SetFontId() local 273 if (inputFontId == tempId) { in SetFontId() 279 tempLeft.fontId = tempId; in SetFontId() 283 tempRight.fontId = tempId; in SetFontId()
|
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/ |
H A D | audio_enhance_chain_manager.cpp | 667 uint32_t tempId = (sceneKeyCode & CAPTURER_ID_MASK) >> 8; in SetInputDevice() local 668 if ((tempId == captureId) && chain) { in SetInputDevice() 670 AUDIO_ERR_LOG("chain:%{public}u set input device failed", tempId); in SetInputDevice()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_policy_service.cpp | 1298 uint32_t tempId = desc->deviceId_; in SetRenderDeviceForUsage() local 1306 tempId, GetEncryptStr(desc->networkId_).c_str()); in SetRenderDeviceForUsage() 1315 tempId, GetEncryptStr(desc->networkId_).c_str()); in SetRenderDeviceForUsage()
|