Home
last modified time | relevance | path

Searched refs:derefs (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dir_array_refcount.cpp37 : last_array_deref(0), derefs(0), num_derefs(0), derefs_size(0) in ir_array_refcount_visitor()
98 void *ptr = reralloc_size(mem_ctx, derefs, derefs_size + 4096); in get_array_deref()
104 derefs = (array_deref_range *)ptr; in get_array_deref()
107 array_deref_range *d = &derefs[num_derefs]; in get_array_deref()
179 link_util_mark_array_elements_referenced(derefs, num_derefs, in visit_enter()
Dir_array_refcount.h117 array_deref_range *derefs; variable
Dgl_nir_link_uniforms.c388 struct array_deref_range **derefs, unsigned *derefs_size) in add_var_use_deref() argument
415 void *ptr = reralloc_size(NULL, *derefs, *derefs_size + 4096); in add_var_use_deref()
423 *derefs = (struct array_deref_range *)ptr; in add_var_use_deref()
426 struct array_deref_range *dr = &(*derefs)[num_derefs]; in add_var_use_deref()
481 link_util_mark_array_elements_referenced(*derefs, num_derefs, array_depth, in add_var_use_deref()
496 struct array_deref_range *derefs = NULL; in add_var_use_shader() local
537 &derefs, &derefs_size); in add_var_use_shader()
556 add_var_use_deref(deref, live, &derefs, &derefs_size); in add_var_use_shader()
562 add_var_use_deref(deref, live, &derefs, &derefs_size); in add_var_use_shader()
570 ralloc_free(derefs); in add_var_use_shader()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dreflection.cpp97 TList<TIntermBinary*> derefs; in addUniform() local
98 … blowUpActiveAggregate(base.getType(), base.getName(), derefs, derefs.end(), -1, -1, 0, 0, in addUniform()
234 …ctiveAggregate(const TType& baseType, const TString& baseName, const TList<TIntermBinary*>& derefs, in blowUpActiveAggregate() argument
251 for (; deref != derefs.end(); ++deref) { in blowUpActiveAggregate()
271 …blowUpActiveAggregate(*terminalType, newBaseName, derefs, nextDeref, offset, blockIndex, arraySize, in blowUpActiveAggregate()
342 … blowUpActiveAggregate(derefType, newBaseName, derefs, derefs.end(), offset, blockIndex, 0, in blowUpActiveAggregate()
372 … blowUpActiveAggregate(derefType, newBaseName, derefs, derefs.end(), offset, blockIndex, 0, in blowUpActiveAggregate()
554 TList<TIntermBinary*> derefs; in addDereferencedUniform() local
585 … blowUpActiveAggregate(TType(derefType, 0), name, derefs, derefs.end(), memberOffsets[i], in addDereferencedUniform()
589 … blowUpActiveAggregate(derefType, name, derefs, derefs.end(), memberOffsets[i], blockIndex, in addDereferencedUniform()
[all …]
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
Dreflection.cpp97 TList<TIntermBinary*> derefs; in addUniform() local
98 … blowUpActiveAggregate(base.getType(), base.getName(), derefs, derefs.end(), -1, -1, 0, 0, in addUniform()
234 …ctiveAggregate(const TType& baseType, const TString& baseName, const TList<TIntermBinary*>& derefs, in blowUpActiveAggregate() argument
251 for (; deref != derefs.end(); ++deref) { in blowUpActiveAggregate()
271 …blowUpActiveAggregate(*terminalType, newBaseName, derefs, nextDeref, offset, blockIndex, arraySize, in blowUpActiveAggregate()
342 … blowUpActiveAggregate(derefType, newBaseName, derefs, derefs.end(), offset, blockIndex, 0, in blowUpActiveAggregate()
372 … blowUpActiveAggregate(derefType, newBaseName, derefs, derefs.end(), offset, blockIndex, 0, in blowUpActiveAggregate()
554 TList<TIntermBinary*> derefs; in addDereferencedUniform() local
585 … blowUpActiveAggregate(TType(derefType, 0), name, derefs, derefs.end(), memberOffsets[i], in addDereferencedUniform()
589 … blowUpActiveAggregate(derefType, name, derefs, derefs.end(), memberOffsets[i], blockIndex, in addDereferencedUniform()
[all …]
/external/mesa3d/src/gallium/frontends/clover/util/
Drange.hpp406 class ref_vector : public adaptor_range<derefs, std::vector<T *>> {
409 adaptor_range<derefs, std::vector<T *>>(derefs(), map(addresses(), il)) { in ref_vector()
413 ref_vector(R &&r) : adaptor_range<derefs, std::vector<T *>>( in ref_vector()
414 derefs(), map(addresses(), std::forward<R>(r))) { in ref_vector()
Dadaptor.hpp62 return tuple::apply(f, tuple::map(derefs(), its)); in operator *()
Dfunctional.hpp213 struct derefs { struct
/external/mesa3d/src/compiler/nir/
Dnir_opt_copy_prop_vars.c60 struct hash_table *derefs; member
128 written->derefs = _mesa_pointer_hash_table_create(state->mem_ctx); in create_vars_written()
196 _mesa_hash_table_search(written->derefs, payload); in gather_vars_written()
200 _mesa_hash_table_insert(written->derefs, payload, in gather_vars_written()
243 struct hash_entry *ht_entry = _mesa_hash_table_search(written->derefs, dst); in gather_vars_written()
247 _mesa_hash_table_insert(written->derefs, dst, (void *)mask); in gather_vars_written()
293 hash_table_foreach(new_written->derefs, new_entry) { in gather_vars_written()
295 _mesa_hash_table_search_pre_hashed(written->derefs, new_entry->hash, in gather_vars_written()
302 _mesa_hash_table_insert_pre_hashed(written->derefs, new_entry->hash, in gather_vars_written()
749 hash_table_foreach (written->derefs, entry) { in invalidate_copies_for_cf_node()
/external/mesa3d/src/gallium/frontends/clover/core/
Dkernel.hpp112 derefs, std::vector<std::unique_ptr<argument>> &
116 derefs, const std::vector<std::unique_ptr<argument>> &
Dkernel.cpp152 return map(derefs(), _args); in args()
157 return map(derefs(), _args); in args()
/external/mesa3d/docs/relnotes/
D18.2.1.rst127 - nir: Add a small pass to rematerialize derefs per-block
128 - nir/loop_unroll: Re-materialize derefs in use blocks before unrolling
129 - nir/opt_if: Re-materialize derefs in use blocks before peeling loops
D20.1.5.rst87 - nir/deref: Don't try to compare derefs containing casts
D18.2.3.rst92 - nir/from_ssa: Don't rewrite derefs destinations to registers
D18.1.3.rst104 - nir/validate: Use the type from the tail of call parameter derefs
D19.0.0.rst384 - amd/common: Fix stores to derefs with unknown variable.
485 - nir: handle shared pointers in lowering indirect derefs.
488 - ac: handle cast derefs
725 - v3d: Convert to using nir_src_as_uint() from const_value derefs.
1247 - nir/derefs: Add a nir_derefs_do_not_alias enum value
1296 - nir/linking_helpers: Look at derefs for modes
1297 - nir/lower_io_arrays_to_elements: Look at derefs for modes
1298 - nir/lower_io_to_scalar: Look at derefs for modes
1299 - nir/lower_wpos_center: Look at derefs for modes
1300 - nir/copy_prop_vars: Get modes directly from derefs
[all …]
D17.3.7.rst90 - radv: Always lower indirect derefs after
D19.1.0.rst697 - amd/common: Fix stores to derefs with unknown variable.
891 - nir: nir_build_deref_follower accept array derefs of vectors
899 - nir/copy_prop_vars: prefer using entries from equal derefs
1205 - nir: fix bit_size in lower indirect derefs.
2080 - nir/deref: Drop zero ptr_as_array derefs
2170 - nir/deref: Consider COHERENT decorated var derefs as aliasing
2173 - glsl: Don't lower vector derefs for SSBOs, UBOs, and shared
2468 - nir/validate: validate that tex deref sources are actually derefs
2526 - st/nir: Lower sampler derefs for builtin shaders.
2527 - st/nir: Use sampler derefs in built-in shaders.
[all …]
D19.2.0.rst259 - nir: Handle complex derefs in nir_split_array_vars
D7.9.1.rst283 - ir_to_mesa: Don't generate swizzles for record derefs of
D20.3.0.rst346 - v3dv/pipeline: use derefs for ubo/ssbo
2626 - nir/find_array_copies: Handle cast derefs
2627 - nir/large_constants: Handle incomplete derefs
2665 - nir/lower_explicit_io: Assert that compute address sizes match derefs
2692 - nir: Add alignment information to cast derefs
2695 - nir/lower_io: Apply alignments from derefs when available
2706 - anv: Set alignments on UBO/SSBO root derefs
2735 - spirv: Use derefs for push constants
2830 - nir: Handle incomplete derefs in split_struct_vars
4357 - ac/nir: remove dead global load/store/atomic derefs code
D19.3.0.rst1324 - nir: support derefs in two-sided lighting lowering
1767 - nir: Handle complex derefs in nir_split_array_vars
2833 - nir/lower_non_uniform: lower image/texture instructions taking derefs
D20.0.0.rst1972 - Revert "nir: assert that nir_lower_tex runs after lowering derefs"
2970 - nir: assert that nir_lower_tex runs after lowering derefs
/external/mesa3d/src/gallium/frontends/clover/api/
Dprogram.cpp354 return map(derefs(), devs); in validate_link_devices()
/external/mesa3d/docs/gallium/
Dscreen.rst432 reference texture and sampler as NIR derefs instead of by indices.
592 …EREF``: Whether NIR atomics instructions should reference atomics as NIR derefs instead of by indi…

12