Home
last modified time | relevance | path

Searched refs:brig_opcode (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-function.cc895 brig_function::expand_or_call_builtin (BrigOpcode16_t brig_opcode, in expand_or_call_builtin() argument
900 if (needs_workitem_context_data (brig_opcode)) in expand_or_call_builtin()
903 if (can_expand_builtin (brig_opcode)) in expand_or_call_builtin()
904 return expand_builtin (brig_opcode, operands); in expand_or_call_builtin()
907 = get_builtin_for_hsa_opcode (arith_type, brig_opcode, brig_type); in expand_or_call_builtin()
911 && brig_opcode != BRIG_OPCODE_LERP in expand_or_call_builtin()
912 && brig_opcode != BRIG_OPCODE_PACKCVT in expand_or_call_builtin()
913 && brig_opcode != BRIG_OPCODE_SAD in expand_or_call_builtin()
914 && brig_opcode != BRIG_OPCODE_SADHI) in expand_or_call_builtin()
938 (expand_or_call_builtin (brig_opcode, brig_type, in expand_or_call_builtin()
[all …]
H A Dbrig-basic-inst-handler.cc276 brig_basic_inst_handler::build_unpack_lo_or_hi (BrigOpcode16_t brig_opcode, in build_unpack_lo_or_hi() argument
288 size_t offset = (brig_opcode == BRIG_OPCODE_UNPACKLO) ? 0 : element_count / 2; in build_unpack_lo_or_hi()
312 brig_basic_inst_handler::build_inst_expr (BrigOpcode16_t brig_opcode, in build_inst_expr() argument
318 = brig_function::get_tree_code_for_hsa_opcode (brig_opcode, brig_type); in build_inst_expr()
346 size_t output_count = gccbrig_hsa_opcode_op_output_p (brig_opcode, 0) ? in build_inst_expr()
353 if (brig_opcode == BRIG_OPCODE_MAD || brig_opcode == BRIG_OPCODE_MAD24) in build_inst_expr()
364 else if (brig_opcode == BRIG_OPCODE_MAD24HI) in build_inst_expr()
370 else if (brig_opcode == BRIG_OPCODE_SHUFFLE) in build_inst_expr()
374 else if (brig_opcode == BRIG_OPCODE_UNPACKLO in build_inst_expr()
375 || brig_opcode == BRIG_OPCODE_UNPACKHI) in build_inst_expr()
[all …]
H A Dbrig-function.h108 tree expand_builtin (BrigOpcode16_t brig_opcode, tree_stl_vec &operands);
110 tree expand_or_call_builtin (BrigOpcode16_t brig_opcode,
113 bool can_expand_builtin (BrigOpcode16_t brig_opcode) const;
115 tree get_builtin_for_hsa_opcode (tree type, BrigOpcode16_t brig_opcode,
122 static bool needs_workitem_context_data (BrigOpcode16_t brig_opcode);
124 static tree_code get_tree_code_for_hsa_opcode (BrigOpcode16_t brig_opcode,
H A Dbrig-code-entry-handler.h70 bool needs_workitem_context_data (BrigOpcode16_t brig_opcode) const;
275 tree build_inst_expr (BrigOpcode16_t brig_opcode, BrigType16_t brig_type,
282 tree build_unpack_lo_or_hi (BrigOpcode16_t brig_opcode, tree arith_type,