Searched defs:param_count (Results 1 - 25 of 25) sorted by relevance

/external/v8/test/cctest/compiler/
H A Dc-signature.h94 size_t param_count = 5; local
95 if (p5 == MachineType::None()) param_count--;
96 if (p4 == MachineType::None()) param_count--;
97 if (p3 == MachineType::None()) param_count--;
98 if (p2 == MachineType::None()) param_count--;
99 if (p1 == MachineType::None()) param_count--;
100 for (size_t i = 0; i < param_count; i++) {
105 return new (zone) CSignature(return_count, param_count, buffer);
H A Dtest-multiple-return.cc27 int param_count) {
28 MachineSignature::Builder msig(zone, return_count, param_count);
29 LocationSignature::Builder locations(zone, return_count, param_count);
41 CHECK(param_count <= config->num_allocatable_general_registers());
42 for (int i = 0; i < param_count; i++) {
26 GetCallDescriptor(Zone* zone, int return_count, int param_count) argument
H A Dfunction-tester.h38 FunctionTester(Graph* graph, int param_count) argument
40 function(NewFunction(BuildFunction(param_count).c_str())),
45 FunctionTester(Handle<Code> code, int param_count) argument
48 NewFunction(BuildFunction(param_count).c_str()))),
193 static Handle<JSFunction> ForMachineGraph(Graph* graph, int param_count) { argument
196 FunctionTester f(graph, param_count);
235 std::string BuildFunction(int param_count) { argument
237 if (param_count > 0) {
239 for (int i = 1; i < param_count; i++) {
H A Dgraph-builder-tester.h293 int param_count = static_cast<int>(parameter_count()); local
294 for (int i = 0; i < param_count; ++i) {
H A Dtest-run-native-calls.cc248 explicit Int32Signature(int param_count) argument
249 : MachineSignature(1, param_count, kIntTypes) {
250 CHECK(param_count <= kMaxParamCount);
276 int param_count = static_cast<int>(msig->parameter_count()); local
280 Node* start = b.graph()->NewNode(b.common()->Start(param_count + 3));
285 Node** args = zone.NewArray<Node*>(param_count + 3);
288 for (int i = 0; i < param_count; i++) {
297 b.graph()->NewNode(b.common()->Call(desc), param_count + 3, args);
322 explicit Sig(int param_count) argument
323 : MachineSignature(1, param_count, MachType
[all...]
/external/v8/src/
H A Dframes-inl.h162 int param_count = ComputeParametersCount(); local
163 DCHECK(-1 <= index && index < param_count);
164 int parameter_offset = (param_count - index - 1) * kPointerSize;
H A Dinterface-descriptors.h124 int param_count() const { return function_type_->Arity(); } function in class:v8::internal::CallInterfaceDescriptorData
172 int GetParameterCount() const { return data()->param_count(); }
187 DCHECK(index < data()->param_count());
H A Dcode-stubs-hydrogen.cc112 int param_count = GetParameterCount(); local
122 for (int i = 0; i < param_count; ++i) {
143 Add<HConstant>(param_count - register_param_count - 1);
150 start_environment->Bind(param_count, context_);
H A Ddeoptimizer.cc1901 int param_count = descriptor.GetRegisterParameterCount(); local
1905 CHECK_EQ(translated_frame->height(), param_count + 1);
1906 CHECK_GE(param_count, 0);
1908 int height_in_bytes = kPointerSize * (param_count + stack_param_count);
2001 for (int i = 0; i < param_count; ++i) {
/external/v8/src/interpreter/
H A Dinterpreter-intrinsics.cc224 int param_count = callable.descriptor().GetParameterCount(); local
225 Node** args = zone()->NewArray<Node*>(param_count + 1); // 1 for context
226 for (int i = 0; i < param_count; i++) {
230 args[param_count] = context;
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeonsi_shader.c468 unsigned param_count = 0; local
510 target = V_008DFC_SQ_EXP_PARAM + param_count;
511 shader->output[i].param_offset = param_count;
512 param_count++;
519 target = V_008DFC_SQ_EXP_PARAM + param_count;
520 shader->output[i].param_offset = param_count;
521 param_count++;
/external/v8/src/compiler/
H A Draw-machine-assembler.cc28 int param_count = static_cast<int>(parameter_count()); local
30 graph->SetStart(graph->NewNode(common_.Start(param_count + 1)));
146 int param_count = local
148 int input_count = param_count + 1;
152 for (int i = 0; i < param_count; i++) {
163 int param_count = local
165 int input_count = param_count + 2;
169 for (int i = 0; i < param_count; i++) {
255 int param_count = local
257 int input_count = param_count
[all...]
H A Dwasm-compiler.cc2343 int param_count; local
2345 param_count = static_cast<int>(sig->parameter_count());
2347 param_count = Int64Lowering::GetParameterCountAfterLowering(sig);
2349 int count = param_count + 3;
2353 Node* start = Start(param_count + 5);
2408 int param_count; local
2410 param_count = wasm_count;
2412 param_count = Int64Lowering::GetParameterCountAfterLowering(sig);
2418 Node* start = Start(param_count + 3);
/external/v8/src/wasm/
H A Dmodule-decoder.cc683 uint32_t param_count = consume_u32v("param count"); local
685 for (uint32_t i = 0; i < param_count; ++i) {
708 module_zone->NewArray<LocalType>(param_count + return_count);
711 for (uint32_t i = 0; i < param_count; ++i) buffer[b++] = params[i];
713 return new (module_zone) FunctionSig(return_count, param_count, buffer);
/external/v8/src/full-codegen/
H A Dfull-codegen.cc541 int param_count = callable.descriptor().GetRegisterParameterCount(); local
542 DCHECK_EQ(args->length(), param_count);
544 if (param_count > 0) {
545 int last = param_count - 1;
/external/v8/src/arm/
H A Dcode-stubs-arm.cc66 int param_count = descriptor.GetRegisterParameterCount(); local
70 DCHECK(param_count == 0 ||
71 r0.is(descriptor.GetRegisterParameter(param_count - 1)));
73 for (int i = 0; i < param_count; ++i) {
76 __ CallExternalReference(miss, param_count);
/external/v8/src/arm64/
H A Dcode-stubs-arm64.cc53 int param_count = descriptor.GetRegisterParameterCount(); local
57 DCHECK((param_count == 0) ||
58 x0.Is(descriptor.GetRegisterParameter(param_count - 1)));
62 for (int i = 0; i < param_count; ++i) {
67 __ CallExternalReference(miss, param_count);
4889 Register param_count = x7; local
4890 __ SmiUntag(param_count, param_count_smi);
4910 // x7 param_count number of function parameters
4916 __ Mov(arg_count, param_count);
4917 __ Mov(mapped_params, param_count);
[all...]
/external/v8/src/ia32/
H A Dcode-stubs-ia32.cc54 int param_count = descriptor.GetRegisterParameterCount(); local
58 DCHECK(param_count == 0 ||
59 eax.is(descriptor.GetRegisterParameter(param_count - 1)));
61 for (int i = 0; i < param_count; ++i) {
64 __ CallExternalReference(miss, param_count);
/external/v8/src/mips/
H A Dcode-stubs-mips.cc66 int param_count = descriptor.GetRegisterParameterCount(); local
70 DCHECK(param_count == 0 ||
71 a0.is(descriptor.GetRegisterParameter(param_count - 1)));
73 __ Subu(sp, sp, Operand(param_count * kPointerSize));
74 for (int i = 0; i < param_count; ++i) {
77 MemOperand(sp, (param_count - 1 - i) * kPointerSize));
79 __ CallExternalReference(miss, param_count);
/external/v8/src/mips64/
H A Dcode-stubs-mips64.cc65 int param_count = descriptor.GetRegisterParameterCount(); local
69 DCHECK((param_count == 0) ||
70 a0.is(descriptor.GetRegisterParameter(param_count - 1)));
72 __ Dsubu(sp, sp, Operand(param_count * kPointerSize));
73 for (int i = 0; i < param_count; ++i) {
76 MemOperand(sp, (param_count - 1 - i) * kPointerSize));
78 __ CallExternalReference(miss, param_count);
/external/v8/src/ppc/
H A Dcode-stubs-ppc.cc61 int param_count = descriptor.GetRegisterParameterCount(); local
65 DCHECK(param_count == 0 ||
66 r3.is(descriptor.GetRegisterParameter(param_count - 1)));
68 for (int i = 0; i < param_count; ++i) {
71 __ CallExternalReference(miss, param_count);
/external/v8/src/s390/
H A Dcode-stubs-s390.cc60 int param_count = descriptor.GetRegisterParameterCount(); local
64 DCHECK(param_count == 0 ||
65 r2.is(descriptor.GetRegisterParameter(param_count - 1)));
67 for (int i = 0; i < param_count; ++i) {
70 __ CallExternalReference(miss, param_count);
/external/v8/src/x64/
H A Dcode-stubs-x64.cc52 int param_count = descriptor.GetRegisterParameterCount(); local
56 DCHECK(param_count == 0 ||
57 rax.is(descriptor.GetRegisterParameter(param_count - 1)));
59 for (int i = 0; i < param_count; ++i) {
62 __ CallExternalReference(miss, param_count);
/external/v8/src/x87/
H A Dcode-stubs-x87.cc54 int param_count = descriptor.GetRegisterParameterCount(); local
58 DCHECK(param_count == 0 ||
59 eax.is(descriptor.GetRegisterParameter(param_count - 1)));
61 for (int i = 0; i < param_count; ++i) {
64 __ CallExternalReference(miss, param_count);
/external/v8/src/parsing/
H A Dparser-base.h1062 void CheckArityRestrictions(int param_count, FunctionKind function_type,
3260 void ParserBase<Traits>::CheckArityRestrictions(int param_count, argument
3266 if (param_count != 0) {
3272 if (param_count != 1) {

Completed in 629 milliseconds