Home
last modified time | relevance | path

Searched refs:nir_op (Results 1 – 25 of 61) sorted by relevance

123

/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_conversions.c27 static nir_op
41 get_opcode_rounding_mode(nir_op op) in get_opcode_rounding_mode()
54 split_conversion(nir_builder *b, nir_alu_instr *alu, nir_op op1, nir_op op2) in split_conversion()
91 nir_op op1 = get_conversion_op(src_type, src_bit_size, in lower_instr()
94 nir_op op2 = get_conversion_op(nir_type_float, 32, in lower_instr()
117 nir_op op1 = get_conversion_op(src_type, src_bit_size, dst_type, 32, in lower_instr()
119 nir_op op2 = get_conversion_op(dst_type, 32, dst_type, dst_bit_size, in lower_instr()
Dbrw_nir.h154 enum brw_conditional_mod brw_cmod_for_nir_comparison(nir_op op);
/external/mesa3d/src/panfrost/midgard/
Dmidgard_address.c89 nir_op op = nir_ssa_scalar_alu_op(address->B); in mir_match_iadd()
119 nir_op op = nir_ssa_scalar_alu_op(address->B); in mir_match_u2u64()
138 nir_op op = nir_ssa_scalar_alu_op(address->B); in mir_match_ishl()
158 nir_op op = nir_ssa_scalar_alu_op(address->A); in mir_match_mov()
165 nir_op op = nir_ssa_scalar_alu_op(address->B); in mir_match_mov()
Dmidgard_derivatives.c54 mir_derivative_mode(nir_op op) in mir_derivative_mode()
/external/mesa3d/src/compiler/nir/
Dnir_loop_analyze.c570 nir_op limit_op = nir_ssa_scalar_alu_op(limit); in try_find_limit_of_alu()
586 eval_const_unop(nir_op op, unsigned bit_size, nir_const_value src0, in eval_const_unop()
597 eval_const_binop(nir_op op, unsigned bit_size, in eval_const_binop()
609 get_iteration(nir_op cond_op, nir_const_value initial, nir_const_value step, in get_iteration()
657 nir_op cond_op, unsigned bit_size, in will_break_on_first_iteration()
664 nir_op add_op; in will_break_on_first_iteration()
694 nir_const_value limit, nir_op cond_op, unsigned bit_size, in test_iterations()
702 nir_op mul_op; in test_iterations()
703 nir_op add_op; in test_iterations()
744 nir_ssa_scalar cond, nir_op alu_op, bool limit_rhs, in calculate_iterations()
[all …]
Dnir_algebraic.py652 nir_op = opcodes[val.opcode]
653 assert len(val.sources) == nir_op.num_inputs, \
655 val, len(val.sources), nir_op.num_inputs)
660 dst_type_bits = type_bits(nir_op.output_type)
666 for src_type, src in zip(nir_op.input_types, val.sources):
694 src, src_bit_size, nir_op.name, src_type_bits))
701 src, src_bit_size, nir_op.name, src_type_bits))
723 val, dst_bit_size, nir_op.name, dst_type_bits))
Dnir_constant_expressions.h33 void nir_eval_const_opcode(nir_op op, nir_const_value *dest,
Dnir_lower_idiv.c47 nir_op op = alu->op; in convert_instr()
176 emit_idiv(nir_builder *bld, nir_ssa_def *numer, nir_ssa_def *denom, nir_op op) in emit_idiv()
209 nir_op op = alu->op; in convert_instr_precise()
Dnir_lower_bool_to_bitsize.c68 nir_op convert_op = get_bool_convert_opcode(bit_size); in make_sources_canonical()
149 nir_op opcode = alu->op; in lower_alu_instr()
377 nir_op convert_op = get_bool_convert_opcode(dst_bit_size); in lower_phi_instr()
Dnir_conversion_builder.h65 nir_op low_conv = nir_type_conversion_op(nir_type_float | src_bit_size, in nir_round_float_to_float()
68 nir_op high_conv = nir_type_conversion_op(nir_type_float | dest_bit_size, in nir_round_float_to_float()
448 nir_op op = nir_type_conversion_op(src_type, dest_type, round); in nir_convert_with_rounding()
474 nir_op op = nir_type_conversion_op(src_type, dest_type, round); in nir_convert_with_rounding()
Dnir_opt_uniform_atomics.c42 static nir_op
181 reduce_data(nir_builder *b, nir_op op, nir_ssa_def *data, in reduce_data()
210 nir_op op = parse_atomic_op(intrin->intrinsic, &offset_src, &data_src); in optimize_atomic()
Dnir_search.c113 nir_op_matches_search_op(nir_op nop, uint16_t sop) in nir_op_matches_search_op()
158 nir_search_op_for_nir_op(nir_op nop) in nir_search_op_for_nir_op()
200 static nir_op
476 nir_op op = nir_op_for_search_op(expr->opcode, dst_bit_size); in construct_value()
815 nir_op op = alu->op; in nir_algebraic_automaton()
Dnir_search.h132 uint16_t nir_search_op_for_nir_op(nir_op op);
Dnir_lower_alu.c141nir_op upcast_op = nir_type_conversion_op(base_type | src0->bit_size, base_type | 32, nir_rounding… in lower_alu_instr()
142nir_op downscast_op = nir_type_conversion_op(base_type | 32, base_type | src0->bit_size, nir_round… in lower_alu_instr()
Dnir_lower_alu_to_scalar.c65 lower_reduction(nir_alu_instr *alu, nir_op chan_op, nir_op merge_op, in lower_reduction()
Dnir_lower_phis_to_scalar.c215 nir_op vec_op = nir_op_vec(phi->dest.ssa.num_components); in lower_phis_to_scalar_block()
/external/mesa3d/src/panfrost/util/
Dnir_mod_helpers.c40 pan_has_source_mod(nir_alu_src *src, nir_op op) in pan_has_source_mod()
82 pan_has_dest_mod(nir_dest **odest, nir_op op) in pan_has_dest_mod()
Dpan_ir.h233 bool pan_has_source_mod(nir_alu_src *src, nir_op op);
234 bool pan_has_dest_mod(nir_dest **dest, nir_op op);
/external/mesa3d/src/compiler/spirv/
Dvtn_subgroup.c28 nir_intrinsic_op nir_op, in vtn_build_subgroup_instr() argument
47 vtn_build_subgroup_instr(b, nir_op, src0->elems[i], index, in vtn_build_subgroup_instr()
54 nir_intrinsic_instr_create(b->nb.shader, nir_op); in vtn_build_subgroup_instr()
405 nir_op reduction_op; in vtn_handle_subgroup()
Dvtn_alu.c255 nir_op
604 nir_op op = vtn_nir_alu_op_for_spirv_opcode(b, opcode, &swap, in vtn_handle_alu()
639 nir_op op = vtn_nir_alu_op_for_spirv_opcode(b, opcode, &swap, &exact, in vtn_handle_alu()
685 nir_op op = nir_type_conversion_op(src_type, dst_type, in vtn_handle_alu()
698 nir_op op = nir_type_conversion_op(src_type, dst_type, in vtn_handle_alu()
715 nir_op op = vtn_nir_alu_op_for_spirv_opcode(b, opcode, &swap, &exact, in vtn_handle_alu()
767 nir_op op = vtn_nir_alu_op_for_spirv_opcode(b, opcode, &swap, in vtn_handle_alu()
Dvtn_glsl450.c243 static nir_op
436 nir_op conversion_op = in handle_glsl450_alu()
552 nir_op op = vtn_nir_alu_op_for_spirv_glsl_opcode(b, entrypoint, execution_mode, &exact); in handle_glsl450_alu()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c939 ttn_alu(nir_builder *b, nir_op op, nir_alu_dest dest, unsigned dest_bitsize, in ttn_alu()
960 ttn_arl(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_arl()
972 ttn_exp(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_exp()
991 ttn_log(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_log()
1011 ttn_dst(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_dst()
1026 ttn_lit(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_lit()
1053 ttn_sle(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_sle()
1059 ttn_sgt(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_sgt()
1065 ttn_dp2(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_dp2()
1071 ttn_dp3(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_dp3()
[all …]
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.h495 LLVMValueRef ac_build_inclusive_scan(struct ac_llvm_context *ctx, LLVMValueRef src, nir_op op);
497 LLVMValueRef ac_build_exclusive_scan(struct ac_llvm_context *ctx, LLVMValueRef src, nir_op op);
499 LLVMValueRef ac_build_reduce(struct ac_llvm_context *ctx, LLVMValueRef src, nir_op op,
510 nir_op op;
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp130 bool isResultFloat(nir_op);
131 bool isResultSigned(nir_op);
136 DataType getDType(nir_op, uint8_t);
144 operation getOperation(nir_op);
146 operation preOperationNeeded(nir_op);
149 int getSubOp(nir_op);
151 CondCode getCondCode(nir_op);
233 Converter::isResultFloat(nir_op op) in isResultFloat()
245 Converter::isResultSigned(nir_op op) in isResultSigned()
300 Converter::getDType(nir_op op, uint8_t bitSize) in getDType()
[all …]
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c1192 #define UNOP(nir_op, spirv_op) \ in emit_alu() argument
1193 case nir_op: \ in emit_alu()
1234 #define BUILTIN_UNOP(nir_op, spirv_op) \ in emit_alu() argument
1235 case nir_op: \ in emit_alu()
1280 #define BINOP(nir_op, spirv_op) \ in emit_alu() argument
1281 case nir_op: \ in emit_alu()
1311 #define BINOP_LOG(nir_op, spv_op, spv_log_op) \ in emit_alu() argument
1312 case nir_op: \ in emit_alu()
1326 #define BUILTIN_BINOP(nir_op, spirv_op) \ in emit_alu() argument
1327 case nir_op: \ in emit_alu()

123