Lines Matching refs:brig_inst
46 scalarized_sat_arithmetics (const BrigInstBase &brig_inst)
47 : m_brig_inst (brig_inst)
49 BrigType16_t element_type = brig_inst.type & BRIG_TYPE_BASE_MASK;
59 if (brig_inst.opcode == BRIG_OPCODE && element_type == HSAIL_TYPE) \
449 const BrigInstBase *brig_inst = (const BrigInstBase *) base;
450 if (brig_inst->opcode == BRIG_OPCODE_NOP)
453 tree_stl_vec operands = build_operands (*brig_inst);
456 = gccbrig_hsa_opcode_op_output_p (brig_inst->opcode, 0) ? 1 : 0;
469 BrigType16_t brig_inst_type = brig_inst->type;
471 if (brig_inst->opcode == BRIG_OPCODE_FIRSTBIT
472 || brig_inst->opcode == BRIG_OPCODE_LASTBIT
473 || brig_inst->opcode == BRIG_OPCODE_SAD)
509 tree arith_type = gccbrig_is_bit_operation (brig_inst->opcode)
516 if (brig_inst->base.kind == BRIG_KIND_INST_MOD)
517 p = ((const BrigInstMod *) brig_inst)->pack;
518 else if (brig_inst->base.kind == BRIG_KIND_INST_CMP)
519 p = ((const BrigInstCmp *) brig_inst)->pack;
527 = brig_function::get_tree_code_for_hsa_opcode (brig_inst->opcode,
532 scalarized_sat_arithmetics sat_arith (*brig_inst);
632 if (brig_inst->opcode == BRIG_OPCODE_CLASS)
634 instr_expr = build_inst_expr (brig_inst->opcode, brig_inst_type,
656 && !gccbrig_is_bit_operation (brig_inst->opcode);
700 build_output_assignment (*brig_inst, operands[0], instr_expr);