Lines Matching defs:nir_src

661 struct nir_src;
665 struct nir_src *indirect; /** < NULL for no indirect offset */
676 struct nir_src *indirect; /** < NULL for no indirect offset */
684 typedef struct nir_src {
699 } nir_src;
701 static inline nir_src
704 nir_src src = { { NULL } };
711 list_for_each_entry(nir_src, src, &(reg_or_ssa_def)->uses, use_link)
714 list_for_each_entry_safe(nir_src, src, &(reg_or_ssa_def)->uses, use_link)
717 list_for_each_entry(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link)
720 list_for_each_entry_safe(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link)
746 static inline nir_src
749 nir_src src = NIR_SRC_INIT;
757 static inline nir_src
760 nir_src src = NIR_SRC_INIT;
781 nir_src_bit_size(nir_src src)
787 nir_src_num_components(nir_src src)
793 nir_src_is_const(nir_src src)
799 int64_t nir_src_as_int(nir_src src);
800 uint64_t nir_src_as_uint(nir_src src);
801 bool nir_src_as_bool(nir_src src);
802 double nir_src_as_float(nir_src src);
803 int64_t nir_src_comp_as_int(nir_src src, unsigned component);
804 uint64_t nir_src_comp_as_uint(nir_src src, unsigned component);
805 bool nir_src_comp_as_bool(nir_src src, unsigned component);
806 double nir_src_comp_as_float(nir_src src, unsigned component);
820 void nir_src_copy(nir_src *dest, const nir_src *src, void *instr_or_if);
824 nir_src src;
1134 nir_src parent;
1140 nir_src index;
1156 static inline nir_deref_instr *nir_src_as_deref(nir_src src);
1192 nir_src params[];
1244 nir_src src[];
1565 nir_src src;
1833 nir_src src);
1876 nir_src src;
1894 nir_src src;
2123 nir_src condition;
2802 nir_before_src(nir_src *src, bool is_if_condition)
2961 typedef bool (*nir_foreach_src_cb)(nir_src *src, void *state);
2967 nir_const_value *nir_src_as_const_value(nir_src src);
2971 nir_src_as_ ## name (nir_src src) \
2982 bool nir_src_is_dynamically_uniform(nir_src src);
2983 bool nir_srcs_equal(nir_src src1, nir_src src2);
2985 void nir_instr_rewrite_src(nir_instr *instr, nir_src *src, nir_src new_src);
2986 void nir_instr_move_src(nir_instr *dest_instr, nir_src *dest, nir_src *src);
2987 void nir_if_rewrite_condition(nir_if *if_stmt, nir_src new_src);
3006 void nir_ssa_def_rewrite_uses(nir_ssa_def *def, nir_src new_src);
3007 void nir_ssa_def_rewrite_uses_after(nir_ssa_def *def, nir_src new_src,
3360 nir_src *nir_get_io_offset_src(nir_intrinsic_instr *instr);
3361 nir_src *nir_get_io_vertex_index_src(nir_intrinsic_instr *instr);