Searched refs:isTemp (Results 1 - 16 of 16) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_dead_code_analysis.cpp65 if (op.isTemp()) {
89 [&uses](const Definition& def) { return !def.isTemp() || uses[def.tempId()]; }))
H A Daco_reindex_ssa.cpp41 if (!def.isTemp())
55 if (!op.isTemp())
H A Daco_validate.cpp260 check(instr->operands[i].isFixed() || instr->operands[i].isTemp() ||
327 check(i != 1 || (op.isTemp() && op.regClass().type() == RegType::sgpr) ||
330 check(i == 1 || (op.isTemp() && op.regClass().type() == RegType::vgpr &&
337 check(i != 0 || (op.isTemp() && op.regClass().type() == RegType::vgpr),
339 check(i == 0 || (op.isTemp() && op.regClass().type() == RegType::sgpr) ||
347 check(i != 2 || (op.isTemp() && op.regClass().type() == RegType::vgpr &&
350 check(i == 2 || (op.isTemp() && op.regClass().type() == RegType::sgpr) ||
355 if (op.isTemp() && instr->operands[i].regClass().type() == RegType::sgpr) {
400 check((instr->operands[0].isTemp()) && instr->operands[1].isConstant(),
413 check(instr->operands[0].isTemp(), "Operan
[all...]
H A Daco_optimizer.cpp591 if (instr->definitions[i].isTemp()) {
604 return op.isTemp() && op.getTemp().type() == RegType::vgpr;
714 if (!op.isTemp())
739 } else if (add_instr->operands[i].isTemp() &&
745 if (!add_instr->operands[!i].isTemp())
896 if (!op.isTemp())
948 if ((op.isTemp() && ctx.info[op.tempId()].is_canonicalized()) ||
952 if (op.isConstant() || (op.isTemp() && ctx.info[op.tempId()].is_constant_or_literal(32))) {
953 uint32_t val = op.isTemp() ? ctx.info[op.tempId()].val : op.constantValue();
969 all_const && (!op.isTemp() || ct
[all...]
H A Daco_live_var_analysis.cpp39 if (!def.isTemp() || def.isKill())
45 if (!op.isTemp() || !op.isFirstKill())
59 if (!def.isTemp())
66 if (op.isTemp() && op.isLateKill() && op.isFirstKill())
118 if (!definition.isTemp()) {
148 if (!operand.isTemp())
157 if (insn->operands[j].isTemp() &&
186 if (!insn->definitions[0].isTemp()) {
241 if (!operand.isTemp())
H A Daco_lower_to_cssa.cpp89 if (!def.isTemp())
103 if (def.regClass().type() == RegType::sgpr && !op.isTemp()) {
138 if (def.isTemp()) {
210 if (cp.op.isTemp() && cp.op.getTemp() == parent)
225 if (!def.isTemp())
233 if (!op.isTemp())
341 if (!copy.op.isTemp())
460 if (cp.op.isTemp())
512 if (!op.isTemp())
H A Daco_register_allocation.cpp727 if (copy.second.isTemp())
735 if (it->second.isTemp()) {
743 if (def.isTemp() && def.getTemp() == it->first.getTemp()) {
758 if (!other.second.isTemp())
768 if (op.isTemp() && op.tempId() == other.second.tempId()) {
792 if (!op.isTemp())
1004 if (instr->operands[i].isTemp() && instr->operands[i].tempId() == id) {
1017 if (instr->operands[i].isTemp() && instr->operands[i].tempId() == id) {
1092 if (op.isTemp() && op.isKillBeforeDef() && op.tempId() == reg_file[j]) {
1163 if (op.isTemp()
[all...]
H A Daco_opt_value_numbering.cpp130 } else if (a->operands[i].isTemp()) {
131 if (!b->operands[i].isTemp())
147 if (a->definitions[i].isTemp()) {
148 if (!b->definitions[i].isTemp())
364 if (!op.isTemp())
384 if (copy_instr && !instr->definitions[0].isFixed() && instr->operands[0].isTemp() &&
402 assert(instr->definitions[i].isTemp());
434 if (!op.isTemp())
H A Daco_scheduler.cpp192 if (op.isTemp()) {
213 if (def.isTemp() && depends_on[def.tempId()])
220 if (op.isTemp() && RAR_deps[op.tempId()]) {
228 if (op.isTemp()) {
287 if (op.isTemp()) {
327 if (def.isTemp())
339 if (op.isTemp() && depends_on[op.tempId()])
359 if (op.isTemp() && depends_on[op.tempId()])
365 if (op.isTemp() && (!improved_rar || op.isFirstKill()) && RAR_dependencies[op.tempId()])
407 if (def.isTemp())
[all...]
H A Daco_spill.cpp192 if (def.isTemp())
202 if (op.isTemp())
216 auto it = instr->definitions[0].isTemp() ? next_use_distances_start.find(instr->definitions[0].getTemp())
226 if (instr->operands[i].isTemp()) {
339 if (instr->operands[i].isTemp()) {
369 if (def.isTemp()) {
412 if (op.isTemp()) {
423 if (def.isTemp()) {
462 if (phi->definitions[0].isTemp() && phi->definitions[0].isKill() &&
695 if (!phi->definitions[0].isTemp())
[all...]
H A Daco_insert_exec_mask.cpp161 if (!definition.isTemp())
179 if (op.isTemp()) {
368 assert(ctx.info[idx].exec.back().first.isTemp());
386 assert(ctx.info[idx].exec.back().first.isTemp());
602 if (get_exec_op(ctx.info[idx].exec.back().first).isTemp()) {
631 assert(!t.isTemp() ||
793 assert(instr->operands[0].isTemp());
H A Daco_lower_phis.cpp164 assert(prev.isTemp());
321 assert(phi->operands[i].isTemp());
H A Daco_optimizer_postRA.cpp262 (instr->operands[0].isTemp() || instr->operands[1].isTemp())) {
H A Daco_ir.h715 constexpr bool isTemp() const noexcept { return isTemp_; } function in class:aco::Operand
728 constexpr bool hasRegClass() const noexcept { return isTemp() || isUndefined(); }
848 return other.isTemp() && other.getTemp() == getTemp();
907 constexpr bool isTemp() const noexcept { return tempId() > 0; } function in class:aco::Definition
H A Daco_ir.cpp680 (instr->operands[0].isTemp() && instr->operands[0].getTemp().type() == RegType::sgpr))
H A Daco_instruction_selection.cpp139 assert(mask.isUndefined() || mask.isTemp() || (mask.isFixed() && mask.physReg() == exec));
150 if (mask.isTemp()) {
501 if (offset.isTemp()) {
3721 Temp offset_tmp = offset.isTemp() ? offset.getTemp() : Temp();
3755 Temp offset_tmp = offset.isTemp() ? offset.getTemp() : Temp();
3775 aligned_offset.isTemp() ? aligned_offset.getTemp() : bld.copy(bld.def(s1), aligned_offset);
4037 if (soffset.isTemp())
5989 create_instruction<MIMG_instruction>(op, Format::MIMG, 3 + coords.size(), dst.isTemp())};
5990 if (dst.isTemp())
10697 if (exp->operands[2].isTemp())
[all...]

Completed in 49 milliseconds