Searched refs:brig_inst (Results 1 - 8 of 8) sorted by relevance
/netbsd-current/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/ |
H A D | brig-copy-move-inst-handler.cc | 29 brig_copy_move_inst_handler::handle_lda (const BrigInstBase *brig_inst) argument 31 tree dest_type = gccbrig_tree_type_for_hsa_type (brig_inst->type); 33 tree input = build_tree_operand_from_brig (brig_inst, NULL, 1); 34 tree output = build_tree_operand_from_brig (brig_inst, dest_type, 0); 36 build_output_assignment (*brig_inst, output, input); 37 return brig_inst->base.byteCount; 43 const BrigInstBase *brig_inst local 46 if (brig_inst->opcode == BRIG_OPCODE_LDA) 47 return handle_lda (brig_inst); 52 tree dest_type = gccbrig_tree_type_for_hsa_type (brig_inst [all...] |
H A D | brig-mem-inst-handler.cc | 33 brig_mem_inst_handler::build_mem_access (const BrigInstBase *brig_inst, argument 36 bool is_load = brig_inst->opcode == BRIG_OPCODE_LD; 37 bool is_store = brig_inst->opcode == BRIG_OPCODE_ST; 42 tree instr_type = gccbrig_tree_type_for_hsa_type (brig_inst->type); 67 return build_output_assignment (*brig_inst, data, mem_ref); 80 const BrigInstBase *brig_inst local 83 if (brig_inst->opcode == BRIG_OPCODE_ALLOCA) 85 tree_stl_vec operands = build_operands (*brig_inst); 87 const BrigInstMem *mem_inst = (const BrigInstMem *) brig_inst; 101 build_output_assignment (*brig_inst, operand [all...] |
H A D | brig-branch-inst-handler.cc | 34 const BrigInstBase *brig_inst local 37 if (brig_inst->opcode == BRIG_OPCODE_CALL) 40 = m_parent.get_brig_data_entry (brig_inst->operands); 60 func_ref = build_tree_operand (*brig_inst, *operand_data); 161 tree instr_type = gccbrig_tree_type_for_hsa_type (brig_inst->type); 162 tree_stl_vec operands = build_operands (*brig_inst); 164 if (brig_inst->opcode == BRIG_OPCODE_BR) 169 else if (brig_inst->opcode == BRIG_OPCODE_SBR) 200 else if (brig_inst->opcode == BRIG_OPCODE_CBR) 209 else if (brig_inst [all...] |
H A D | brig-code-entry-handler.cc | 98 brig_code_entry_handler::build_tree_operand (const BrigInstBase &brig_inst, argument 119 = build_tree_operand (brig_inst, *operand_element, operand_type); 202 return build_address_operand (brig_inst, 215 (const BrigInstBase &brig_inst, const BrigOperandAddress &addr_operand) 217 tree instr_type = gccbrig_tree_type_for_hsa_type (brig_inst.type); 220 if (brig_inst.opcode == BRIG_OPCODE_LDA) 221 segment = ((const BrigInstAddr &) brig_inst).segment; 222 else if (brig_inst.base.kind == BRIG_KIND_INST_MEM) 223 segment = ((const BrigInstMem &) brig_inst).segment; 224 else if (brig_inst 214 build_address_operand(const BrigInstBase &brig_inst, const BrigOperandAddress &addr_operand) argument 500 build_tree_operand_from_brig(const BrigInstBase *brig_inst, tree operand_type, size_t operand_index) argument 729 build_operands(const BrigInstBase &brig_inst) argument 735 analyze_operands(const BrigInstBase &brig_inst) argument 751 build_or_analyze_operands(const BrigInstBase &brig_inst, bool analyze) argument 979 build_output_assignment(const BrigInstBase &brig_inst, tree output, tree inst_expr) argument [all...] |
H A D | brig-basic-inst-handler.cc | 46 scalarized_sat_arithmetics (const BrigInstBase &brig_inst) argument 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; local 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 [all...] |
H A D | brig-code-entry-handler.h | 56 tree build_tree_operand (const BrigInstBase &brig_inst, 61 tree build_address_operand (const BrigInstBase &brig_inst, 64 tree build_tree_operand_from_brig (const BrigInstBase *brig_inst, 77 tree_stl_vec build_operands (const BrigInstBase &brig_inst); 78 void analyze_operands (const BrigInstBase &brig_inst); 79 tree build_output_assignment (const BrigInstBase &brig_inst, tree output, 91 tree_stl_vec build_or_analyze_operands (const BrigInstBase &brig_inst, 272 bool must_be_scalarized (const BrigInstBase *brig_inst, 321 tree build_mem_access (const BrigInstBase *brig_inst, tree addr, tree data);
|
H A D | brig-cvt-inst-handler.cc | 59 const BrigInstBase *brig_inst local 72 tree dest_type = gccbrig_tree_type_for_hsa_type (brig_inst->type); 74 bool dest_is_fp16 = brig_inst->type == BRIG_TYPE_F16; 82 tree_stl_vec operands = build_operands (*brig_inst); 130 if (brig_inst->type == BRIG_TYPE_B1) 217 if (brig_inst->type == HSAIL_DST_TYPE \
|
H A D | brig-to-generic.cc | 139 const BrigInstBase *brig_inst = (const BrigInstBase *) base; local 140 analyze_operands (*brig_inst);
|
Completed in 113 milliseconds