Home
last modified time | relevance | path

Searched defs:alu (Results 1 – 25 of 142) sorted by relevance

123456

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c41 static inline bool alu_writes(struct r600_bytecode_alu *alu) in alu_writes()
46 static inline unsigned int r600_bytecode_get_num_operands(const struct r600_bytecode_alu *alu) in r600_bytecode_get_num_operands()
67 struct r600_bytecode_alu *alu = CALLOC_STRUCT(r600_bytecode_alu); in r600_bytecode_alu() local
299 static int is_alu_once_inst(struct r600_bytecode_alu *alu) in is_alu_once_inst()
304 static int is_alu_reduction_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) in is_alu_reduction_inst()
310 static int is_alu_mova_inst(struct r600_bytecode_alu *alu) in is_alu_mova_inst()
315 static int alu_uses_rel(struct r600_bytecode_alu *alu) in alu_uses_rel()
337 static int alu_uses_lds(struct r600_bytecode_alu *alu) in alu_uses_lds()
350 static int is_alu_64bit_inst(struct r600_bytecode_alu *alu) in is_alu_64bit_inst()
356 static int is_alu_vec_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) in is_alu_vec_unit_inst()
[all …]
Dr600_shader.c597 struct r600_bytecode_alu alu; in evergreen_interp_alu() local
638 struct r600_bytecode_alu alu; in evergreen_interp_flat() local
795 struct r600_bytecode_alu alu; in select_twoside_color() local
828 struct r600_bytecode_alu alu; in single_alu_op2() local
885 struct r600_bytecode_alu alu; in single_alu_op3() local
965 struct r600_bytecode_alu alu; in tgsi_barrier() local
1243 struct r600_bytecode_alu alu; in tgsi_declaration() local
1256 struct r600_bytecode_alu alu; in tgsi_declaration() local
1452 struct r600_bytecode_alu alu; in load_sample_position() local
1491 struct r600_bytecode_alu alu; in eg_load_helper_invocation() local
[all …]
Dr700_asm.c37 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) in r700_bytecode_alu_build()
81 struct r600_bytecode_alu *alu, uint32_t word0, uint32_t word1) in r700_bytecode_alu_read()
Deg_asm.c179 struct r600_bytecode_alu alu; in egcm_load_index_reg() local
259 int eg_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) in eg_bytecode_alu_build()
/third_party/mesa3d/src/imagination/rogue/
Drogue_nir_helpers.h40 static inline unsigned nir_alu_dest_regindex(const nir_alu_instr *alu) in nir_alu_dest_regindex()
47 static inline unsigned nir_alu_dest_comp(const nir_alu_instr *alu) in nir_alu_dest_comp()
55 static inline unsigned nir_alu_src_regindex(const nir_alu_instr *alu, in nir_alu_src_regindex()
64 static inline uint32_t nir_alu_src_const(const nir_alu_instr *alu, size_t src) in nir_alu_src_const()
74 static inline bool nir_alu_src_is_const(const nir_alu_instr *alu, size_t src) in nir_alu_src_is_const()
Drogue.c147 setup_alu_dest(struct rogue_instr *instr, size_t dest_index, nir_alu_instr *alu) in setup_alu_dest()
190 static bool trans_nir_alu_fmax(struct rogue_shader *shader, nir_alu_instr *alu) in trans_nir_alu_fmax()
218 static bool trans_nir_alu_fmin(struct rogue_shader *shader, nir_alu_instr *alu) in trans_nir_alu_fmin()
247 nir_alu_instr *alu) in trans_nir_alu_mov_imm()
263 static bool trans_nir_alu_mov(struct rogue_shader *shader, nir_alu_instr *alu) in trans_nir_alu_mov()
290 nir_alu_instr *alu) in trans_nir_alu_pack_unorm_4x8()
318 static bool trans_nir_alu_fmul(struct rogue_shader *shader, nir_alu_instr *alu) in trans_nir_alu_fmul()
339 static bool trans_nir_alu_ffma(struct rogue_shader *shader, nir_alu_instr *alu) in trans_nir_alu_ffma()
365 static bool trans_nir_alu(struct rogue_shader *shader, nir_alu_instr *alu) in trans_nir_alu()
/third_party/mesa3d/src/compiler/nir/tests/
Dssa_def_bits_used_tests.cpp66 nir_alu_instr *alu = nir_instr_as_alu(def->parent_instr); in build_alu_instr() local
86 nir_alu_instr *alu = build_alu_instr(nir_op_iand, src0, src1); in TEST_F() local
115 nir_alu_instr *alu = build_alu_instr(nir_op_ior, src0, src1); in TEST_F() local
147 nir_alu_instr *alu = build_alu_instr(nir_op_extract_i16, src0, src1); in TEST_F() local
178 nir_alu_instr *alu = build_alu_instr(nir_op_extract_u16, src0, src1); in TEST_F() local
209 nir_alu_instr *alu = build_alu_instr(nir_op_extract_i8, src0, src1); in TEST_F() local
240 nir_alu_instr *alu = build_alu_instr(nir_op_extract_u8, src0, src1); in TEST_F() local
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_alu.cpp43 auto alu = nir_instr_as_alu(instr); in filter() local
55 nir_alu_instr *alu = nir_instr_as_alu(instr); in lower() local
88 auto alu = nir_instr_as_alu(instr); in filter() local
100 auto alu = nir_instr_as_alu(instr); in lower() local
Dsfn_instr_alu.cpp1164 bool AluInstr::from_nir(nir_alu_instr *alu, Shader& shader) in from_nir()
1418 static Pin pin_for_components(const nir_alu_instr& alu) in pin_for_components()
1425 static bool emit_alu_op1_64bit(const nir_alu_instr& alu, EAluOp opcode, Shader& shader, bool switch… in emit_alu_op1_64bit()
1456 static bool emit_alu_mov_64bit(const nir_alu_instr& alu, Shader& shader) in emit_alu_mov_64bit()
1478 static bool emit_alu_neg(const nir_alu_instr& alu, Shader& shader) in emit_alu_neg()
1502 static bool emit_alu_abs64(const nir_alu_instr& alu, Shader& shader) in emit_alu_abs64()
1520 static bool emit_alu_op2_64bit(const nir_alu_instr& alu, EAluOp opcode, Shader& shader, bool switch… in emit_alu_op2_64bit()
1576 static bool emit_alu_op2_64bit_one_dst(const nir_alu_instr& alu, EAluOp opcode, in emit_alu_op2_64bit_one_dst()
1612 static bool emit_alu_op1_64bit_trans(const nir_alu_instr& alu, EAluOp opcode, Shader& shader) in emit_alu_op1_64bit_trans()
1637 static bool emit_alu_fma_64bit(const nir_alu_instr& alu, EAluOp opcode, Shader& shader) in emit_alu_fma_64bit()
[all …]
Dsfn_nir_lower_64bit.cpp167 auto alu = nir_instr_as_alu(instr); in filter() local
196 auto alu = nir_instr_as_alu(instr); in lower() local
327 auto alu = nir_instr_as_alu(instr); in filter() local
667 LowerSplit64BitVar::split_reduction3(nir_alu_instr *alu, in split_reduction3()
682 LowerSplit64BitVar::split_reduction4(nir_alu_instr *alu, in split_reduction4()
697 LowerSplit64BitVar::split_bcsel(nir_alu_instr *alu) in split_bcsel()
745 auto alu = nir_instr_as_alu(instr); in lower() local
834 auto alu = nir_instr_as_alu(instr); in filter() local
879 auto alu = nir_instr_as_alu(instr); in lower() local
1095 auto alu = nir_instr_as_alu(instr); in r600_nir_64_to_vec2() local
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dlower.c89 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_lower_swap_args() local
146 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_lower_ddxy() local
199 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_lower_select() local
276 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_lower_trunc() local
287 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_lower_abs() local
301 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_lower_neg() local
314 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_lower_sat() local
468 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_lower_accum() local
Dcodegen.c226 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_codegen_encode_vec_mul() local
299 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_codegen_encode_scl_mul() local
368 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_codegen_encode_vec_add() local
457 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_codegen_encode_scl_add() local
533 ppir_alu_node *alu = ppir_node_to_alu(node); in ppir_codegen_encode_combine() local
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dlower.c134 gpir_alu_node *alu = gpir_node_to_alu(child); in gpir_lower_neg() local
150 gpir_alu_node *alu = gpir_node_to_alu(dep->succ); in gpir_lower_neg() local
174 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_lower_complex() local
291 gpir_alu_node *alu = gpir_node_to_alu(dummy_m); in gpir_lower_node_may_consume_two_slots() local
371 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_lower_abs() local
390 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_lower_not() local
Dcodegen.c96 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_codegen_mul0_slot() local
156 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_codegen_mul1_slot() local
208 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_codegen_add0_slot() local
293 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_codegen_add1_slot() local
384 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_codegen_complex_slot() local
439 gpir_alu_node *alu = gpir_node_to_alu(node); in gpir_codegen_pass_slot() local
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_flrp.c37 append_flrp_to_dead_list(struct u_vector *dead_flrp, struct nir_alu_instr *alu) in append_flrp_to_dead_list()
48 struct nir_alu_instr *alu) in replace_with_strict_ffma()
77 struct nir_alu_instr *alu) in replace_with_single_ffma()
110 struct nir_alu_instr *alu) in replace_with_strict()
146 struct nir_alu_instr *alu) in replace_with_fast()
181 struct nir_alu_instr *alu, bool subtract_c) in replace_with_expanded_ffma_and_add()
330 get_similar_flrp_stats(nir_alu_instr *alu, struct similar_flrp_stats *st) in get_similar_flrp_stats()
366 nir_alu_instr *alu, in convert_flrp_instruction()
608 nir_alu_instr *const alu = nir_instr_as_alu(instr); in lower_flrp_impl() local
Dnir_lower_alu_width.c49 nir_alu_instr *alu = nir_instr_as_alu(instr); in inst_is_vector_alu() local
74 alu_is_swizzled_in_bounds(const nir_alu_instr *alu, unsigned width) in alu_is_swizzled_in_bounds()
91 nir_alu_ssa_dest_init(nir_alu_instr *alu, unsigned num_components, in nir_alu_ssa_dest_init()
100 lower_reduction(nir_alu_instr *alu, nir_op chan_op, nir_op merge_op, in lower_reduction()
146 lower_fdot(nir_alu_instr *alu, nir_builder *builder) in lower_fdot()
181 nir_alu_instr *alu = nir_instr_as_alu(instr); in lower_alu_instr_width() local
Dnir_opt_undef.c77 opt_undef_vecN(nir_builder *b, nir_alu_instr *alu) in opt_undef_vecN()
109 nir_alu_instr *alu = nir_instr_as_alu(instr); in nir_get_undef_mask() local
174 nir_alu_instr *alu = nir_instr_as_alu(instr); in nir_opt_undef_instr() local
Dnir_opt_intrinsics.c56 try_opt_bcsel_of_shuffle(nir_builder *b, nir_alu_instr *alu, in try_opt_bcsel_of_shuffle()
94 opt_intrinsics_alu(nir_builder *b, nir_alu_instr *alu, in opt_intrinsics_alu()
134 nir_alu_instr *alu = nir_instr_as_alu(use_src->parent_instr); in opt_intrinsics_intrin() local
Dnir_opt_rematerialize_compares.c82 nir_alu_instr *const alu = nir_instr_as_alu(use->parent_instr); in all_uses_are_bcsel() local
107 nir_alu_instr *const alu = nir_instr_as_alu(instr); in nir_opt_rematerialize_compares_impl() local
Dnir_opt_phi_precision.c161 nir_alu_instr *alu = nir_instr_as_alu(instr); in widening_conversion_op() local
254 nir_alu_instr *alu = nir_instr_as_alu(use->parent_instr); in try_move_narrowing_dst() local
408 nir_alu_instr *alu = nir_instr_as_alu(instr); in try_move_widening_src() local
/third_party/mesa3d/src/panfrost/util/
Dnir_mod_helpers.c45 nir_alu_instr *alu = nir_instr_as_alu(src->src.ssa->parent_instr); in pan_has_source_mod() local
106 nir_alu_instr *alu = nir_instr_as_alu(parent); in pan_has_dest_mod() local
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_conversions.c54 split_conversion(nir_builder *b, nir_alu_instr *alu, nir_op op1, nir_op op2) in split_conversion()
66 lower_alu_instr(nir_builder *b, nir_alu_instr *alu) in lower_alu_instr()
134 nir_alu_instr *alu = nir_instr_as_alu(instr); in lower_instr() local
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_instr_test.cpp32 AluInstr alu(op0_group_barrier); in TEST_F() local
45 AluInstr alu(op1_mov, in TEST_F() local
89 AluInstr alu(op2_add, in TEST_F() local
140 AluInstr alu(op3_cnde, in TEST_F() local
245 AluInstr alu(op3_cnde, R130x, R130y, R131z, R131w, {alu_write, alu_last_instr}); in TEST_F() local
273 AluInstr alu(op1_mov, R130x, R130y, {alu_write, alu_last_instr}); in TEST_F() local
312 AluInstr alu(op2_dot4_ieee, R132x, src, {alu_write, alu_last_instr}, 4); in TEST_F() local
Dsfn_valuefactory_test.cpp58 auto alu = nir_instr_as_alu(sum->parent_instr); in TEST_F() local
184 auto alu = nir_instr_as_alu(sum->parent_instr); in TEST_F() local
203 auto alu = nir_instr_as_alu(sum->parent_instr); in TEST_F() local
229 auto alu = nir_instr_as_alu(sum->parent_instr); in TEST_F() local
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_nir.c75 nir_alu_instr *alu = nir_instr_as_alu(ssa->parent_instr); in etna_lower_io() local
163 nir_alu_instr *alu = nir_instr_as_alu(instr); in etna_lower_alu_impl() local

123456