Lines Matching defs:nir_src
841 struct nir_src;
845 struct nir_src *indirect; /** < NULL for no indirect offset */
856 struct nir_src *indirect; /** < NULL for no indirect offset */
864 typedef struct nir_src {
879 } nir_src;
881 static inline nir_src
884 nir_src src = { { NULL } };
891 list_for_each_entry(nir_src, src, &(reg_or_ssa_def)->uses, use_link)
894 list_for_each_entry_safe(nir_src, src, &(reg_or_ssa_def)->uses, use_link)
897 list_for_each_entry(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link)
900 list_for_each_entry_safe(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link)
926 static inline nir_src
929 nir_src src = NIR_SRC_INIT;
937 static inline nir_src
940 nir_src src = NIR_SRC_INIT;
961 nir_src_bit_size(nir_src src)
967 nir_src_num_components(nir_src src)
973 nir_src_is_const(nir_src src)
980 nir_src_is_undef(nir_src src)
987 nir_src_is_divergent(nir_src src)
1030 void nir_src_copy(nir_src *dest, const nir_src *src);
1035 nir_src src;
1570 nir_src parent;
1576 nir_src index;
1692 static inline nir_deref_instr *nir_src_as_deref(nir_src src);
1730 nir_src params[];
1782 nir_src src[];
2159 nir_src src;
2549 nir_src src);
2616 nir_src condition;
2634 nir_src src;
2664 nir_src src;
2707 nir_src_comp_as_##suffix(nir_src src, unsigned comp) \
2718 nir_src_as_##suffix(nir_src src) \
2829 nir_src indices[4];
2833 nir_binding nir_chase_binding(nir_src rsrc);
3006 nir_src condition;
3048 nir_src *init_src;
3972 nir_phi_src *nir_phi_instr_add_src(nir_phi_instr *instr, nir_block *pred, nir_src src);
4078 nir_before_src(nir_src *src, bool is_if_condition)
4254 typedef bool (*nir_foreach_src_cb)(nir_src *src, void *state);
4263 nir_const_value *nir_src_as_const_value(nir_src src);
4267 nir_src_as_ ## name (nir_src src) \
4278 bool nir_src_is_dynamically_uniform(nir_src src);
4279 bool nir_srcs_equal(nir_src src1, nir_src src2);
4284 nir_src *src, nir_ssa_def *new_ssa)
4293 void nir_instr_rewrite_src(nir_instr *instr, nir_src *src, nir_src new_src);
4294 void nir_instr_move_src(nir_instr *dest_instr, nir_src *dest, nir_src *src);
4298 nir_src *src, nir_ssa_def *new_ssa)
4307 void nir_if_rewrite_condition(nir_if *if_stmt, nir_src new_src);
4326 void nir_ssa_def_rewrite_uses_src(nir_ssa_def *def, nir_src new_src);
4330 nir_component_mask_t nir_src_components_read(const nir_src *src);
4952 nir_src *nir_get_io_offset_src(nir_intrinsic_instr *instr);
4953 nir_src *nir_get_io_vertex_index_src(nir_intrinsic_instr *instr);
4954 nir_src *nir_get_shader_call_payload_src(nir_intrinsic_instr *call);
5272 /* Given the nir_src used for the resource, return the channels which might be non-uniform. */
5273 typedef nir_component_mask_t (*nir_lower_non_uniform_access_callback)(const nir_src *, void *);