Searched refs:isConstant (Results 1 - 17 of 17) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_validate.cpp261 instr->operands[i].isConstant(),
328 op.isConstant(),
340 op.isConstant(),
351 op.isConstant(),
365 if (op.isConstant() && !op.isLiteral())
377 check(op.isConstant() || op.regClass().type() <= RegType::sgpr,
395 check(op.isConstant() || op.regClass().type() == RegType::sgpr,
400 check((instr->operands[0].isTemp()) && instr->operands[1].isConstant(),
470 check(instr->operands[1].isConstant(), "Index must be constant", instr.get());
472 check(instr->operands[3].isConstant(), "Sig
[all...]
H A Daco_lower_to_hw_instr.cpp719 if (!identity[i].isConstant() ||
722 assert((identity[i].isConstant() && !identity[i].isLiteral()) ||
989 if (!src.op.isConstant() && can_increase)
998 if (src.op.isConstant()) {
1182 } else if (op.isConstant()) {
1349 if (lo.isConstant() && hi.isConstant()) {
1367 (!hi.isConstant() || !Operand::c32(hi.constantValue()).isLiteral() ||
1376 if (lo.isConstant()) {
1386 if (hi.isConstant()) {
[all...]
H A Daco_insert_NOPs.cpp336 if (!op.isConstant() &&
366 if (op.isConstant())
422 !instr->operands[1].isConstant()) {
443 if (!op.isConstant() && !op.isUndefined() && op.regClass().type() == RegType::sgpr)
492 if (!op.isConstant()) {
H A Daco_lower_phis.cpp167 if (cur.isConstant()) {
181 if (cur.isConstant()) {
203 if (phi->operands[i].isConstant())
H A Daco_statistics.cpp238 instr->operands[1].isConstant() && (!soe || instr->operands.back().isConstant());
311 if (op.isConstant() || op.isUndefined())
H A Daco_assembler.cpp192 if (!instr->operands[1].isConstant()) {
203 if (instr->operands.size() >= 2 && instr->operands[1].isConstant() &&
224 encoding |= instr->operands[1].isConstant() ? 1 << 17 : 0; /* IMM - immediate enable */
249 offset = op_off1.isConstant() ? op_off1.constantValue() : op_off1.physReg();
253 if (op_off1.isConstant()) {
265 assert(!op_off2.isConstant());
H A Daco_opt_value_numbering.cpp125 if (a->operands[i].isConstant()) {
126 if (!b->operands[i].isConstant())
H A Daco_optimizer_postRA.cpp127 if (op.isConstant() || op.isUndefined())
264 if (instr->operands[0].isConstant())
H A Daco_ir.h734 if (isConstant())
742 if (isConstant())
758 constexpr bool isConstant() const noexcept { return isConstant_; } function in class:aco::Operand
760 constexpr bool isLiteral() const noexcept { return isConstant() && reg_ == 255; }
768 return isConstant() && constantValue() == cmp;
843 else if (isConstant())
844 return other.isConstant() && other.physReg() == physReg();
H A Daco_optimizer.cpp737 if (add_instr->operands[i].isConstant()) {
871 } else if (instr->opcode == aco_opcode::v_lshlrev_b32 && instr->operands[0].isConstant() &&
952 if (op.isConstant() || (op.isTemp() && ctx.info[op.tempId()].is_constant_or_literal(32))) {
1337 if (vec_op.isConstant()) {
1416 } else if (instr->operands[0].isConstant()) {
1448 if (instr->operands[!i].isConstant() && instr->operands[i].isTemp()) {
1929 if (op.isConstant()) {
2440 if (!op2_instr->operands[1].isConstant() || fixed_to_exec(op2_instr->operands[0]))
2482 (instr->operands[!i].isConstant() && !instr->operands[!i].isLiteral())) {
2603 if (operands[i].isConstant()) {
[all...]
H A Daco_insert_waitcnt.cpp249 if (op.isConstant() || op.isUndefined())
598 if (!op.isConstant() && !op.isUndefined())
H A Daco_print_ir.cpp159 if (operand->isLiteral() || (operand->isConstant() && operand->bytes() == 1)) {
166 } else if (operand->isConstant()) {
H A Daco_lower_to_cssa.cpp106 if (op.isConstant()) {
H A Daco_insert_exec_mask.cpp675 if (!restore.isConstant())
777 if (instr->operands[0].isConstant()) {
H A Daco_ir.cpp679 if (instr->operands[0].isConstant() ||
H A Daco_spill.cpp298 if (!op.isConstant())
H A Daco_instruction_selection.cpp452 if (offset.isConstant()) {
3722 if (offset.isConstant()) {
3756 if (offset.isConstant()) {
3791 if (offset.isConstant())
11693 if (stream_id.isConstant() && stream != stream_id.constantValue())
11702 if (!stream_id.isConstant()) {
11742 if (!stream_id.isConstant()) {

Completed in 51 milliseconds