Searched refs:constantValue (Results 1 - 13 of 13) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_assembler.cpp80 ctx.constaddrs[instr->operands[0].constantValue()].getpc_end = out.size() + 1;
85 ctx.constaddrs[instr->operands[1].constantValue()].add_literal = out.size() + 1;
194 } else if (instr->operands[1].constantValue() >= 1024) {
197 encoding |= instr->operands[1].constantValue() >> 2;
204 instr->operands[1].constantValue() >= 1024)
205 out.push_back(instr->operands[1].constantValue() >> 2);
249 offset = op_off1.isConstant() ? op_off1.constantValue() : op_off1.physReg();
254 offset = op_off1.constantValue();
345 encoding |= (0x3 & instr->operands[0].constantValue());
627 encoding = 0x3 & instr->operands[0].constantValue();
[all...]
H A Daco_optimizer.cpp210 val = Operand::c64(constant).constantValue();
685 if (!literal32.isUndefined() && literal32.constantValue() != op.constantValue())
687 if (!literal64.isUndefined() && literal64.constantValue() != op.constantValue())
738 *offset = add_instr->operands[i].constantValue();
792 unsigned size = instr->operands[2].constantValue() / 8;
793 unsigned offset = instr->operands[1].constantValue() * size;
810 unsigned size = instr->operands[2].constantValue() / 8;
811 unsigned offset = instr->operands[1].constantValue() * siz
[all...]
H A Daco_lower_to_hw_instr.cpp720 identity[i].constantValue()) { /* bound_ctrl should take care of this overwise */
1027 uint32_t imm = op.constantValue();
1070 uint8_t val = op.constantValue();
1082 if (op.constantValue() >= 0xfff0 || op.constantValue() <= 64) {
1085 uint32_t val32 = (int32_t)(int16_t)op.constantValue();
1105 uint32_t val = (op.constantValue() << offset) & mask;
1350 copy_constant(ctx, bld, def, Operand::c32(lo.constantValue() | (hi.constantValue() << 16)));
1367 (!hi.isConstant() || !Operand::c32(hi.constantValue())
[all...]
H A Daco_lower_phis.cpp168 if (!cur.constantValue()) {
182 if (cur.constantValue())
204 defined = phi->operands[i].constantValue() ? pred_defined::const_1 : pred_defined::const_0;
H A Daco_opt_value_numbering.cpp57 hash = murmur_32_scramble(hash, op.constantValue());
128 if (a->operands[i].constantValue() != b->operands[i].constantValue())
H A Daco_print_ir.cpp161 fprintf(output, "0x%.2x", operand->constantValue());
163 fprintf(output, "0x%.4x", operand->constantValue());
165 fprintf(output, "0x%x", operand->constantValue());
H A Daco_validate.cpp288 literal.constantValue() == op.constantValue()),
402 check((instr->operands[1].constantValue() + 1) * instr->definitions[0].bytes() <=
489 unsigned op_bits = instr->operands[2].constantValue();
502 check(instr->operands[1].constantValue() < comp, "Index must be in-bounds",
H A Daco_ir.h764 constexpr uint32_t constantValue() const noexcept { return data_.i; } function in class:aco::Operand
768 return isConstant() && constantValue() == cmp;
842 return other.isLiteral() && other.constantValue() == constantValue();
H A Daco_spill.cpp1637 uint32_t spill_id = (*it)->operands[1].constantValue();
1726 uint32_t spill_id = (*it)->operands[0].constantValue();
H A Daco_insert_exec_mask.cpp778 assert(instr->operands[0].constantValue() == -1u);
H A Daco_instruction_selection.cpp453 assert(offset.constantValue() && offset.constantValue() < 4);
454 shift = Operand::c32(offset.constantValue() * 8);
528 assert(offset.constantValue() == 0);
538 assert(offset.constantValue() % component_size == 0);
539 unsigned skip = offset.constantValue() / component_size;
3723 offset = Operand::c32(offset.constantValue() + to_add);
3757 aligned_offset = Operand::c32(offset.constantValue() & 0xfffffffcu);
3792 byte_align_off = Operand::c32(offset.constantValue() % 4u);
11693 if (stream_id.isConstant() && stream != stream_id.constantValue())
[all...]
H A Daco_register_allocation.cpp2661 reg.reg_b += definition->bytes() * instr->operands[1].constantValue();
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A Dbinner.cpp187 float constantValue = 0.0f; local in function:ProcessAttributes
193 constantValue = constTable[backendState.swizzleMap[i].constantSource][comp];
196 constantValue = *(float*)&primId;
203 pAttribStart[comp + v * 4] = constantValue;

Completed in 50 milliseconds