Home
last modified time | relevance | path

Searched refs:param_count (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cs.c87 int param_count = cp->program.nir->num_uniforms / 4; in brw_codegen_cs_prog() local
90 prog_data.thread_local_id_index = param_count++; in brw_codegen_cs_prog()
93 param_count += 2 * ctx->Const.Program[MESA_SHADER_COMPUTE].MaxTextureImageUnits; in brw_codegen_cs_prog()
95 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_cs_prog()
97 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_cs_prog()
101 prog_data.base.nr_params = param_count; in brw_codegen_cs_prog()
Dbrw_gs.c101 int param_count = gp->program.nir->num_uniforms / 4; in brw_codegen_gs_prog() local
104 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_gs_prog()
106 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_gs_prog()
110 prog_data.base.base.nr_params = param_count; in brw_codegen_gs_prog()
Dbrw_vs.c158 int param_count = vp->program.nir->num_uniforms / 4; in brw_codegen_vs_prog() local
165 param_count += key->nr_userclip_plane_consts * 4; in brw_codegen_vs_prog()
168 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_vs_prog()
170 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_vs_prog()
174 stage_prog_data->nr_params = param_count; in brw_codegen_vs_prog()
Dbrw_tes.c92 int param_count = nir->num_uniforms / 4; in brw_codegen_tes_prog() local
95 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_tes_prog()
97 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_tes_prog()
101 prog_data.base.base.nr_params = param_count; in brw_codegen_tes_prog()
Dbrw_wm.c150 int param_count = fp->program.nir->num_uniforms / 4; in brw_codegen_wm_prog() local
153 param_count += 2 * ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits; in brw_codegen_wm_prog()
155 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_wm_prog()
157 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_wm_prog()
161 prog_data.base.nr_params = param_count; in brw_codegen_wm_prog()
Dbrw_tcs.c190 int param_count = nir->num_uniforms / 4; in brw_codegen_tcs_prog() local
193 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_tcs_prog()
195 rzalloc_array(NULL, const gl_constant_value *, param_count); in brw_codegen_tcs_prog()
196 prog_data.base.base.nr_params = param_count; in brw_codegen_tcs_prog()
/external/nos/host/android/citadel/validation/
Dcitadel_validation_tool.cpp498 const int param_count = argc - 2; in main() local
500 if (command == "stress-spi" && param_count == 1) { in main()
503 if (command == "health-check" && param_count == 0) { in main()
506 if (command == "reset" && param_count == 0) { in main()
509 if (command == "enable-alerts" && param_count == 0) { in main()
512 if (command == "disable-alerts" && param_count == 0) { in main()
515 if (command == "get-temp" && param_count == 0) { in main()
/external/mesa3d/src/amd/common/
Dac_llvm_util.c232 unsigned param_count, unsigned attrib_mask) in ac_emit_llvm_intrinsic() argument
241 assert(param_count <= 32); in ac_emit_llvm_intrinsic()
243 for (i = 0; i < param_count; ++i) { in ac_emit_llvm_intrinsic()
248 LLVMFunctionType(return_type, param_types, param_count, 0); in ac_emit_llvm_intrinsic()
260 return LLVMBuildCall(ctx->builder, function, params, param_count, ""); in ac_emit_llvm_intrinsic()
Dac_llvm_util.h74 unsigned param_count, unsigned attrib_mask);
Dac_nir_to_llvm.c202 unsigned param_count, unsigned array_params_mask, in create_llvm_function() argument
216 LLVMFunctionType(ret_type, param_types, param_count, 0); in create_llvm_function()
2492 int param_count = 0; in visit_image_atomic() local
2505 params[param_count++] = get_src(ctx, instr->src[2]); in visit_image_atomic()
2507 params[param_count++] = get_src(ctx, instr->src[3]); in visit_image_atomic()
2510 params[param_count++] = get_sampler_desc(ctx, instr->variables[0], DESC_BUFFER); in visit_image_atomic()
2511 …coords = params[param_count++] = LLVMBuildExtractElement(ctx->builder, get_src(ctx, instr->src[0]), in visit_image_atomic()
2513 params[param_count++] = ctx->i32zero; /* voffset */ in visit_image_atomic()
2514 params[param_count++] = i1false; /* glc */ in visit_image_atomic()
2515 params[param_count++] = i1false; /* slc */ in visit_image_atomic()
[all …]
/external/v8/src/wasm/
Dwasm-text.cc55 size_t param_count = fun->sig->parameter_count(); in PrintWasmText() local
56 if (param_count) { in PrintWasmText()
58 for (size_t i = 0; i < param_count; ++i) in PrintWasmText()
Dmodule-decoder.cc1091 uint32_t param_count = in consume_sig() local
1095 for (uint32_t i = 0; ok() && i < param_count; ++i) { in consume_sig()
1116 module_zone->NewArray<ValueType>(param_count + return_count); in consume_sig()
1119 for (uint32_t i = 0; i < param_count; ++i) buffer[b++] = params[i]; in consume_sig()
1121 return new (module_zone) FunctionSig(return_count, param_count, buffer); in consume_sig()
/external/mesa3d/src/compiler/glsl/
Dlower_shared_reference.cpp342 int param_count = ir->actual_parameters.length(); in lower_shared_atomic_intrinsic() local
343 assert(param_count == 2 || param_count == 3); in lower_shared_atomic_intrinsic()
396 if (param_count == 3) { in lower_shared_atomic_intrinsic()
423 if (param_count == 3) { in lower_shared_atomic_intrinsic()
Dlower_ubo_reference.cpp947 int param_count = ir->actual_parameters.length(); in lower_ssbo_atomic_intrinsic() local
948 assert(param_count == 2 || param_count == 3); in lower_ssbo_atomic_intrinsic()
1008 if (param_count == 3) { in lower_ssbo_atomic_intrinsic()
1036 if (param_count == 3) { in lower_ssbo_atomic_intrinsic()
Dglsl_to_nir.cpp1012 int param_count = ir->actual_parameters.length(); in visit() local
1013 assert(param_count == 3 || param_count == 4); in visit()
1031 if (param_count == 4) { in visit()
1095 int param_count = ir->actual_parameters.length(); in visit() local
1096 assert(param_count == 2 || param_count == 3); in visit()
1109 if (param_count == 3) { in visit()
/external/v8/src/
Dframes-inl.h185 int param_count = ComputeParametersCount(); in GetParameterSlot() local
186 DCHECK(-1 <= index && index < param_count); in GetParameterSlot()
187 int parameter_offset = (param_count - index - 1) * kPointerSize; in GetParameterSlot()
Dcode-stubs-hydrogen.cc103 int param_count = GetParameterCount(); in BuildGraph() local
113 for (int i = 0; i < param_count; ++i) { in BuildGraph()
134 Add<HConstant>(param_count - register_param_count - 1); in BuildGraph()
141 start_environment->Bind(param_count, context_); in BuildGraph()
Dinterface-descriptors.h128 int param_count() const { return param_count_; } in param_count() function
172 int GetParameterCount() const { return data()->param_count(); } in GetParameterCount()
179 return data()->param_count() - data()->register_param_count(); in GetStackParameterCount()
187 DCHECK(index < data()->param_count()); in GetParameterType()
/external/v8/src/compiler/
Dlinkage.cc54 size_t param_count = ParameterCount(); in GetMachineSignature() local
56 MachineType* types = zone->NewArray<MachineType>(param_count + return_count); in GetMachineSignature()
61 for (size_t i = 0; i < param_count; ++i) { in GetMachineSignature()
64 return new (zone) MachineSignature(return_count, param_count, types); in GetMachineSignature()
Draw-machine-assembler.cc28 int param_count = static_cast<int>(parameter_count()); in RawMachineAssembler() local
30 graph->SetStart(graph->NewNode(common_.Start(param_count + 1))); in RawMachineAssembler()
/external/v8/src/interpreter/
Dinterpreter-intrinsics.cc221 int param_count = callable.descriptor().GetParameterCount(); in IntrinsicAsStubCall() local
222 int input_count = param_count + 2; // +2 for target and context in IntrinsicAsStubCall()
226 for (int i = 0; i < param_count; i++) { in IntrinsicAsStubCall()
/external/v8/src/full-codegen/
Dfull-codegen.cc576 int param_count = callable.descriptor().GetRegisterParameterCount(); in EmitIntrinsicAsStubCall() local
577 DCHECK_EQ(args->length(), param_count); in EmitIntrinsicAsStubCall()
579 if (param_count > 0) { in EmitIntrinsicAsStubCall()
580 int last = param_count - 1; in EmitIntrinsicAsStubCall()
/external/libmojo/mojo/public/tools/bindings/generators/
Dmojom_cpp_generator.py556 return (StructConstructor(struct.fields, ordinal_fields[:param_count])
557 for param_count in param_counts)
/external/v8/src/mips64/
Dcode-stubs-mips64.cc54 int param_count = descriptor.GetRegisterParameterCount(); in GenerateLightweightMiss() local
58 DCHECK((param_count == 0) || in GenerateLightweightMiss()
59 a0.is(descriptor.GetRegisterParameter(param_count - 1))); in GenerateLightweightMiss()
61 __ Dsubu(sp, sp, Operand(param_count * kPointerSize)); in GenerateLightweightMiss()
62 for (int i = 0; i < param_count; ++i) { in GenerateLightweightMiss()
65 MemOperand(sp, (param_count - 1 - i) * kPointerSize)); in GenerateLightweightMiss()
67 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()
/external/v8/src/mips/
Dcode-stubs-mips.cc55 int param_count = descriptor.GetRegisterParameterCount(); in GenerateLightweightMiss() local
59 DCHECK(param_count == 0 || in GenerateLightweightMiss()
60 a0.is(descriptor.GetRegisterParameter(param_count - 1))); in GenerateLightweightMiss()
62 __ Subu(sp, sp, Operand(param_count * kPointerSize)); in GenerateLightweightMiss()
63 for (int i = 0; i < param_count; ++i) { in GenerateLightweightMiss()
66 MemOperand(sp, (param_count - 1 - i) * kPointerSize)); in GenerateLightweightMiss()
68 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()

12