Searched refs:brig_type (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/ |
| H A D | brig-util.cc | 169 gccbrig_to_uint64_t (const BrigUInt64 &brig_type) in gccbrig_to_uint64_t() argument 171 return (uint64_t (brig_type.hi) << 32) | uint64_t (brig_type.lo); in gccbrig_to_uint64_t() 387 gccbrig_tree_type_for_hsa_type (BrigType16_t brig_type) in gccbrig_tree_type_for_hsa_type() argument 391 if (hsa_type_packed_p (brig_type)) in gccbrig_tree_type_for_hsa_type() 394 BrigType16_t inner_brig_type = brig_type & BRIG_TYPE_BASE_MASK; in gccbrig_tree_type_for_hsa_type() 396 unsigned full_size = gccbrig_hsa_type_bit_size (brig_type); in gccbrig_tree_type_for_hsa_type() 410 switch (brig_type) in gccbrig_tree_type_for_hsa_type() 425 (gccbrig_hsa_type_bit_size (brig_type), false); in gccbrig_tree_type_for_hsa_type() 440 (gccbrig_hsa_type_bit_size (brig_type), true); in gccbrig_tree_type_for_hsa_type()
|
| H A D | brig-function.cc | 896 BrigType16_t brig_type, in expand_or_call_builtin() argument 907 = get_builtin_for_hsa_opcode (arith_type, brig_opcode, brig_type); in expand_or_call_builtin() 938 (expand_or_call_builtin (brig_opcode, brig_type, in expand_or_call_builtin() 1167 (tree type, BrigOpcode16_t brig_opcode, BrigType16_t brig_type) const in get_builtin_for_hsa_opcode() 1175 BrigType16_t brig_inner_type = brig_type & BRIG_TYPE_BASE_MASK; in get_builtin_for_hsa_opcode() 1185 if (brig_type == BRIG_TYPE_S32) in get_builtin_for_hsa_opcode() 1186 brig_type = BRIG_TYPE_U32; in get_builtin_for_hsa_opcode() 1187 else if (brig_type == BRIG_TYPE_S64) in get_builtin_for_hsa_opcode() 1188 brig_type = BRIG_TYPE_U64; in get_builtin_for_hsa_opcode() 1234 if (brig_type == BRIG_TYPE_S32 || brig_type == BRIG_TYPE_U32) in get_builtin_for_hsa_opcode() [all …]
|
| H A D | brig-function.h | 111 BrigType16_t brig_type, tree arith_type, 116 BrigType16_t brig_type) const; 125 BrigType16_t brig_type);
|
| H A D | brig-util.h | 67 uint64_t gccbrig_to_uint64_t (const BrigUInt64 &brig_type); 82 tree gccbrig_tree_type_for_hsa_type (BrigType16_t brig_type);
|
| H A D | brig-basic-inst-handler.cc | 313 BrigType16_t brig_type, in build_inst_expr() argument 318 = brig_function::get_tree_code_for_hsa_opcode (brig_opcode, brig_type); in build_inst_expr() 320 BrigType16_t inner_type = brig_type & BRIG_TYPE_BASE_MASK; in build_inst_expr() 396 (BRIG_OPCODE_SQRT, brig_type, arith_type, operands)); in build_inst_expr() 417 return m_parent.m_cf->expand_or_call_builtin (brig_opcode, brig_type, in build_inst_expr()
|
| H A D | brig-code-entry-handler.h | 49 tree get_tree_expr_type_for_hsa_type (BrigType16_t brig_type) const; 275 tree build_inst_expr (BrigOpcode16_t brig_opcode, BrigType16_t brig_type,
|
| H A D | brig-code-entry-handler.cc | 674 (BrigType16_t brig_type) const in get_tree_expr_type_for_hsa_type() 676 BrigType16_t brig_inner_type = brig_type & BRIG_TYPE_BASE_MASK; in get_tree_expr_type_for_hsa_type() 679 if (brig_inner_type == brig_type) in get_tree_expr_type_for_hsa_type() 681 size_t element_count = gccbrig_hsa_type_bit_size (brig_type) / 16; in get_tree_expr_type_for_hsa_type() 685 return gccbrig_tree_type_for_hsa_type (brig_type); in get_tree_expr_type_for_hsa_type()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | hsa-gen.c | 2504 BrigKind16_t brig_type = packed_reg->m_type; in gen_hsa_insns_for_load() local 2508 brig_type, real_reg, imag_reg, packed_reg); in gen_hsa_insns_for_load() 3922 BrigType16_t brig_type = hsa_unsigned_type_for_type (dest->m_type); in query_hsa_grid_nodim() local 3923 hsa_insn_basic *insn = new hsa_insn_basic (1, opcode, brig_type, dest); in query_hsa_grid_nodim()
|