Home | History | Annotate | Download | only in compiler

Lines Matching refs:descriptor

385 size_t AddOperandToStateValueDescriptor(StateValueDescriptor* descriptor,
397 descriptor->fields().push_back(
399 StateValueDescriptor* new_desc = &descriptor->fields().back();
410 descriptor->fields().push_back(
418 descriptor->fields().push_back(StateValueDescriptor::Plain(zone, type));
426 size_t AddInputsToFrameStateDescriptor(FrameStateDescriptor* descriptor,
437 if (descriptor->outer_state()) {
439 descriptor->outer_state(), state->InputAt(kFrameStateOuterStateInput),
449 DCHECK_EQ(descriptor->parameters_count(),
451 DCHECK_EQ(descriptor->locals_count(), StateValuesAccess(locals).size());
452 DCHECK_EQ(descriptor->stack_count(), StateValuesAccess(stack).size());
455 descriptor->GetStateValueDescriptor();
465 if (descriptor->HasContext()) {
491 CallBuffer(Zone* zone, const CallDescriptor* descriptor,
493 : descriptor(descriptor),
499 output_nodes.reserve(descriptor->ReturnCount());
500 outputs.reserve(descriptor->ReturnCount());
506 const CallDescriptor* descriptor;
513 size_t input_count() const { return descriptor->InputCount(); }
515 size_t frame_state_count() const { return descriptor->FrameStateCount(); }
533 static_cast<int>(buffer->descriptor->ReturnCount()));
538 if (buffer->descriptor->ReturnCount() > 0) {
540 if (buffer->descriptor->ReturnCount() == 1) {
543 buffer->output_nodes.resize(buffer->descriptor->ReturnCount(), nullptr);
564 buffer->descriptor->GetReturnType(static_cast<int>(i));
566 buffer->descriptor->GetReturnLocation(static_cast<int>(i));
584 switch (buffer->descriptor->kind()) {
600 g.UseLocation(callee, buffer->descriptor->GetInputLocation(0),
601 buffer->descriptor->GetInputType(0).representation()));
614 call->InputAt(static_cast<int>(buffer->descriptor->InputCount()));
619 if (buffer->descriptor->SupportsTailCalls()) {
663 LinkageLocation location = buffer->descriptor->GetInputLocation(index);
670 buffer->descriptor->GetInputType(index).representation());
676 PushParameter parameter(*iter, buffer->descriptor->GetInputType(index));
1559 const CallDescriptor* descriptor = CallDescriptorOf(call->op());
1561 g.DefineAsLocation(node, descriptor->GetReturnLocation(0),
1562 descriptor->GetReturnType(0).representation()));
1631 const CallDescriptor* descriptor = CallDescriptorOf(node->op());
1634 if (descriptor->NeedsFrameState()) {
1636 node->InputAt(static_cast<int>(descriptor->InputCount())));
1639 CallBuffer buffer(zone(), descriptor, frame_state_descriptor);
1649 EmitPrepareArguments(&(buffer.pushed_nodes), descriptor, node);
1652 CallDescriptor::Flags flags = descriptor->flags();
1664 bool to_native_stack = descriptor->UseNativeStack();
1674 switch (descriptor->kind()) {
1678 MiscField::encode(static_cast<int>(descriptor->CParameterCount()));
1699 CallDescriptor const* descriptor = CallDescriptorOf(node->op());
1700 DCHECK_NE(0, descriptor->flags() & CallDescriptor::kSupportsTailCalls);
1707 CallBuffer buffer(zone(), descriptor, nullptr);
1720 switch (descriptor->kind()) {
1736 switch (descriptor->kind()) {
1751 opcode |= MiscField::encode(descriptor->flags());
1764 descriptor->NeedsFrameState()
1766 node->InputAt(static_cast<int>(descriptor->InputCount())))
1769 CallBuffer buffer(zone(), descriptor, frame_state_descriptor);
1778 EmitPrepareArguments(&(buffer.pushed_nodes), descriptor, node);
1782 switch (descriptor->kind()) {
1793 opcode |= MiscField::encode(descriptor->flags());
1845 FrameStateDescriptor* const descriptor = GetFrameStateDescriptor(frame_state);
1847 args.reserve(input_count + 1 + descriptor->GetTotalSize());
1853 sequence()->AddFrameStateDescriptor(descriptor);
1856 AddInputsToFrameStateDescriptor(descriptor, frame_state, &g, &deduplicator,