HomeSort by: relevance | last modified time | path
    Searched defs:call (Results 1 - 25 of 38) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
nir_lower_libclc.c 39 nir_call_instr *call = nir_instr_as_call(instr); local
42 if (!call->callee->name)
46 if (strcmp(function->name, call->callee->name) == 0) {
55 nir_ssa_def **params = rzalloc_array(b->shader, nir_ssa_def*, call->num_params);
57 for (unsigned i = 0; i < call->num_params; i++) {
58 params[i] = nir_ssa_for_src(b, call->params[i],
59 call->callee->params[i].num_components);
62 b->cursor = nir_instr_remove(&call->instr);
vtn_cfg.c 83 nir_call_instr *call,
87 call->params[(*param_idx)++] = nir_src_for_ssa(value->def);
92 call, param_idx);
120 nir_call_instr *call = nir_call_instr_create(b->nb.shader, local
133 call->params[param_idx++] = nir_src_for_ssa(&ret_deref->dest.ssa);
138 call, &param_idx);
140 assert(param_idx == call->num_params);
142 nir_builder_instr_insert(&b->nb, &call->instr);
585 * previous call to vtn_process_block(). We know a priori that
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_inline_helpers.h 120 nir_call_instr *call = nir_instr_as_call(instr); local
121 for (unsigned i = 0; i < call->num_params; i++) {
122 if (!_nir_visit_src(&call->params[i], cb, state))
nir_inline_functions.c 148 nir_call_instr *call = nir_instr_as_call(instr); local
149 assert(call->callee->impl);
152 inline_function_impl(call->callee->impl, inlined);
154 b->cursor = nir_instr_remove(&call->instr);
156 /* Rewrite all of the uses of the callee's parameters to use the call
161 const unsigned num_params = call->num_params;
164 params[i] = nir_ssa_for_src(b, call->params[i],
165 call->callee->params[i].num_components);
168 nir_inline_function_impl(b, call->callee->impl, params, NULL);
233 * contain no call instructions
    [all...]
nir_lower_shader_calls.c 188 * across a shader call.
302 * TODO: If a SSA def is defined outside a loop but live through some call
334 * indexed by call instruction index.
339 /* For each call instruction, the liveness set at the call */
343 /* For each call instruction, the block index of the block it lives in */
346 /* Walk the call instructions and fetch the liveness set and block index
359 /* The objective here is to preserve values around shader call
362 * none of our shader call intrinsics return anything, we don't have
402 /* Before the two builders are always separated by the call
468 nir_intrinsic_instr *call = nir_instr_as_intrinsic(instr); local
    [all...]
nir_serialize.c 1656 write_call(write_ctx *ctx, const nir_call_instr *call)
1658 blob_write_uint32(ctx->blob, write_lookup_object(ctx, call->callee));
1660 for (unsigned i = 0; i < call->num_params; i++)
1661 write_src(ctx, &call->params[i]);
1668 nir_call_instr *call = nir_call_instr_create(ctx->nir, callee); local
1670 for (unsigned i = 0; i < call->num_params; i++)
1671 read_src(ctx, &call->params[i], call);
1673 return call;
1964 * However, call instructions need to be able to reference at least th
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_inline_functions.c 99 nir_call_instr *call = nir_instr_as_call(instr); local
100 assert(call->callee->impl);
103 inline_function_impl(call->callee->impl, inlined);
105 b->cursor = nir_instr_remove(&call->instr);
107 /* Rewrite all of the uses of the callee's parameters to use the call
112 const unsigned num_params = call->num_params;
115 params[i] = nir_ssa_for_src(b, call->params[i],
116 call->callee->params[i].num_components);
119 nir_inline_function_impl(b, call->callee->impl, params);
186 * contain no call instructions
    [all...]
nir_serialize.c 779 write_call(write_ctx *ctx, const nir_call_instr *call)
781 blob_write_intptr(ctx->blob, write_lookup_object(ctx, call->callee));
783 for (unsigned i = 0; i < call->num_params; i++)
784 write_src(ctx, &call->params[i]);
791 nir_call_instr *call = nir_call_instr_create(ctx->nir, callee); local
793 for (unsigned i = 0; i < call->num_params; i++)
794 read_src(ctx, &call->params[i], call);
796 return call;
1061 * However, call instructions need to be able to reference at least th
    [all...]
  /xsrc/external/mit/libX11/dist/modules/im/ximcp/
imInsClbk.c 40 Bool call; member in struct:_XimInstCallback
114 if( !icb->call && !icb->destroy ) {
122 icb->call = True;
182 icb->call = icb->destroy = False;
219 icb->call = True;
299 icb->call = False;
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
lp_bld_intr.c 231 LLVMValueRef function, call; local
251 * than a call to address zero in the jited code).
268 call = LLVMBuildCall(builder, function, args, num_args, "");
270 lp_add_func_attributes(call, attr_mask);
271 return call;
302 * Call intrinsic with arguments adapted to intrinsic vector length.
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
lp_bld_intr.c 226 LLVMValueRef function, call; local
246 * than a call to address zero in the jited code).
262 call = LLVMBuildCall(builder, function, args, num_args, "");
264 lp_add_func_attributes(call, attr_mask);
265 return call;
296 * Call intrinsic with arguments adapted to intrinsic vector length.
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
u_threaded_context.h 88 * 1) If transfer_map has PIPE_TRANSFER_UNSYNCHRONIZED, the call is made
146 * implement buffer invalidation. This call is always queued.
161 * of call slots. Each call slot consists of an 8-byte header (call ID +
162 * call size + constant 32-bit marker for integrity checking) and an 8-byte
163 * body for per-call data. That is 16 bytes per call slot.
165 * Simple calls such as bind_xx_state(CSO) occupy only one call slot. Bigger
166 * calls occupy multiple call slots depending on the size needed by cal
346 struct tc_call call[TC_CALLS_PER_BATCH]; member in struct:tc_batch
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/afuc/
afuc.h 109 OPC_CALL = 0x35, /* "function" call */
193 } call; member in union:PACKED
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
ir_constant_expression.cpp 930 /* (call name (ref) (params))*/
932 ir_call *call = inst->as_call(); local
938 if (!call->return_deref)
944 if (!constant_referenced(call->return_deref, variable_context,
949 call->constant_expression_value(mem_ctx, variable_context);
glsl_to_nir.cpp 1569 nir_call_instr *call = nir_call_instr_create(this->shader, callee); local
1578 call->params[i++] = nir_src_for_ssa(&ret_deref->dest.ssa);
1588 call->params[i] = nir_src_for_ssa(&out_deref->dest.ssa);
1593 nir_src_copy(&call->params[i], &src, call);
1601 nir_builder_instr_insert(&b, &call->instr);
ast_function.cpp 115 "function call parameter `%s' drops "
122 "function call parameter `%s' drops "
129 "function call parameter `%s' drops "
136 "function call parameter `%s' drops "
143 "function call parameter `%s' drops "
420 * the function call returns.
437 * additional conversion is needed in the post-call re-write.
462 /* Replace the parameter in the call with a dereference of the new
490 * Generate a function call.
493 * variable which stores the return value for the call. For void functions
612 ir_call *call = new(ctx) ir_call(sig, deref, local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
ir_constant_expression.cpp 1107 /* (call name (ref) (params))*/
1109 ir_call *call = inst->as_call(); local
1115 if (!call->return_deref)
1121 if (!constant_referenced(call->return_deref, variable_context,
1126 call->constant_expression_value(mem_ctx, variable_context);
ast_function.cpp 122 "function call parameter `%s' drops "
129 "function call parameter `%s' drops "
136 "function call parameter `%s' drops "
143 "function call parameter `%s' drops "
150 "function call parameter `%s' drops "
468 * the function call returns.
485 * additional conversion is needed in the post-call re-write.
510 /* Replace the parameter in the call with a dereference of the new
538 * Generate a function call.
541 * variable which stores the return value for the call. For void functions
660 ir_call *call = new(ctx) ir_call(sig, deref, local
    [all...]
glsl_to_nir.cpp 1615 nir_call_instr *call = nir_call_instr_create(this->shader, callee); local
1624 call->params[i++] = nir_src_for_ssa(&ret_deref->dest.ssa);
1634 call->params[i] = nir_src_for_ssa(&out_deref->dest.ssa);
1639 nir_src_copy(&call->params[i], &src);
1647 nir_builder_instr_insert(&b, &call->instr);
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
vtn_cfg.c 123 nir_call_instr *call,
132 call, param_idx);
140 call, param_idx);
145 call->params[(*param_idx)++] = nir_src_for_ssa(value->def);
189 nir_call_instr *call = nir_call_instr_create(b->nb.shader, callee); local
201 call->params[param_idx++] = nir_src_for_ssa(&ret_deref->dest.ssa);
212 call->params[param_idx++] =
214 call->params[param_idx++] =
221 call->params[param_idx++] =
225 arg_type, call, &param_idx)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
dxil_internal.h 236 struct dxil_instr_call call; member in union:dxil_instr::__anon2740
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_lowering_nv50.cpp 255 // Emulate PRERET: jump to the target and call to the origin from there
266 // bra BB:3 + n0 (directly to the call; move to beginning of BB and fixate)
269 // bra BB:3 + n1 (skip the call)
270 // call BB:0 + n2 (skip bra at beginning of BB:0)
283 Instruction *call = new_FlowInstruction(func, OP_PRERET, bbE); local
285 bbT->insertHead(call);
291 call->subOp = NV50_IR_SUBOP_EMU_PRERET + 2;
  /xsrc/external/mit/MesaLib/dist/src/freedreno/.gitlab-ci/traces/
afuc_test.asm 137 call #euclid label
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/driver_ddebug/
dd_pipe.h 291 struct dd_call call; member in struct:dd_draw_record
310 * Before each draw call, a new dd_draw_record is created that contains
311 * a copy of all states. After each draw call, the driver's log is added
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_lowering_nv50.cpp 278 // Emulate PRERET: jump to the target and call to the origin from there
289 // bra BB:3 + n0 (directly to the call; move to beginning of BB and fixate)
292 // bra BB:3 + n1 (skip the call)
293 // call BB:0 + n2 (skip bra at beginning of BB:0)
306 Instruction *call = new_FlowInstruction(func, OP_PRERET, bbE); local
308 bbT->insertHead(call);
314 call->subOp = NV50_IR_SUBOP_EMU_PRERET + 2;

Completed in 34 milliseconds

1 2