Home
last modified time | relevance | path

Searched refs:loop_index (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_multiview.c299 nir_ssa_def *loop_index = nir_load_deref(&b, loop_index_deref); in nir_lower_multiview() local
300 nir_ssa_def *cmp = nir_ige(&b, loop_index, nir_imm_int(&b, view_count)); in nir_lower_multiview()
306 nir_load_deref(&b, nir_build_deref_array(&b, view_index_deref, loop_index)); in nir_lower_multiview()
308 nir_build_deref_array(&b, nir_build_deref_var(&b, pos_var), loop_index); in nir_lower_multiview()
310 nir_store_deref(&b, loop_index_deref, nir_iadd_imm(&b, loop_index, 1), 1); in nir_lower_multiview()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_gs_variant.cpp157 nir_ssa_def *loop_index; member
282 emit_ctx->loop_index = nir_load_deref(b, emit_ctx->loop_index_deref); in d3d12_begin_emit_primitives_gs()
283 nir_ssa_def *cmp = nir_ige(b, emit_ctx->loop_index, in d3d12_begin_emit_primitives_gs()
291 …oad_deref(b, nir_build_deref_array(b, nir_build_deref_var(b, edgeflag_var), emit_ctx->loop_index)); in d3d12_begin_emit_primitives_gs()
300 nir_ssa_def *is_edge = nir_ine(b, emit_ctx->loop_index, diagonal_vertex); in d3d12_begin_emit_primitives_gs()
321 nir_store_deref(b, emit_ctx->loop_index_deref, nir_iadd_imm(b, emit_ctx->loop_index, 1), 1); in d3d12_finish_emit_primitives_gs()
358 nir_imm_int(b, (key->flatshade_first ? 0 : 2)) : emit_ctx.loop_index; in d3d12_emit_points()
386 … nir_ssa_def *next_index = nir_imod(b, nir_iadd_imm(b, emit_ctx.loop_index, 1), nir_imm_int(b, 3)); in d3d12_emit_lines()
391 nir_imm_int(b, (key->flatshade_first ? 0 : 2)) : emit_ctx.loop_index; in d3d12_emit_lines()
403 index = nir_bcsel(b, emit_ctx.edgeflag_cmp, next_index, emit_ctx.loop_index); in d3d12_emit_lines()
[all …]
/third_party/node/deps/uv/src/win/
Dcore.c122 int loop_index; in uv__loops_remove() local
128 for (loop_index = 0; loop_index < uv__loops_size; ++loop_index) { in uv__loops_remove()
129 if (uv__loops[loop_index] == loop) in uv__loops_remove()
133 if (loop_index == uv__loops_size) in uv__loops_remove()
136 uv__loops[loop_index] = uv__loops[uv__loops_size - 1]; in uv__loops_remove()
/third_party/libuv/src/win/
Dcore.c122 int loop_index; in uv__loops_remove() local
128 for (loop_index = 0; loop_index < uv__loops_size; ++loop_index) { in uv__loops_remove()
129 if (uv__loops[loop_index] == loop) in uv__loops_remove()
133 if (loop_index == uv__loops_size) in uv__loops_remove()
136 uv__loops[loop_index] = uv__loops[uv__loops_size - 1]; in uv__loops_remove()
/third_party/spirv-tools/source/opt/
Dloop_dependence_helpers.cpp235 for (size_t loop_index = 0; loop_index < loops_.size(); ++loop_index) { in GetDistanceEntryForLoop() local
236 if (loop == loops_[loop_index]) { in GetDistanceEntryForLoop()
237 distance_entry = &(distance_vector->GetEntries()[loop_index]); in GetDistanceEntryForLoop()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_dependence_helpers.cpp235 for (size_t loop_index = 0; loop_index < loops_.size(); ++loop_index) { in GetDistanceEntryForLoop() local
236 if (loop == loops_[loop_index]) { in GetDistanceEntryForLoop()
237 distance_entry = &(distance_vector->GetEntries()[loop_index]); in GetDistanceEntryForLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_dependence_helpers.cpp235 for (size_t loop_index = 0; loop_index < loops_.size(); ++loop_index) { in GetDistanceEntryForLoop() local
236 if (loop == loops_[loop_index]) { in GetDistanceEntryForLoop()
237 distance_entry = &(distance_vector->GetEntries()[loop_index]); in GetDistanceEntryForLoop()
/third_party/skia/resources/sksl/runtime_errors/
DIllegalIndexing.rts6 void loop_index() { int a[2]; for (int i = 0; i < 2; ++i) { a[i] = i; } }
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_soa.c1268 …LLVMValueRef loop_index = LLVMBuildAdd(builder, loop_offset, lp_build_const_int32(gallivm, c), ""); in emit_load_mem() local
1271 … = lp_build_compare(gallivm, lp_elem_type(uint_bld->type), PIPE_FUNC_LESS, loop_index, ssbo_limit); in emit_load_mem()
1281 LLVMValueRef scalar = lp_build_pointer_get(builder, mem_ptr, loop_index); in emit_load_mem()
1373 …LLVMValueRef loop_index = LLVMBuildAdd(builder, loop_offset, lp_build_const_int32(gallivm, c), ""); in emit_store_mem() local
1378 … = lp_build_compare(gallivm, lp_elem_type(uint_bld->type), PIPE_FUNC_LESS, loop_index, ssbo_limit); in emit_store_mem()
1390 lp_build_pointer_set(builder, mem_ptr, loop_index, value_ptr); in emit_store_mem()
2560 …LLVMValueRef loop_index = lp_build_add(uint_bld, offset, lp_build_const_int_vec(gallivm, uint_bld-… in emit_load_scratch() local
2569 loop_index = LLVMBuildExtractElement(gallivm->builder, loop_index, in emit_load_scratch()
2577 scalar = lp_build_pointer_get(builder, ptr2, loop_index); in emit_load_scratch()
2617 …LLVMValueRef loop_index = lp_build_add(uint_bld, offset, lp_build_const_int_vec(gallivm, uint_bld-… in emit_store_scratch() local
[all …]
Dlp_bld_tgsi_soa.c3520 …LLVMValueRef loop_index = lp_build_add(uint_bld, index, lp_build_const_int_vec(gallivm, uint_bld->… in load_emit() local
3524 … LLVMValueRef ssbo_oob_cmp = lp_build_cmp(uint_bld, PIPE_FUNC_LESS, loop_index, ssbo_limit); in load_emit()
3535 loop_index = LLVMBuildExtractElement(gallivm->builder, loop_index, in load_emit()
3542 scalar = lp_build_pointer_get(builder, scalar_ptr, loop_index); in load_emit()
3639 …LLVMValueRef loop_index = lp_build_add(uint_bld, index, lp_build_const_int_vec(gallivm, uint_bld->… in store_emit() local
3645 … LLVMValueRef ssbo_oob_cmp = lp_build_cmp(uint_bld, PIPE_FUNC_LESS, loop_index, ssbo_limit); in store_emit()
3659 loop_index = LLVMBuildExtractElement(gallivm->builder, loop_index, in store_emit()
3666 lp_build_pointer_set(builder, scalar_ptr, loop_index, value_ptr); in store_emit()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c1032 nir_ssa_def *loop_index = nir_load_deref(b, loop_index_deref); in lower_memcpy_deref() local
1033 nir_ssa_def *cmp = nir_ige(b, loop_index, num_bytes); in lower_memcpy_deref()
1037 nir_ssa_def *val = memcpy_load_deref_elem(b, src_deref, loop_index); in lower_memcpy_deref()
1038 memcpy_store_deref_elem(b, dst_deref, loop_index, val); in lower_memcpy_deref()
1039 nir_store_deref(b, loop_index_deref, nir_iadd_imm(b, loop_index, 1), 1); in lower_memcpy_deref()