Home
last modified time | relevance | path

Searched refs:call_descriptor (Results 1 – 25 of 54) sorted by relevance

123

/external/v8/src/compiler/
Draw-machine-assembler.cc17 Isolate* isolate, Graph* graph, CallDescriptor* call_descriptor, in RawMachineAssembler() argument
26 call_descriptor_(call_descriptor), in RawMachineAssembler()
34 if (call_descriptor->IsJSFunctionCall()) { in RawMachineAssembler()
227 Node* RawMachineAssembler::CallN(CallDescriptor* call_descriptor, in CallN() argument
229 DCHECK(!call_descriptor->NeedsFrameState()); in CallN()
231 DCHECK_EQ(input_count, call_descriptor->ParameterCount() + 1); in CallN()
232 return AddNode(common()->Call(call_descriptor), input_count, inputs); in CallN()
235 Node* RawMachineAssembler::CallNWithFrameState(CallDescriptor* call_descriptor, in CallNWithFrameState() argument
238 DCHECK(call_descriptor->NeedsFrameState()); in CallNWithFrameState()
240 DCHECK_EQ(input_count, call_descriptor->ParameterCount() + 2); in CallNWithFrameState()
[all …]
Dcommon-operator.cc1419 const CallDescriptor* call_descriptor) { in Call() argument
1422 explicit CallOperator(const CallDescriptor* call_descriptor) in Call() argument
1424 IrOpcode::kCall, call_descriptor->properties(), "Call", in Call()
1425 call_descriptor->InputCount() + in Call()
1426 call_descriptor->FrameStateCount(), in Call()
1427 Operator::ZeroIfPure(call_descriptor->properties()), in Call()
1428 Operator::ZeroIfEliminatable(call_descriptor->properties()), in Call()
1429 call_descriptor->ReturnCount(), in Call()
1430 Operator::ZeroIfPure(call_descriptor->properties()), in Call()
1431 Operator::ZeroIfNoThrow(call_descriptor->properties()), in Call()
[all …]
Djs-generic-lowering.cc107 auto call_descriptor = Linkage::GetStubCallDescriptor( in ReplaceWithStubCall() local
112 NodeProperties::ChangeOp(node, common()->Call(call_descriptor)); in ReplaceWithStubCall()
123 auto call_descriptor = in ReplaceWithRuntimeCall() local
130 NodeProperties::ChangeOp(node, common()->Call(call_descriptor)); in ReplaceWithRuntimeCall()
362 auto call_descriptor = Linkage::GetStubCallDescriptor( in LowerJSCreateArray() local
376 NodeProperties::ChangeOp(node, common()->Call(call_descriptor)); in LowerJSCreateArray()
585 auto call_descriptor = Linkage::GetStubCallDescriptor( in LowerJSConstructForwardVarargs() local
598 NodeProperties::ChangeOp(node, common()->Call(call_descriptor)); in LowerJSConstructForwardVarargs()
606 auto call_descriptor = Linkage::GetStubCallDescriptor( in LowerJSConstruct() local
617 NodeProperties::ChangeOp(node, common()->Call(call_descriptor)); in LowerJSConstruct()
[all …]
Dpipeline.h51 MachineGraph* mcgraph, CallDescriptor* call_descriptor,
60 Isolate* isolate, CallDescriptor* call_descriptor, Graph* graph,
78 CallDescriptor* call_descriptor, Graph* graph,
Dcode-assembler.cc71 CallDescriptor* call_descriptor, in CodeAssemblerState() argument
76 isolate, new (zone) Graph(zone), call_descriptor, in CodeAssemblerState()
90 return static_cast<int>(raw_assembler_->call_descriptor()->ParameterCount()); in parameter_count()
183 rasm->isolate(), rasm->call_descriptor(), rasm->graph(), schedule, in GenerateCode()
195 rasm->isolate(), rasm->call_descriptor(), rasm->graph(), schedule, in GenerateCode()
383 auto call_descriptor = raw_assembler()->call_descriptor(); in IsJSFunctionCall() local
384 return call_descriptor->IsJSFunctionCall(); in IsJSFunctionCall()
388 auto call_descriptor = raw_assembler()->call_descriptor(); in GetJSContextParameter() local
389 DCHECK(call_descriptor->IsJSFunctionCall()); in GetJSContextParameter()
391 static_cast<int>(call_descriptor->JSParameterCount())))); in GetJSContextParameter()
[all …]
Dint64-lowering.cc80 int GetReturnIndexAfterLowering(CallDescriptor* call_descriptor, in GetReturnIndexAfterLowering() argument
84 if (call_descriptor->GetReturnType(i).representation() == in GetReturnIndexAfterLowering()
92 int GetReturnCountAfterLowering(CallDescriptor* call_descriptor) { in GetReturnCountAfterLowering() argument
94 call_descriptor, static_cast<int>(call_descriptor->ReturnCount())); in GetReturnCountAfterLowering()
328 auto call_descriptor = in LowerNode() local
331 GetReturnCountAfterLowering(call_descriptor) != in LowerNode()
332 static_cast<int>(call_descriptor->ReturnCount()); in LowerNode()
336 auto new_descriptor = GetI32WasmCallDescriptor(zone(), call_descriptor); in LowerNode()
342 auto call_descriptor = in LowerNode() local
345 GetReturnCountAfterLowering(call_descriptor) != in LowerNode()
[all …]
Dmachine-graph-verifier.cc33 CallDescriptor* call_descriptor() const { in call_descriptor() function in v8::internal::compiler::__anon843493e90111::MachineRepresentationInferrer
65 auto call_descriptor = CallDescriptorOf(input->op()); in GetProjectionType() local
66 return call_descriptor->GetReturnType(index).representation(); in GetProjectionType()
136 auto call_descriptor = CallDescriptorOf(node->op()); in Run() local
137 if (call_descriptor->ReturnCount() > 0) { in Run()
139 call_descriptor->GetReturnType(0).representation(); in Run()
566 size_t return_count = inferrer_->call_descriptor()->ReturnCount(); in Run()
568 MachineType type = inferrer_->call_descriptor()->GetReturnType(i); in Run()
767 auto call_descriptor = CallDescriptorOf(node->op()); in CheckCallInputs() local
770 for (size_t i = 0; i < call_descriptor->InputCount(); ++i) { in CheckCallInputs()
[all …]
Dpipeline.cc352 void InitializeInstructionSequence(const CallDescriptor* call_descriptor) { in InitializeInstructionSequence() argument
359 if (call_descriptor && call_descriptor->RequiresFrameAsIncoming()) { in InitializeInstructionSequence()
362 DCHECK_EQ(0u, call_descriptor->CalleeSavedFPRegisters()); in InitializeInstructionSequence()
363 DCHECK_EQ(0u, call_descriptor->CalleeSavedRegisters()); in InitializeInstructionSequence()
367 void InitializeFrameData(CallDescriptor* call_descriptor) { in InitializeFrameData() argument
370 if (call_descriptor != nullptr) { in InitializeFrameData()
371 fixed_frame_size = call_descriptor->CalculateFixedFrameSize(); in InitializeFrameData()
377 CallDescriptor* call_descriptor) { in InitializeRegisterAllocationData() argument
522 MaybeHandle<Code> GenerateCode(CallDescriptor* call_descriptor);
524 CallDescriptor* call_descriptor, bool run_verifier);
[all …]
Dwasm-compiler.cc273 auto call_descriptor = Linkage::GetStubCallDescriptor( in StackCheck() local
284 stack_check_call_operator_ = mcgraph()->common()->Call(call_descriptor); in StackCheck()
2007 auto call_descriptor = Linkage::GetStubCallDescriptor( in GrowMemory() local
2019 SetControl(graph()->NewNode(mcgraph()->common()->Call(call_descriptor), in GrowMemory()
2504 auto call_descriptor = in BuildCCall() local
2507 const Operator* op = mcgraph()->common()->Call(call_descriptor); in BuildCCall()
2536 auto call_descriptor = in BuildWasmCall() local
2538 const Operator* op = mcgraph()->common()->Call(call_descriptor); in BuildWasmCall()
2968 auto call_descriptor = Linkage::GetRuntimeCallDescriptor( in BuildCallToRuntimeWithContext() local
2994 mcgraph()->common()->Call(call_descriptor), count, inputs)); in BuildCallToRuntimeWithContext()
[all …]
Deffect-control-linearizer.cc1389 auto call_descriptor = Linkage::GetRuntimeCallDescriptor( in LowerCheckMaps() local
1391 Node* result = __ Call(call_descriptor, __ CEntryStubConstant(1), value, in LowerCheckMaps()
2067 auto call_descriptor = Linkage::GetStubCallDescriptor( in LowerNumberToString() local
2069 return __ Call(call_descriptor, __ HeapConstant(callable.code()), argument, in LowerNumberToString()
2523 auto call_descriptor = Linkage::GetStubCallDescriptor( in LowerTypeOf() local
2525 return __ Call(call_descriptor, __ HeapConstant(callable.code()), obj, in LowerTypeOf()
2535 auto call_descriptor = Linkage::GetStubCallDescriptor( in LowerToBoolean() local
2537 return __ Call(call_descriptor, __ HeapConstant(callable.code()), obj, in LowerToBoolean()
2723 auto call_descriptor = Linkage::GetStubCallDescriptor( in LowerNewArgumentsElements() local
2725 return __ Call(call_descriptor, __ HeapConstant(callable.code()), frame, in LowerNewArgumentsElements()
[all …]
Dmemory-optimizer.cc241 auto call_descriptor = Linkage::GetStubCallDescriptor( in VisitAllocateRaw() local
244 allocate_operator_.set(common()->Call(call_descriptor)); in VisitAllocateRaw()
297 auto call_descriptor = Linkage::GetStubCallDescriptor( in VisitAllocateRaw() local
300 allocate_operator_.set(common()->Call(call_descriptor)); in VisitAllocateRaw()
Dinstruction-selector.cc780 CallBuffer(Zone* zone, const CallDescriptor* call_descriptor, in CallBuffer()
782 : descriptor(call_descriptor), in CallBuffer()
788 output_nodes.reserve(call_descriptor->ReturnCount()); in CallBuffer()
789 outputs.reserve(call_descriptor->ReturnCount()); in CallBuffer()
2675 auto call_descriptor = CallDescriptorOf(node->op()); in VisitCall() local
2678 if (call_descriptor->NeedsFrameState()) { in VisitCall()
2680 node->InputAt(static_cast<int>(call_descriptor->InputCount()))); in VisitCall()
2683 CallBuffer buffer(zone(), call_descriptor, frame_state_descriptor); in VisitCall()
2693 EmitPrepareArguments(&(buffer.pushed_nodes), call_descriptor, node); in VisitCall()
2696 CallDescriptor::Flags flags = call_descriptor->flags(); in VisitCall()
[all …]
Dcommon-operator.h518 const Operator* Call(const CallDescriptor* call_descriptor); in NON_EXPORTED_BASE()
520 const CallDescriptor* call_descriptor); in NON_EXPORTED_BASE()
521 const Operator* TailCall(const CallDescriptor* call_descriptor); in NON_EXPORTED_BASE()
Dgraph-assembler.h238 Node* Call(const CallDescriptor* call_descriptor, Args... args);
425 Node* GraphAssembler::Call(const CallDescriptor* call_descriptor, in Call() argument
427 const Operator* op = common()->Call(call_descriptor); in Call()
Dgraph-assembler.cc272 auto call_descriptor = in ToNumberOperator() local
275 to_number_operator_.set(common()->Call(call_descriptor)); in ToNumberOperator()
/external/v8/src/wasm/baseline/
Dliftoff-assembler.cc450 compiler::CallDescriptor* call_descriptor, in PrepareCall() argument
473 call_descriptor->GetInputLocation(kInputShift); in PrepareCall()
488 static_cast<uint32_t>(call_descriptor->InputCount()); in PrepareCall()
503 call_descriptor->GetInputLocation(call_desc_input_idx); in PrepareCall()
559 compiler::CallDescriptor* call_descriptor) { in FinishCall() argument
565 DCHECK_EQ(need_pair ? 2 : 1, call_descriptor->ReturnCount()); in FinishCall()
568 rc, call_descriptor->GetReturnLocation(0).AsRegister()); in FinishCall()
572 rc, call_descriptor->GetReturnLocation(1).AsRegister()); in FinishCall()
Dliftoff-compiler.cc139 LiftoffCompiler(compiler::CallDescriptor* call_descriptor, ModuleEnv* env, in LiftoffCompiler() argument
142 GetLoweredCallDescriptor(compilation_zone, call_descriptor)), in LiftoffCompiler()
1422 auto call_descriptor = compiler::Linkage::GetRuntimeCallDescriptor( in GenerateRuntimeCall() local
1430 call_descriptor->GetInputLocation(kInputShift); in GenerateRuntimeCall()
1592 auto call_descriptor = in CallDirect() local
1594 call_descriptor = in CallDirect()
1595 GetLoweredCallDescriptor(compilation_zone_, call_descriptor); in CallDirect()
1619 __ PrepareCall(imm.sig, call_descriptor, &target_reg, explicit_instance); in CallDirect()
1623 __ CallIndirect(imm.sig, call_descriptor, target_reg); in CallDirect()
1628 __ FinishCall(imm.sig, call_descriptor); in CallDirect()
[all …]
/external/v8/src/
Dcode-stubs.h303 CallInterfaceDescriptor call_descriptor() const { return call_descriptor_; } in call_descriptor() function
306 return call_descriptor().GetRegisterParameterCount(); in GetRegisterParameterCount()
310 return call_descriptor().GetStackParameterCount(); in GetStackParameterCount()
314 return call_descriptor().GetParameterCount(); in GetParameterCount()
318 return call_descriptor().GetRegisterParameter(index); in GetRegisterParameter()
322 return call_descriptor().GetParameterType(index); in GetParameterType()
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc2166 auto call_descriptor = gen_->linkage()->GetIncomingDescriptor(); in AssembleArchTrap() local
2168 static_cast<int>(call_descriptor->StackParameterCount()); in AssembleArchTrap()
2306 auto call_descriptor = linkage()->GetIncomingDescriptor(); in FinishFrame() local
2307 const RegList double_saves = call_descriptor->CalleeSavedFPRegisters(); in FinishFrame()
2319 ? call_descriptor->CalleeSavedRegisters() & in FinishFrame()
2321 : call_descriptor->CalleeSavedRegisters(); in FinishFrame()
2332 auto call_descriptor = linkage()->GetIncomingDescriptor(); in AssembleConstructFrame() local
2334 if (call_descriptor->IsCFunctionCall()) { in AssembleConstructFrame()
2345 } else if (call_descriptor->IsJSFunctionCall()) { in AssembleConstructFrame()
2347 if (call_descriptor->PushArgumentCount()) { in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/arm64/
Dcode-generator-arm64.cc2260 auto call_descriptor = gen_->linkage()->GetIncomingDescriptor(); in AssembleArchTrap() local
2262 static_cast<int>(call_descriptor->StackParameterCount()); in AssembleArchTrap()
2347 auto call_descriptor = linkage()->GetIncomingDescriptor(); in FinishFrame() local
2351 call_descriptor->CalleeSavedFPRegisters()); in FinishFrame()
2361 call_descriptor->CalleeSavedRegisters()); in FinishFrame()
2370 auto call_descriptor = linkage()->GetIncomingDescriptor(); in AssembleConstructFrame() local
2376 call_descriptor->CalculateFixedFrameSize(); in AssembleConstructFrame()
2379 call_descriptor->CalleeSavedRegisters()); in AssembleConstructFrame()
2381 call_descriptor->CalleeSavedFPRegisters()); in AssembleConstructFrame()
2388 if (call_descriptor->IsJSFunctionCall()) { in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc299 auto call_descriptor = gen_->linkage()->GetIncomingDescriptor(); in GenerateCallToTrap() local
300 size_t pop_size = call_descriptor->StackParameterCount() * kPointerSize; in GenerateCallToTrap()
3033 auto call_descriptor = linkage()->GetIncomingDescriptor(); in FinishFrame() local
3035 const RegList saves_fp = call_descriptor->CalleeSavedFPRegisters(); in FinishFrame()
3044 const RegList saves = call_descriptor->CalleeSavedRegisters(); in FinishFrame()
3057 auto call_descriptor = linkage()->GetIncomingDescriptor(); in AssembleConstructFrame() local
3061 if (call_descriptor->IsCFunctionCall()) { in AssembleConstructFrame()
3064 } else if (call_descriptor->IsJSFunctionCall()) { in AssembleConstructFrame()
3066 if (call_descriptor->PushArgumentCount()) { in AssembleConstructFrame()
3071 if (call_descriptor->IsWasmFunctionCall()) { in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/s390/
Dcode-generator-s390.cc2823 auto call_descriptor = gen_->linkage()->GetIncomingDescriptor(); in AssembleArchTrap() local
2825 static_cast<int>(call_descriptor->StackParameterCount()); in AssembleArchTrap()
2935 auto call_descriptor = linkage()->GetIncomingDescriptor(); in FinishFrame() local
2936 const RegList double_saves = call_descriptor->CalleeSavedFPRegisters(); in FinishFrame()
2947 const RegList saves = call_descriptor->CalleeSavedRegisters(); in FinishFrame()
2957 auto call_descriptor = linkage()->GetIncomingDescriptor(); in AssembleConstructFrame() local
2960 if (call_descriptor->IsCFunctionCall()) { in AssembleConstructFrame()
2963 } else if (call_descriptor->IsJSFunctionCall()) { in AssembleConstructFrame()
2965 if (call_descriptor->PushArgumentCount()) { in AssembleConstructFrame()
2973 if (call_descriptor->IsWasmFunctionCall()) { in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/mips/
Dcode-generator-mips.cc2972 auto call_descriptor = gen_->linkage()->GetIncomingDescriptor(); in AssembleArchTrap() local
2974 static_cast<int>(call_descriptor->StackParameterCount()); in AssembleArchTrap()
3183 auto call_descriptor = linkage()->GetIncomingDescriptor(); in FinishFrame() local
3185 const RegList saves_fpu = call_descriptor->CalleeSavedFPRegisters(); in FinishFrame()
3197 const RegList saves = call_descriptor->CalleeSavedRegisters(); in FinishFrame()
3206 auto call_descriptor = linkage()->GetIncomingDescriptor(); in AssembleConstructFrame() local
3208 if (call_descriptor->IsCFunctionCall()) { in AssembleConstructFrame()
3211 } else if (call_descriptor->IsJSFunctionCall()) { in AssembleConstructFrame()
3213 if (call_descriptor->PushArgumentCount()) { in AssembleConstructFrame()
3218 if (call_descriptor->IsWasmFunctionCall()) { in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/mips64/
Dcode-generator-mips64.cc3210 auto call_descriptor = gen_->linkage()->GetIncomingDescriptor(); in AssembleArchTrap() local
3212 static_cast<int>(call_descriptor->StackParameterCount()); in AssembleArchTrap()
3436 auto call_descriptor = linkage()->GetIncomingDescriptor(); in FinishFrame() local
3438 const RegList saves_fpu = call_descriptor->CalleeSavedFPRegisters(); in FinishFrame()
3446 const RegList saves = call_descriptor->CalleeSavedRegisters(); in FinishFrame()
3455 auto call_descriptor = linkage()->GetIncomingDescriptor(); in AssembleConstructFrame() local
3458 if (call_descriptor->IsCFunctionCall()) { in AssembleConstructFrame()
3461 } else if (call_descriptor->IsJSFunctionCall()) { in AssembleConstructFrame()
3463 if (call_descriptor->PushArgumentCount()) { in AssembleConstructFrame()
3468 if (call_descriptor->IsWasmFunctionCall()) { in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc2914 auto call_descriptor = gen_->linkage()->GetIncomingDescriptor(); in AssembleArchTrap() local
2916 static_cast<int>(call_descriptor->StackParameterCount()); in AssembleArchTrap()
2995 auto call_descriptor = linkage()->GetIncomingDescriptor(); in FinishFrame() local
2997 const RegList saves_fp = call_descriptor->CalleeSavedFPRegisters(); in FinishFrame()
3011 const RegList saves = call_descriptor->CalleeSavedRegisters(); in FinishFrame()
3019 auto call_descriptor = linkage()->GetIncomingDescriptor(); in AssembleConstructFrame() local
3021 if (call_descriptor->IsCFunctionCall()) { in AssembleConstructFrame()
3024 } else if (call_descriptor->IsJSFunctionCall()) { in AssembleConstructFrame()
3026 if (call_descriptor->PushArgumentCount()) { in AssembleConstructFrame()
3031 if (call_descriptor->IsWasmFunctionCall()) { in AssembleConstructFrame()
[all …]

123