HomeSort by: relevance | last modified time | path
    Searched refs:definitions (Results 1 - 25 of 60) sorted by relevancy

1 2 3

  /xsrc/external/mit/MesaLib/dist/src/amd/compiler/
aco_optimizer.cpp 504 if (instr->definitions.empty())
509 std::all_of(instr->definitions.begin(), instr->definitions.end(),
518 std::none_of(instr->definitions.begin(), instr->definitions.end(),
546 decrease -= instr->definitions.back().bytes();
547 instr->definitions.pop_back();
553 if (temp.regClass() == instr->definitions[0].regClass())
587 tmp->definitions.size()));
589 for (unsigned i = 0; i < instr->definitions.size(); i++)
    [all...]
aco_opt_value_numbering.cpp 68 uint32_t len = instr->operands.size() + instr->definitions.size() + sizeof(T);
83 * instruction is used for the hash, i.e. everything except the definitions.
122 a->definitions.size() != b->definitions.size())
146 for (unsigned i = 0; i < a->definitions.size(); i++) {
147 if (a->definitions[i].isTemp()) {
148 if (!b->definitions[i].isTemp())
150 if (a->definitions[i].regClass() != b->definitions[i].regClass())
153 if (a->definitions[i].isFixed())
    [all...]
aco_dead_code_analysis.cpp 86 if (instr->definitions.empty() || instr->isBranch())
88 if (std::any_of(instr->definitions.begin(), instr->definitions.end(),
108 ctx.uses[startpgm->definitions.back().tempId()]++;
aco_validate.cpp 163 check((instr->definitions[0].isFixed() && instr->definitions[0].physReg() == vcc) ||
167 const Definition& def = instr->definitions[0];
168 check(def.bytes() <= 4, "SDWA definitions must not be larger than 4 bytes",
178 "SDWA dst_sel size must be definition size for subdword definitions",
181 "SDWA dst_sel offset must be 0 for subdword definitions", instr.get());
198 if (instr->definitions.size() >= 2) {
199 check(instr->definitions[1].isFixed() && instr->definitions[1].physReg() == vcc,
235 if (instr->definitions[0].regClass().is_subdword() && !instr->definitions[0].isFixed()
    [all...]
aco_assembler.cpp 114 encoding |= !instr->definitions.empty() ? instr->definitions[0].physReg() << 16 : 0;
139 encoding |= !instr->definitions.empty() && !(instr->definitions[0].physReg() == scc)
140 ? instr->definitions[0].physReg() << 16
154 encoding |= !instr->definitions.empty() ? instr->definitions[0].physReg() << 16 : 0;
182 bool soe = instr->operands.size() >= (!instr->definitions.empty() ? 3 : 4);
183 bool is_load = !instr->definitions.empty();
189 encoding |= instr->definitions.size() ? instr->definitions[0].physReg() << 15 : 0
    [all...]
aco_ssa_elimination.cpp 66 if (phi->operands[i].physReg() == phi->definitions[0].physReg())
69 assert(phi->definitions[0].size() == phi->operands[i].size());
76 info_vec.push_back({phi->definitions[0], phi->operands[i]});
105 pc->definitions[i] = phi_info.def;
129 pc->definitions[i] = phi_info.def;
151 for (unsigned i = 0; i < instr->definitions.size(); i++) {
152 if (ignore_exec_writes && instr->definitions[i].physReg() == exec)
154 if (instr->definitions[i].physReg() != instr->operands[i].physReg())
160 if (ignore_exec_writes && instr->definitions[0].physReg() == exec)
291 for (Definition& def : instr->definitions)
    [all...]
aco_insert_NOPs.cpp 213 for (Definition& def : pred->definitions) {
331 if (ctx.smem_write || instr->definitions.empty() ||
343 Definition def = instr->definitions[0];
411 for (Definition def : instr->definitions) {
485 if (instr->definitions.empty() || instr_info.is_atomic[(unsigned)instr->opcode]) {
497 Definition def = instr->definitions[0];
503 for (Definition def : instr->definitions) {
515 } else if (instr->isSALU() && !instr->definitions.empty()) {
516 if (!instr->definitions.empty()) {
517 /* all other definitions should be SCC *
    [all...]
aco_ir.cpp 206 if (!pre_ra && instr->definitions.size() >= 2)
217 if (!instr->definitions.empty() && instr->definitions[0].bytes() > 4 && !instr->isVOPC())
260 tmp->definitions.size()));
262 std::copy(tmp->definitions.cbegin(), tmp->definitions.cend(), instr->definitions.begin());
282 sdwa.dst_sel = SubdwordSel(instr->definitions[0].bytes(), 0, false);
284 if (instr->definitions[0].getTemp().type() == RegType::sgpr && chip == GFX8)
285 instr->definitions[0].setFixed(vcc)
    [all...]
aco_form_hard_clauses.cpp 47 for (; (start < num_instrs) && instrs[start]->definitions.empty(); start++)
51 for (; (end < num_instrs) && !instrs[end]->definitions.empty(); end++)
aco_spill.cpp 191 for (const Definition& def : instr->definitions) {
216 auto it = instr->definitions[0].isTemp() ? next_use_distances_start.find(instr->definitions[0].getTemp())
219 phi_defs.insert(instr->definitions[0].getTemp()).second) {
302 /* TODO: rematerialization with multiple definitions isn't yet supported */
303 if (instr->definitions.size() > 1)
320 assert(instr->definitions.size() == 1 && "unsupported");
325 instr->opcode, instr->format, instr->operands.size(), instr->definitions.size()));
328 instr->opcode, instr->format, instr->operands.size(), instr->definitions.size()));
331 instr->opcode, instr->format, instr->operands.size(), instr->definitions.size()))
    [all...]
aco_register_allocation.cpp 638 assert(instr->definitions[0].bytes() <= 2);
726 /* the definitions with id are not from this function and already handled */
742 for (Definition& def : instr->definitions) {
1413 * operands and definitions.
1530 for (Definition def : split_vec->second->definitions) {
1585 for (Definition def : instr->definitions) {
1614 /* reallocate definitions */
1616 for (Definition def : instr->definitions) {
1795 /* if all definitions are logical vgpr, no need to care for SCC */
1796 for (Definition& def : instr->definitions) {
    [all...]
aco_lower_phis.cpp 114 phi->definitions[0] = Definition(op.getTemp());
298 new_phi->definitions[0] = phi->definitions[0];
318 if (phi->operands[i].regClass() == phi->definitions[0].regClass())
328 Temp new_phi_src = bld.tmp(phi->definitions[0].regClass());
347 assert(program->wave_size == 64 ? phi->definitions[0].regClass() != s1
348 : phi->definitions[0].regClass() != s2);
349 if (phi->definitions[0].regClass() == program->lane_mask)
351 else if (phi->definitions[0].regClass().is_subdword())
aco_optimizer_postRA.cpp 90 for (const Definition& def : instr->definitions) {
230 assert(last_vcc_wr->definitions[0].tempId() == op0_instr->operands[0].tempId());
277 if (!wr_instr->isSALU() || wr_instr->definitions.size() < 2 ||
278 wr_instr->definitions[1].physReg() != scc)
318 instr->operands[0] = Operand(wr_instr->definitions[1].getTemp(), scc);
404 if (mov->definitions[0].physReg() == mov->operands[0].physReg() &&
405 (!mov->definitions[0].tempId() || ctx.uses[mov->definitions[0].tempId()] > 1))
418 if (--ctx.uses[mov->definitions[0].tempId()])
aco_insert_waitcnt.cpp 263 for (const Definition& def : instr->definitions) {
294 instr->definitions[0].physReg() == sgpr_null) {
376 if (ctx.pending_s_buffer_store && !instr->smem().definitions.empty() &&
637 if (ctx.chip_class < GFX10 && !instr->definitions.empty())
642 if (!instr->definitions.empty())
643 insert_wait_entry(ctx, instr->definitions[0], event_flat);
650 if (!instr->definitions.empty())
651 insert_wait_entry(ctx, instr->definitions[0], event_smem);
663 if (!instr->definitions.empty())
664 insert_wait_entry(ctx, instr->definitions[0], ds.gds ? event_gds : event_lds)
    [all...]
aco_lower_to_hw_instr.cpp 192 if (instr->definitions.size() >= 2) {
193 assert(instr->definitions[1].regClass() == bld.lm);
194 instr->definitions[1].setFixed(vcc);
518 sdwa->definitions[0] = Definition(PhysReg{tmp}, v1);
541 sdwa->definitions[0] = Definition(PhysReg{tmp}, v1);
854 Definition dst = instr->definitions[0];
855 Definition tmp_exec = instr->definitions[1];
856 Definition clobber_scc = instr->definitions[2];
925 Definition dst = instr->definitions[0];
926 Definition temp_exec = instr->definitions[1]
    [all...]
aco_live_var_analysis.cpp 38 for (const Definition& def : instr->definitions) {
58 for (Definition def : instr->definitions) {
117 for (Definition& definition : insn->definitions) {
178 /* handle phi definitions */
185 assert(is_phi(insn) && insn->definitions.size() == 1);
186 if (!insn->definitions[0].isTemp()) {
187 assert(insn->definitions[0].isFixed() && insn->definitions[0].physReg() == exec);
191 Definition& definition = insn->definitions[0];
aco_insert_exec_mask.cpp 160 for (const Definition& definition : instr->definitions) {
459 phi->definitions[0] = bld.def(bld.lm);
470 phi->definitions[0] = bld.def(bld.lm);
479 phi->definitions[0] = bld.def(bld.lm);
481 phi->definitions[0] = Definition(exec, bld.lm);
568 phi->definitions[0] = bld.def(bld.lm);
570 phi->definitions[0] = Definition(exec, bld.lm);
735 ctx.info[block->index].exec[i].first = Operand(andn2->definitions[0].getTemp());
736 exit_cond = andn2->definitions[1].getTemp();
752 Definition dst = instr->definitions[0]
    [all...]
aco_statistics.cpp 223 if (!instr->definitions.empty())
230 if (instr->definitions.empty())
236 bool soe = instr->operands.size() >= (!instr->definitions.empty() ? 3 : 4);
249 if (instr->isVMEM() && !instr->definitions.empty())
252 if (instr->isVMEM() && instr->definitions.empty())
398 for (Definition& def : instr->definitions) {
aco_print_ir.cpp 392 !instr->definitions.empty() ? (1 << instr->definitions[0].size()) - 1 : 0xf;
617 if (instr->definitions[0].isFixed())
618 offset += instr->definitions[0].physReg().byte();
625 if (instr->definitions[0].bytes() < 4)
646 if (!instr->definitions.empty()) {
647 for (unsigned i = 0; i < instr->definitions.size(); ++i) {
648 print_definition(&instr->definitions[i], output, flags);
649 if (i + 1 != instr->definitions.size())
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
link_interface_blocks.cpp 331 interface_block_definitions *definitions; local
334 definitions = &in_interfaces;
337 definitions = &out_interfaces;
340 definitions = &uniform_interfaces;
343 definitions = &buffer_interfaces;
353 ir_variable *prev_def = definitions->lookup(var);
358 definitions->store(var);
361 linker_error(prog, "definitions of interface block `%s' do not"
383 interface_block_definitions definitions; local
468 definitions.store(var)
522 interface_block_definitions definitions; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
link_interface_blocks.cpp 312 interface_block_definitions *definitions; local
315 definitions = &in_interfaces;
318 definitions = &out_interfaces;
321 definitions = &uniform_interfaces;
324 definitions = &buffer_interfaces;
334 ir_variable *prev_def = definitions->lookup(var);
339 definitions->store(var);
341 linker_error(prog, "definitions of interface block `%s' do not"
363 interface_block_definitions definitions; local
404 definitions.store(var)
448 interface_block_definitions definitions; local
    [all...]
  /xsrc/external/mit/fontconfig/dist/src/
makealias.py 29 definitions = {} variable
39 definitions[definition] = define_name
46 define_name = definitions[declaration]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
ir3_liveness.c 104 struct ir3_register *reg = live->definitions[name];
125 array_insert(live, live->definitions, NULL);
134 array_insert(live, live->definitions, dst);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/codegen/templates/
gen_llvm.hpp 89 <%! # Global function definitions
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/codegen/templates/
gen_llvm.hpp 83 <%! # Global function definitions

Completed in 31 milliseconds

1 2 3