Lines Matching refs:impl
34 nir_metadata_require(nir_function_impl *impl, nir_metadata required, ...) in nir_metadata_require() argument
36 #define NEEDS_UPDATE(X) ((required & ~impl->valid_metadata) & (X)) in nir_metadata_require()
39 nir_index_blocks(impl); in nir_metadata_require()
41 nir_index_instrs(impl); in nir_metadata_require()
43 nir_calc_dominance_impl(impl); in nir_metadata_require()
45 nir_live_ssa_defs_impl(impl); in nir_metadata_require()
49 nir_loop_analyze_impl(impl, va_arg(ap, nir_variable_mode)); in nir_metadata_require()
55 impl->valid_metadata |= required; in nir_metadata_require()
59 nir_metadata_preserve(nir_function_impl *impl, nir_metadata preserved) in nir_metadata_preserve() argument
61 impl->valid_metadata &= preserved; in nir_metadata_preserve()
68 if (function->impl) in nir_shader_preserve_all_metadata()
69 nir_metadata_preserve(function->impl, nir_metadata_all); in nir_shader_preserve_all_metadata()
84 if (function->impl) { in nir_metadata_set_validation_flag()
85 function->impl->valid_metadata |= nir_metadata_not_properly_reset; in nir_metadata_set_validation_flag()
101 if (function->impl) { in nir_metadata_check_validation_flag()
102 assert(!(function->impl->valid_metadata & in nir_metadata_check_validation_flag()