Home
last modified time | relevance | path

Searched refs:indirect (Results 1 – 25 of 737) sorted by relevance

12345678910>>...30

/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c40 unsigned *array_elements, nir_ssa_def **indirect, in calc_sampler_offsets() argument
53 indirect, b, location); in calc_sampler_offsets()
59 nir_ssa_for_src(b, deref_array->indirect, 1)); in calc_sampler_offsets()
61 nir_instr_rewrite_src(&instr->instr, &deref_array->indirect, in calc_sampler_offsets()
64 if (*indirect) { in calc_sampler_offsets()
65 *indirect = nir_iadd(b, *indirect, mul); in calc_sampler_offsets()
67 *indirect = mul; in calc_sampler_offsets()
79 indirect, b, location); in calc_sampler_offsets()
102 nir_ssa_def *indirect = NULL; in lower_sampler() local
106 &indirect, b, &location); in lower_sampler()
[all …]
Dnir_lower_locals_to_regs.c134 src.reg.indirect = NULL; in get_deref_reg_src()
157 if (src.reg.indirect) { in get_deref_reg_src()
164 mul->src[0].src = *src.reg.indirect; in get_deref_reg_src()
171 src.reg.indirect->is_ssa = true; in get_deref_reg_src()
172 src.reg.indirect->ssa = &mul->dest.dest.ssa; in get_deref_reg_src()
176 if (src.reg.indirect == NULL) { in get_deref_reg_src()
177 src.reg.indirect = ralloc(state->shader, nir_src); in get_deref_reg_src()
178 nir_src_copy(src.reg.indirect, &deref_array->indirect, in get_deref_reg_src()
183 add->src[0].src = *src.reg.indirect; in get_deref_reg_src()
184 nir_src_copy(&add->src[1].src, &deref_array->indirect, add); in get_deref_reg_src()
[all …]
Dnir_opt_constant_folding.c129 arr->indirect.is_ssa && in constant_fold_deref()
130 arr->indirect.ssa->parent_instr->type == nir_instr_type_load_const) { in constant_fold_deref()
131 nir_load_const_instr *indirect = in constant_fold_deref() local
132 nir_instr_as_load_const(arr->indirect.ssa->parent_instr); in constant_fold_deref()
134 arr->base_offset += indirect->value.u32[0]; in constant_fold_deref()
137 nir_instr_rewrite_src(instr, &arr->indirect, nir_src_for_ssa(NULL)); in constant_fold_deref()
Dnir_opt_copy_propagate.c105 if (src->reg.indirect) in copy_prop_src()
106 return copy_prop_src(src->reg.indirect, parent_instr, parent_if); in copy_prop_src()
147 if (src->src.reg.indirect) in copy_prop_alu_src()
148 return copy_prop_src(src->src.reg.indirect, &parent_alu_instr->instr, in copy_prop_alu_src()
222 if (!alu_instr->dest.dest.is_ssa && alu_instr->dest.dest.reg.indirect) in copy_prop_instr()
223 while (copy_prop_src(alu_instr->dest.dest.reg.indirect, instr, NULL)) in copy_prop_instr()
Dnir.c215 if (src->reg.indirect) { in nir_src_copy()
216 dest->reg.indirect = ralloc(mem_ctx, nir_src); in nir_src_copy()
217 nir_src_copy(dest->reg.indirect, src->reg.indirect, mem_ctx); in nir_src_copy()
219 dest->reg.indirect = NULL; in nir_src_copy()
233 if (src->reg.indirect) { in nir_dest_copy()
234 dest->reg.indirect = ralloc(instr, nir_src); in nir_dest_copy()
235 nir_src_copy(dest->reg.indirect, src->reg.indirect, instr); in nir_dest_copy()
237 dest->reg.indirect = NULL; in nir_dest_copy()
368 src->reg.indirect = NULL; in src_init()
424 dest->reg.indirect = NULL; in dest_init()
[all …]
Dnir_sweep.c46 if (!src->is_ssa && src->reg.indirect) in sweep_src_indirect()
47 ralloc_steal(nir, src->reg.indirect); in sweep_src_indirect()
55 if (!dest->is_ssa && dest->reg.indirect) in sweep_dest_indirect()
56 ralloc_steal(nir, dest->reg.indirect); in sweep_dest_indirect()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dtoy_compiler_reg.h123 unsigned indirect:1; /* true or false */ member
139 unsigned indirect:1; /* true or false */ member
230 assert(!dst.indirect); in tdst_validate()
235 if (!dst.indirect) in tdst_validate()
240 assert(!dst.indirect); in tdst_validate()
347 bool indirect, unsigned indirect_subreg, in tdst_full() argument
355 dst.indirect = indirect; in tdst_full()
375 .indirect = false, in tdst_null()
398 src.indirect, src.indirect_subreg, writemask, src.val32); in tdst_from()
471 assert(!src.indirect); in tsrc_validate()
[all …]
Dtoy_compiler_asm.c44 bool indirect; member
56 bool indirect; member
472 if (src->indirect) { in translate_src_gen6()
574 const bool indirect_origin_bit9 = (cg->dst.indirect) ? in translate_src_gen6()
623 if (dst->indirect) { in translate_dst_region_gen6()
714 const bool indirect_origin_bit9 = (cg->dst.indirect) ? in translate_dst_gen8()
834 assert(!dst->indirect); in codegen_inst_3src_gen6()
869 assert(!src->indirect); in codegen_inst_3src_gen6()
1045 cg->dst.indirect = inst->dst.indirect; in codegen_prepare()
1085 src->indirect = inst->src[i].indirect; in codegen_prepare()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_compute.c40 struct pipe_resource *indirect, in st_dispatch_compute_common() argument
64 if (indirect) { in st_dispatch_compute_common()
65 info.indirect = indirect; in st_dispatch_compute_common()
82 struct pipe_resource *indirect = st_buffer_object(indirect_buffer)->buffer; in st_dispatch_compute_indirect() local
84 st_dispatch_compute_common(ctx, NULL, NULL, indirect, indirect_offset); in st_dispatch_compute_indirect()
/external/mesa3d/src/mesa/main/
Dapi_validate.h88 const GLvoid *indirect);
94 const GLvoid *indirect);
99 const GLvoid *indirect,
107 const GLvoid *indirect,
114 GLintptr indirect,
122 GLintptr indirect,
133 GLintptr indirect);
Dapi_validate.c969 GLenum mode, const GLvoid *indirect, in valid_draw_indirect() argument
972 const uint64_t end = (uint64_t) (uintptr_t) indirect + size; in valid_draw_indirect()
1031 if ((GLsizeiptr)indirect & (sizeof(GLuint) - 1)) { in valid_draw_indirect()
1067 GLenum mode, GLenum type, const GLvoid *indirect, in valid_draw_indirect_elements() argument
1085 return valid_draw_indirect(ctx, mode, indirect, size, name); in valid_draw_indirect_elements()
1122 const GLvoid *indirect) in _mesa_validate_DrawArraysIndirect() argument
1129 indirect, drawArraysNumParams * sizeof(GLuint), in _mesa_validate_DrawArraysIndirect()
1136 const GLvoid *indirect) in _mesa_validate_DrawElementsIndirect() argument
1143 indirect, drawElementsNumParams * sizeof(GLuint), in _mesa_validate_DrawElementsIndirect()
1150 const GLvoid *indirect, in _mesa_validate_MultiDrawArraysIndirect() argument
[all …]
Dcompute.c51 _mesa_DispatchComputeIndirect(GLintptr indirect) in _mesa_DispatchComputeIndirect() argument
56 _mesa_debug(ctx, "glDispatchComputeIndirect(%ld)\n", (long) indirect); in _mesa_DispatchComputeIndirect()
58 if (!_mesa_validate_DispatchComputeIndirect(ctx, indirect)) in _mesa_DispatchComputeIndirect()
61 ctx->Driver.DispatchComputeIndirect(ctx, indirect); in _mesa_DispatchComputeIndirect()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c1376 GLenum mode, const GLvoid *indirect) in vbo_validated_drawarraysindirect() argument
1383 ctx->DrawIndirectBuffer, (GLsizeiptr) indirect, in vbo_validated_drawarraysindirect()
1395 const GLvoid *indirect, in vbo_validated_multidrawarraysindirect() argument
1399 GLsizeiptr offset = (GLsizeiptr) indirect; in vbo_validated_multidrawarraysindirect()
1417 const GLvoid *indirect) in vbo_validated_drawelementsindirect() argument
1430 ctx->DrawIndirectBuffer, (GLsizeiptr) indirect, in vbo_validated_drawelementsindirect()
1442 const GLvoid *indirect, in vbo_validated_multidrawelementsindirect() argument
1447 GLsizeiptr offset = (GLsizeiptr) indirect; in vbo_validated_multidrawelementsindirect()
1475 vbo_exec_DrawArraysIndirect(GLenum mode, const GLvoid *indirect) in vbo_exec_DrawArraysIndirect() argument
1481 _mesa_enum_to_string(mode), indirect); in vbo_exec_DrawArraysIndirect()
[all …]
Dvbo_primitive_restart.c167 struct gl_buffer_object *indirect) in vbo_sw_primitive_restart() argument
186 if (indirect && prims[0].is_indirect) { in vbo_sw_primitive_restart()
188 if (!ctx->Driver.MapBufferRange(ctx, 0, indirect->Size, GL_MAP_READ_BIT, in vbo_sw_primitive_restart()
189 indirect, MAP_INTERNAL)) { in vbo_sw_primitive_restart()
200 ADD_POINTERS(indirect->Mappings[MAP_INTERNAL].Pointer, in vbo_sw_primitive_restart()
216 ctx->Driver.UnmapBuffer(ctx, indirect, MAP_INTERNAL); in vbo_sw_primitive_restart()
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFFormValue.cpp84 bool indirect = false; in extractValue() local
90 indirect = false; in extractValue()
148 indirect = true; in extractValue()
153 } while (indirect); in extractValue()
176 bool indirect = false; in skipValue() local
178 indirect = false; in skipValue()
249 indirect = true; in skipValue()
255 } while (indirect); in skipValue()
/external/swiftshader/third_party/subzero/tests_lit/parse_errs/
Dindirect-call-on-float.test1 ; Tests that we check the call address is a pointer on an indirect call.
6 ; RUN: %p/Inputs/indirect-call-on-float.tbc \
10 ; CHECK: Call indirect address not i32. Found: float
13 ; RUN: %p/Inputs/indirect-call-on-float.tbc -output - \
/external/valgrind/memcheck/tests/
Dleak-cycle.stderr.exp5 48 (16 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record ... of ...
11 48 (16 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record ... of ...
17 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record ... of ...
23 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record ... of ...
/external/mesa3d/src/glx/apple/
DRELEASE_NOTES62 The X server supports indirect fairly well, so OpenGL applications
66 AppleSGLX does not support indirect rendering. Any indirect context
67 created will appear to glXIsDirect as an indirect context, but it
68 does not actually support indirect rendering to a remote X server.
70 AppleSGLX supports GLXPixmaps and GLXPbuffers with direct and indirect
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_sched.c250 struct ir3_instruction *indirect = ir->indirects[i]; in check_instr() local
251 if (!indirect) in check_instr()
253 if (indirect->address != instr) in check_instr()
255 ready = could_sched(indirect, instr); in check_instr()
418 struct ir3_instruction *indirect = ir->indirects[i]; in split_addr() local
420 if (!indirect) in split_addr()
424 if (is_scheduled(indirect)) in split_addr()
430 if (indirect->address == ctx->addr) { in split_addr()
436 ir3_instr_set_address(indirect, new_addr); in split_addr()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c115 boolean indirect = FALSE; in analyse_tex() local
145 indirect = TRUE; in analyse_tex()
150 indirect = TRUE; in analyse_tex()
159 indirect = TRUE; in analyse_tex()
177 indirect = TRUE; in analyse_tex()
184 if (indirect) { in analyse_tex()
212 boolean indirect = FALSE; in analyse_sample() local
254 indirect = TRUE; in analyse_sample()
262 indirect = TRUE; in analyse_sample()
269 if (indirect) { in analyse_sample()
/external/e2fsprogs/tests/f_itable_collision/
Dexpect.118 Illegal indirect block (4294967295) in inode 14. CLEARED.
20 Illegal indirect block (4294967295) in inode 14. CLEARED.
22 Illegal indirect block (4294967295) in inode 14. CLEARED.
24 Illegal indirect block (4294967295) in inode 14. CLEARED.
26 Illegal indirect block (4294967295) in inode 14. CLEARED.
28 Illegal indirect block (4294967295) in inode 14. CLEARED.
30 Illegal indirect block (4294967295) in inode 14. CLEARED.
/external/swiftshader/third_party/LLVM/test/Transforms/IPConstantProp/
Ddangling-block-address.ll34 …%indirect.goto.dest.in = getelementptr inbounds [2 x i8*]* @bar.l, i32 0, i32 %tmp1.pn ; <i8**> [#…
35 %indirect.goto.dest = load i8** %indirect.goto.dest.in ; <i8*> [#uses=1]
36 indirectbr i8* %indirect.goto.dest, [label %lab0, label %end]
/external/llvm/test/Transforms/IPConstantProp/
Ddangling-block-address.ll34 …%indirect.goto.dest.in = getelementptr inbounds [2 x i8*], [2 x i8*]* @bar.l, i32 0, i32 %tmp1.pn …
35 %indirect.goto.dest = load i8*, i8** %indirect.goto.dest.in ; <i8*> [#uses=1]
36 indirectbr i8* %indirect.goto.dest, [label %lab0, label %end]
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderDrawParametersTests.cpp425 const SDPDrawArraysIndirectCommand indirect[] = { in initChild() local
436 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 1 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STAT… in initChild()
470 const SDPDrawElementsIndirectCommand indirect[] = { in initChild() local
481 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 1 * sizeof(SDPDrawElementsIndirectCommand), indirect, GL_ST… in initChild()
629 const SDPDrawArraysIndirectCommand indirect[] = { in initChild() local
640 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STAT… in initChild()
682 const SDPDrawElementsIndirectCommand indirect[] = { in initChild() local
693 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(SDPDrawElementsIndirectCommand), indirect, GL_ST… in initChild()
743 const SDPDrawArraysIndirectCommand indirect[] = { in initChild() local
756 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 4 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STAT… in initChild()
[all …]
/external/llvm/test/CodeGen/ARM/
Dtail-dup.ll33 …%indirect.goto.dest.in = phi i8** [ %arrayidx, %entry ], [ %arrayidx4, %DECREMENT ], [ %arrayidx2,…
35 %indirect.goto.dest = load i8*, i8** %indirect.goto.dest.in, align 4
36 indirectbr i8* %indirect.goto.dest, [label %RETURN, label %INCREMENT, label %DECREMENT]

12345678910>>...30