| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| opt_add_neg_to_sub.h | 43 ir_expression *const op = ir->operands[i]->as_expression(); 50 ir->operands[0] = ir->operands[1]; 52 ir->operands[1] = op->operands[0];
|
| ir_validate.cpp | 301 assert(ir->operands[i] == NULL); 305 assert(ir->operands[i] != NULL); 310 assert(ir->operands[0]->type == ir->type); 314 assert(ir->operands[0]->type->is_boolean()); 318 assert(ir->type == ir->operands[0]->type); 323 assert(ir->operands[0]->type->is_int_16_32_64() || 324 ir->operands[0]->type->is_float_16_32_64()); 325 assert(ir->type == ir->operands[0]->type); 332 assert(ir->type == ir->operands[0]->type); 340 assert(ir->operands[0]->type->is_float_16_32()) [all...] |
| opt_algebraic.cpp | 182 if (ir->operands[0]->type->is_vector()) 183 ir->type = ir->operands[0]->type; 185 ir->type = ir->operands[1]->type; 196 ir_swizzle *x = expr0->operands[0]->as_swizzle(); 197 ir_swizzle *y = expr0->operands[1]->as_swizzle(); 198 ir_swizzle *z = expr1->operands[0]->as_swizzle(); 199 ir_swizzle *w = expr1->operands[1]->as_swizzle(); 234 ir_rvalue *temp = ir2->operands[op2]; 235 ir2->operands[op2] = ir1->operands[op1] [all...] |
| opt_flip_matrices.cpp | 73 !ir->operands[0]->type->is_matrix() || 74 !ir->operands[1]->type->is_vector()) 77 ir_variable *mat_var = ir->operands[0]->variable_referenced(); 84 ir_dereference_variable *deref = ir->operands[0]->as_dereference_variable(); 90 ir->operands[0] = ir->operands[1]; 91 ir->operands[1] = new(mem_ctx) ir_dereference_variable(mvp_transpose); 96 ir_dereference_array *array_ref = ir->operands[0]->as_dereference_array(); 101 ir->operands[0] = ir->operands[1] [all...] |
| lower_vector_insert.cpp | 72 expr->operands[2]->constant_expression_value(factory.mem_ctx); 76 if (index >= expr->operands[0]->type->vector_elements) { 98 factory.make_temp(expr->operands[0]->type, "vec_tmp"); 102 factory.emit(assign(temp, expr->operands[0])); 103 factory.emit(assign(temp, expr->operands[1], mask)); 122 factory.make_temp(expr->operands[0]->type, "vec_tmp"); 125 factory.make_temp(expr->operands[1]->type, "src_temp"); 127 factory.emit(assign(temp, expr->operands[0])); 128 factory.emit(assign(src_temp, expr->operands[1])); 130 assert(expr->operands[2]->type == glsl_type::int_type | [all...] |
| lower_instructions.cpp | 205 ir->operands[1] = new(ir) ir_expression(ir_unop_neg, ir->operands[1]->type, 206 ir->operands[1], NULL); 213 assert(ir->operands[1]->type->is_float_16_32_64()); 218 ir->operands[1]->type, 219 ir->operands[1]); 224 ir->operands[1] = expr; 232 assert(ir->operands[1]->type->is_integer_32()); 242 ir->operands[1]->type->vector_elements, 243 ir->operands[1]->type->matrix_columns) [all...] |
| opt_rebalance_tree.cpp | 75 ir_rvalue *remainder = root->operands[1]; 80 remainder_temp->operands[0]->as_expression() : NULL; 86 ((ir_expression *)remainder)->operands[1] : NULL; 91 ((ir_expression *)remainder)->operands[0] = tempptr->operands[1]; 92 tempptr->operands[1] = remainder; 94 ((ir_expression *)vine_tail)->operands[1] = tempptr; 107 ir_expression *child = (ir_expression *)scanner->operands[1]; 108 scanner->operands[1] = child->operands[1] [all...] |
| lower_vec_index_to_swizzle.cpp | 68 expr->operands[1]->constant_expression_value(mem_ctx); 89 (int) expr->operands[0]->type->vector_elements - 1); 91 *rv = new(mem_ctx) ir_swizzle(expr->operands[0], i, 0, 0, 0, 1);
|
| lower_vec_index_to_cond_assign.cpp | 145 ir_expression *const interpolant = expr->operands[0]->as_expression(); 149 ir_rvalue *vec_input = interpolant->operands[0]; 152 vec_input, expr->operands[1]); 156 interpolant->operands[1], 164 expr->operands[0], 165 expr->operands[1], 173 ir->operands[i] = convert_vector_extract_to_cond_assign(ir->operands[i]);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| opt_add_neg_to_sub.h | 43 ir_expression *const op = ir->operands[i]->as_expression(); 50 ir->operands[0] = ir->operands[1]; 52 ir->operands[1] = op->operands[0];
|
| ir_validate.cpp | 240 assert(ir->operands[i] == NULL); 244 assert(ir->operands[i] != NULL); 249 assert(ir->operands[0]->type == ir->type); 253 assert(ir->operands[0]->type->is_boolean()); 257 assert(ir->type == ir->operands[0]->type); 262 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT || 263 ir->operands[0]->type->is_float() || 264 ir->operands[0]->type->is_double() || 265 ir->operands[0]->type->base_type == GLSL_TYPE_INT64); 266 assert(ir->type == ir->operands[0]->type) [all...] |
| opt_algebraic.cpp | 182 if (ir->operands[0]->type->is_vector()) 183 ir->type = ir->operands[0]->type; 185 ir->type = ir->operands[1]->type; 196 ir_swizzle *x = expr0->operands[0]->as_swizzle(); 197 ir_swizzle *y = expr0->operands[1]->as_swizzle(); 198 ir_swizzle *z = expr1->operands[0]->as_swizzle(); 199 ir_swizzle *w = expr1->operands[1]->as_swizzle(); 234 ir_rvalue *temp = ir2->operands[op2]; 235 ir2->operands[op2] = ir1->operands[op1] [all...] |
| opt_flip_matrices.cpp | 73 !ir->operands[0]->type->is_matrix() || 74 !ir->operands[1]->type->is_vector()) 77 ir_variable *mat_var = ir->operands[0]->variable_referenced(); 84 ir_dereference_variable *deref = ir->operands[0]->as_dereference_variable(); 90 ir->operands[0] = ir->operands[1]; 91 ir->operands[1] = new(mem_ctx) ir_dereference_variable(mvp_transpose); 96 ir_dereference_array *array_ref = ir->operands[0]->as_dereference_array(); 101 ir->operands[0] = ir->operands[1] [all...] |
| lower_vector_insert.cpp | 69 expr->operands[2]->constant_expression_value(factory.mem_ctx); 80 factory.make_temp(expr->operands[0]->type, "vec_tmp"); 84 factory.emit(assign(temp, expr->operands[0])); 85 factory.emit(assign(temp, expr->operands[1], mask)); 104 factory.make_temp(expr->operands[0]->type, "vec_tmp"); 107 factory.make_temp(expr->operands[1]->type, "src_temp"); 109 factory.emit(assign(temp, expr->operands[0])); 110 factory.emit(assign(src_temp, expr->operands[1])); 112 assert(expr->operands[2]->type == glsl_type::int_type || 113 expr->operands[2]->type == glsl_type::uint_type) [all...] |
| lower_instructions.cpp | 198 ir->operands[1] = new(ir) ir_expression(ir_unop_neg, ir->operands[1]->type, 199 ir->operands[1], NULL); 206 assert(ir->operands[1]->type->is_float() || ir->operands[1]->type->is_double()); 211 ir->operands[1]->type, 212 ir->operands[1]); 217 ir->operands[1] = expr; 225 assert(ir->operands[1]->type->is_integer()); 235 ir->operands[1]->type->vector_elements [all...] |
| opt_rebalance_tree.cpp | 75 ir_rvalue *remainder = root->operands[1]; 80 remainder_temp->operands[0]->as_expression() : NULL; 86 ((ir_expression *)remainder)->operands[1] : NULL; 91 ((ir_expression *)remainder)->operands[0] = tempptr->operands[1]; 92 tempptr->operands[1] = remainder; 94 ((ir_expression *)vine_tail)->operands[1] = tempptr; 107 ir_expression *child = (ir_expression *)scanner->operands[1]; 108 scanner->operands[1] = child->operands[1] [all...] |
| lower_vec_index_to_swizzle.cpp | 68 expr->operands[1]->constant_expression_value(mem_ctx); 89 (int) expr->operands[0]->type->vector_elements - 1); 91 *rv = new(mem_ctx) ir_swizzle(expr->operands[0], i, 0, 0, 0, 1);
|
| lower_vec_index_to_cond_assign.cpp | 145 ir_expression *const interpolant = expr->operands[0]->as_expression(); 149 ir_rvalue *vec_input = interpolant->operands[0]; 152 vec_input, expr->operands[1]); 156 interpolant->operands[1], 164 expr->operands[0], 165 expr->operands[1], 173 ir->operands[i] = convert_vector_extract_to_cond_assign(ir->operands[i]);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| aco_optimizer.cpp | 64 * propagates reg->reg operands of the same type, inline constants 486 if (instr->operands.size() && instr->operands[0].isLiteral() && ctx.program->chip_class < GFX10) 526 if (temp.bytes() != instr->operands[index].bytes()) 537 if (temp.bytes() > instr->operands[index].bytes()) 544 int decrease = instr->operands[index].bytes() - temp.bytes(); 559 instr->operands[index].setTemp(temp); 586 instr.reset(create_instruction<VOP3_instruction>(tmp->opcode, format, tmp->operands.size(), 588 std::copy(tmp->operands.cbegin(), tmp->operands.cend(), instr->operands.begin()) 2231 Operand operands[3]; local 2276 Operand operands[3]; local 2324 Operand operands[3]; local 2588 Operand operands[3]; local [all...] |
| aco_assembler.cpp | 67 unsigned addr_dwords = instr->operands.size() - 3; 69 if (instr->operands[3 + i].physReg() != instr->operands[3].physReg().advance(i * 4)) 80 ctx.constaddrs[instr->operands[0].constantValue()].getpc_end = out.size() + 1; 83 instr->operands.pop_back(); 85 ctx.constaddrs[instr->operands[1].constantValue()].add_literal = out.size() + 1; 88 instr->operands[1] = Operand::zero(); 89 instr->operands[1].setFixed(PhysReg(255)); 115 encoding |= instr->operands.size() >= 2 ? instr->operands[1].physReg() << 8 : 0 [all...] |
| aco_optimizer_postRA.cpp | 200 if (instr->format != Format::PSEUDO_BRANCH || instr->operands.size() == 0 || 201 instr->operands[0].physReg() != scc) 204 Idx op0_instr_idx = last_writer_idx(ctx, instr->operands[0]); 226 op0_instr->operands[0].physReg() != vcc || op0_instr->operands[1].physReg() != exec || 230 assert(last_vcc_wr->definitions[0].tempId() == op0_instr->operands[0].tempId()); 233 ctx.uses[instr->operands[0].tempId()]--; 235 instr->operands[0] = op0_instr->operands[0]; 261 (instr->operands[0].constantEquals(0) || instr->operands[1].constantEquals(0)) & [all...] |
| aco_validate.cpp | 184 for (unsigned i = 0; i < std::min<unsigned>(2, instr->operands.size()); i++) { 185 const Operand& op = instr->operands[i]; 186 check(op.bytes() <= 4, "SDWA operands must not be larger than 4 bytes", instr.get()); 194 if (instr->operands.size() >= 3) { 195 check(instr->operands[2].isFixed() && instr->operands[2].physReg() == vcc, 230 if (i >= instr->operands.size() || 231 (instr->operands[i].hasRegClass() && 232 instr->operands[i].regClass().is_subdword() && !instr->operands[i].isFixed()) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/llvm/ |
| metadata.hpp | 64 auto operands = detail::get_kernel_metadata_operands(f, name); local 65 if (operands.size()) { 80 auto operands = detail::get_kernel_metadata_operands(f, name); local 81 if (operands.size()) { 87 }, operands); 99 auto operands = detail::get_kernel_metadata_operands(f, name); local 100 if (operands.size()) { 101 auto value = ::llvm::cast< ::llvm::ConstantAsMetadata>(operands[0]) 106 value = ::llvm::cast< ::llvm::ConstantAsMetadata>(operands[1]) 156 auto operands = detail::get_kernel_metadata_operands(f, name) local 173 auto operands = detail::get_kernel_metadata_operands(f, name); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_disasm.c | 412 print_opc_default(struct opc_operands *operands) 414 print_dst(operands->dst, true); 415 print_src(operands->src0, true); 416 print_src(operands->src1, true); 417 print_src(operands->src2, false); 421 print_opc_mov(struct opc_operands *operands) 424 printf("a%u", operands->dst->reg); 425 print_components(operands->dst->write_mask); 428 print_src(operands->src0, true); 429 print_src(operands->src1, true) 586 struct opc_operands operands = { local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_disasm.c | 413 print_opc_default(struct opc_operands *operands) 415 print_dst(operands->dst, true); 416 print_src(operands->src0, true); 417 print_src(operands->src1, true); 418 print_src(operands->src2, false); 422 print_opc_mov(struct opc_operands *operands) 425 printf("a%u", operands->dst->reg); 426 print_components(operands->dst->comps); 429 print_src(operands->src0, true); 430 print_src(operands->src1, true) 579 struct opc_operands operands = { local [all...] |