Home
last modified time | relevance | path

Searched refs:CallDescriptor (Results 1 – 25 of 48) sorted by relevance

12

/external/v8/src/compiler/
Dlinkage.cc30 std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k) { in operator <<()
32 case CallDescriptor::kCallCodeObject: in operator <<()
35 case CallDescriptor::kCallJSFunction: in operator <<()
38 case CallDescriptor::kCallAddress: in operator <<()
46 std::ostream& operator<<(std::ostream& os, const CallDescriptor& d) { in operator <<()
53 MachineSignature* CallDescriptor::GetMachineSignature(Zone* zone) const { in GetMachineSignature()
68 bool CallDescriptor::HasSameReturnLocationsAs( in HasSameReturnLocationsAs()
69 const CallDescriptor* other) const { in HasSameReturnLocationsAs()
77 int CallDescriptor::GetStackParameterDelta( in GetStackParameterDelta()
78 CallDescriptor const* tail_caller) const { in GetStackParameterDelta()
[all …]
Dlinkage.h104 friend class CallDescriptor;
166 class V8_EXPORT_PRIVATE CallDescriptor final
196 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc, in NON_EXPORTED_BASE()
296 bool HasSameReturnLocationsAs(const CallDescriptor* other) const; in NON_EXPORTED_BASE()
298 int GetStackParameterDelta(const CallDescriptor* tail_caller = nullptr) const; in NON_EXPORTED_BASE()
318 DISALLOW_COPY_AND_ASSIGN(CallDescriptor); in NON_EXPORTED_BASE()
321 DEFINE_OPERATORS_FOR_FLAGS(CallDescriptor::Flags)
323 std::ostream& operator<<(std::ostream& os, const CallDescriptor& d);
325 const CallDescriptor::Kind& k);
343 explicit Linkage(CallDescriptor* incoming) : incoming_(incoming) {} in NON_EXPORTED_BASE()
[all …]
Draw-machine-assembler.cc17 Isolate* isolate, Graph* graph, CallDescriptor* call_descriptor, in RawMachineAssembler()
173 Node* RawMachineAssembler::CallN(CallDescriptor* desc, Node* function, in CallN()
187 Node* RawMachineAssembler::CallNWithFrameState(CallDescriptor* desc, in CallNWithFrameState()
205 CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( in CallRuntime0()
206 zone(), function, 0, Operator::kNoProperties, CallDescriptor::kNoFlags); in CallRuntime0()
219 CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( in CallRuntime1()
220 zone(), function, 1, Operator::kNoProperties, CallDescriptor::kNoFlags); in CallRuntime1()
234 CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( in CallRuntime2()
235 zone(), function, 2, Operator::kNoProperties, CallDescriptor::kNoFlags); in CallRuntime2()
250 CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( in CallRuntime3()
[all …]
Djs-generic-lowering.cc23 CallDescriptor::Flags FrameStateFlagForCall(Node* node) { in FrameStateFlagForCall()
25 ? CallDescriptor::kNeedsFrameState in FrameStateFlagForCall()
26 : CallDescriptor::kNoFlags; in FrameStateFlagForCall()
53 CallDescriptor::Flags flags = FrameStateFlagForCall(node); \
84 CallDescriptor::Flags flags) { in REPLACE_STUB_CALL()
89 CallDescriptor::Flags flags, in ReplaceWithStubCall()
92 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReplaceWithStubCall()
104 CallDescriptor::Flags flags = FrameStateFlagForCall(node); in ReplaceWithRuntimeCall()
108 CallDescriptor* desc = in ReplaceWithRuntimeCall()
123 ReplaceWithStubCall(node, callable, CallDescriptor::kNoFlags, in LowerJSStrictEqual()
[all …]
Dcode-assembler.cc37 CallDescriptor::kNoFlags, Operator::kNoProperties, in CodeAssembler()
47 ? CallDescriptor::kPushArgumentCount in CodeAssembler()
48 : CallDescriptor::kNoFlags), in CodeAssembler()
52 CallDescriptor* call_descriptor, Code::Flags flags, in CodeAssembler()
366 Node* CodeAssembler::CallN(CallDescriptor* descriptor, Node* code_target, in CallN()
374 Node* CodeAssembler::TailCallN(CallDescriptor* descriptor, Node* code_target, in TailCallN()
514 CallDescriptor* call_descriptor = Linkage::GetStubCallDescriptor( in CallStub()
516 CallDescriptor::kNoFlags, Operator::kNoProperties, in CallStub()
528 CallDescriptor* call_descriptor = Linkage::GetStubCallDescriptor( in CallStub()
530 CallDescriptor::kNoFlags, Operator::kNoProperties, in CallStub()
[all …]
Dwasm-linkage.cc22 using compiler::CallDescriptor;
278 CallDescriptor* ModuleEnv::GetWasmCallDescriptor(Zone* zone, in GetWasmCallDescriptor()
308 return new (zone) CallDescriptor( // -- in GetWasmCallDescriptor()
309 CallDescriptor::kCallCodeObject, // kind in GetWasmCallDescriptor()
317 CallDescriptor::kUseNativeStack, // flags in GetWasmCallDescriptor()
321 CallDescriptor* ReplaceTypeInCallDescriptorWith( in ReplaceTypeInCallDescriptorWith()
322 Zone* zone, CallDescriptor* descriptor, size_t num_replacements, in ReplaceTypeInCallDescriptorWith()
369 return new (zone) CallDescriptor( // -- in ReplaceTypeInCallDescriptorWith()
382 CallDescriptor* ModuleEnv::GetI32WasmCallDescriptor( in GetI32WasmCallDescriptor()
383 Zone* zone, CallDescriptor* descriptor) { in GetI32WasmCallDescriptor()
[all …]
Dpipeline.h22 class CallDescriptor; variable
35 CompilationInfo* info, Graph* graph, CallDescriptor* descriptor,
41 CallDescriptor* call_descriptor,
64 CallDescriptor* call_descriptor,
Dc-linkage.cc156 CallDescriptor* Linkage::GetSimplifiedCDescriptor( in GetSimplifiedCDescriptor()
232 CallDescriptor::Flags flags = CallDescriptor::kUseNativeStack; in GetSimplifiedCDescriptor()
234 flags |= CallDescriptor::kInitializeRootRegister; in GetSimplifiedCDescriptor()
237 return new (zone) CallDescriptor( // -- in GetSimplifiedCDescriptor()
238 CallDescriptor::kCallAddress, // kind in GetSimplifiedCDescriptor()
Djs-generic-lowering.h39 void ReplaceWithStubCall(Node* node, Callable c, CallDescriptor::Flags flags);
40 void ReplaceWithStubCall(Node* node, Callable c, CallDescriptor::Flags flags,
Dcommon-operator.h21 class CallDescriptor; variable
106 V8_EXPORT_PRIVATE CallDescriptor const* CallDescriptorOf(const Operator* const);
253 const Operator* Call(const CallDescriptor* descriptor); in NON_EXPORTED_BASE()
254 const Operator* TailCall(const CallDescriptor* descriptor); in NON_EXPORTED_BASE()
Dcommon-operator.cc105 CallDescriptor const* CallDescriptorOf(const Operator* const op) { in CallDescriptorOf()
108 return OpParameter<CallDescriptor const*>(op); in CallDescriptorOf()
1058 const Operator* CommonOperatorBuilder::Call(const CallDescriptor* descriptor) { in Call()
1059 class CallOperator final : public Operator1<const CallDescriptor*> { in Call()
1061 explicit CallOperator(const CallDescriptor* descriptor) in Call()
1062 : Operator1<const CallDescriptor*>( in Call()
1080 const CallDescriptor* descriptor) { in TailCall()
1081 class TailCallOperator final : public Operator1<const CallDescriptor*> { in TailCall()
1083 explicit TailCallOperator(const CallDescriptor* descriptor) in TailCall()
1084 : Operator1<const CallDescriptor*>( in TailCall()
Dinstruction-selector.cc402 CallDescriptor::kCanUseRoots; in CanUseRootsRegister()
593 CallBuffer(Zone* zone, const CallDescriptor* descriptor, in CallBuffer()
608 const CallDescriptor* descriptor;
687 case CallDescriptor::kCallCodeObject: in InitializeCallBuffer()
693 case CallDescriptor::kCallAddress: in InitializeCallBuffer()
700 case CallDescriptor::kCallJSFunction: in InitializeCallBuffer()
1829 const CallDescriptor* descriptor = CallDescriptorOf(node->op()); in VisitCall()
1850 CallDescriptor::Flags flags = descriptor->flags(); in VisitCall()
1853 flags |= CallDescriptor::kHasExceptionHandler; in VisitCall()
1862 flags |= to_native_stack ? CallDescriptor::kRestoreJSSP in VisitCall()
[all …]
Djs-create-lowering.cc305 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceJSCreateArguments()
307 CallDescriptor::kNoFlags, properties); in ReduceJSCreateArguments()
318 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceJSCreateArguments()
320 CallDescriptor::kNeedsFrameState, properties); in ReduceJSCreateArguments()
330 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceJSCreateArguments()
332 CallDescriptor::kNeedsFrameState, properties); in ReduceJSCreateArguments()
511 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceNewArrayToStubCall()
513 CallDescriptor::kNeedsFrameState); in ReduceNewArrayToStubCall()
529 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceNewArrayToStubCall()
531 CallDescriptor::kNeedsFrameState); in ReduceNewArrayToStubCall()
[all …]
Djs-typed-lowering.cc512 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSAdd()
514 CallDescriptor::kNeedsFrameState, node->op()->properties()); in ReduceJSAdd()
1147 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSToObject()
1149 CallDescriptor::kNeedsFrameState, node->op()->properties()); in ReduceJSToObject()
1643 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSConvertReceiver()
1645 CallDescriptor::kNeedsFrameState, node->op()->properties()); in ReduceJSConvertReceiver()
1700 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSConvertReceiver()
1702 CallDescriptor::kNeedsFrameState, node->op()->properties()); in ReduceJSConvertReceiver()
1748 int builtin_index, int arity, CallDescriptor::Flags flags) { in ReduceBuiltin()
1770 DCHECK_EQ(0, flags & CallDescriptor::kSupportsTailCalls); in ReduceBuiltin()
[all …]
Dpipeline.cc267 void InitializeInstructionSequence(const CallDescriptor* descriptor) { in InitializeInstructionSequence()
282 void InitializeFrameData(CallDescriptor* descriptor) { in InitializeFrameData()
292 CallDescriptor* descriptor) { in InitializeRegisterAllocationData()
384 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
386 CallDescriptor* descriptor, bool run_verifier);
616 CallDescriptor* descriptor, in PipelineWasmCompilationJob()
1642 CallDescriptor* call_descriptor, in GenerateCodeForCodeStub()
1693 CallDescriptor* call_descriptor = in GenerateCodeForTesting()
1700 CallDescriptor* call_descriptor, in GenerateCodeForTesting()
1732 CompilationInfo* info, Graph* graph, CallDescriptor* descriptor, in NewWasmCompilationJob()
[all …]
Dcode-assembler.h32 class CallDescriptor; variable
477 CodeAssembler(Isolate* isolate, Zone* zone, CallDescriptor* call_descriptor,
480 Node* CallN(CallDescriptor* descriptor, Node* code_target, Node** args);
481 Node* TailCallN(CallDescriptor* descriptor, Node* code_target, Node** args);
Dwasm-compiler.cc75 CallDescriptor* desc = Linkage::GetRuntimeCallDescriptor( in BuildCallToRuntime()
77 CallDescriptor::kNoFlags); in BuildCallToRuntime()
1726 CallDescriptor* desc = Linkage::GetRuntimeCallDescriptor( in GrowMemory()
1728 CallDescriptor::kNoFlags); in GrowMemory()
2101 CallDescriptor* desc = in BuildCCall()
2124 CallDescriptor* descriptor = in BuildWasmCall()
2373 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in BuildJavaScriptToNumber()
2375 CallDescriptor::kNoFlags, Operator::kNoProperties); in BuildJavaScriptToNumber()
2591 CallDescriptor* descriptor = Linkage::GetStubCallDescriptor( in BuildAllocateHeapNumberWithValue()
2593 CallDescriptor::kNoFlags, Operator::kNoThrow); in BuildAllocateHeapNumberWithValue()
[all …]
Dcode-generator.cc288 const CallDescriptor* incoming_descriptor = in IsMaterializableFromRoot()
290 if (incoming_descriptor->flags() & CallDescriptor::kCanUseRoots) { in IsMaterializableFromRoot()
597 CallDescriptor::Flags flags(MiscField::decode(instr->opcode())); in RecordCallPosition()
599 bool needs_frame_state = (flags & CallDescriptor::kNeedsFrameState); in RecordCallPosition()
605 if (flags & CallDescriptor::kHasExceptionHandler) { in RecordCallPosition()
Dframe.h15 class CallDescriptor; variable
Draw-machine-assembler.h41 Isolate* isolate, Graph* graph, CallDescriptor* call_descriptor,
55 CallDescriptor* call_descriptor() const { return call_descriptor_; } in call_descriptor()
704 Node* CallN(CallDescriptor* desc, Node* function, Node** args);
706 Node* CallNWithFrameState(CallDescriptor* desc, Node* function, Node** args,
743 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args);
837 CallDescriptor* call_descriptor_;
Deffect-control-linearizer.cc2298 CallDescriptor const* desc = Linkage::GetRuntimeCallDescriptor( in LowerStringCharCodeAt()
2299 graph()->zone(), id, 1, properties, CallDescriptor::kNoFlags); in LowerStringCharCodeAt()
2395 CallDescriptor const* desc = Linkage::GetRuntimeCallDescriptor( in LowerStringCharCodeAt()
2396 graph()->zone(), id, 2, properties, CallDescriptor::kNoFlags); in LowerStringCharCodeAt()
2513 CallDescriptor const* desc = Linkage::GetRuntimeCallDescriptor( in LowerStringFromCharCode()
2514 graph()->zone(), id, 1, properties, CallDescriptor::kNoFlags); in LowerStringFromCharCode()
2729 CallDescriptor::Flags flags = CallDescriptor::kNoFlags; in LowerStringComparison()
2730 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in LowerStringComparison()
3028 CallDescriptor::Flags flags = CallDescriptor::kNoFlags; in LowerEnsureWritableFastElements()
3029 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in LowerEnsureWritableFastElements()
[all …]
Dmachine-graph-verifier.cc61 CallDescriptor const* desc = CallDescriptorOf(input->op()); in GetProjectionType()
112 CallDescriptor const* desc = CallDescriptorOf(node->op()); in Run()
575 CallDescriptor const* desc = CallDescriptorOf(node->op()); in CheckCallInputs()
Dmemory-optimizer.cc228 CallDescriptor* descriptor = in VisitAllocate()
306 CallDescriptor* descriptor = in VisitAllocate()
346 if (!(CallDescriptorOf(node->op())->flags() & CallDescriptor::kNoAllocate)) { in VisitCall()
/external/v8/src/wasm/
Dwasm-module.h27 class CallDescriptor; variable
336 static compiler::CallDescriptor* GetWasmCallDescriptor(Zone* zone,
338 static compiler::CallDescriptor* GetI32WasmCallDescriptor(
339 Zone* zone, compiler::CallDescriptor* descriptor);
340 static compiler::CallDescriptor* GetI32WasmCallDescriptorForSimd(
341 Zone* zone, compiler::CallDescriptor* descriptor);
/external/v8/src/compiler/arm64/
Dcode-generator-arm64.cc546 const CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssembleDeconstructFrame()
643 CallDescriptor::Flags flags(MiscField::decode(opcode)); in AssembleArchInstruction()
644 if (flags & CallDescriptor::kRestoreJSSP) { in AssembleArchInstruction()
648 if (flags & CallDescriptor::kRestoreCSP) { in AssembleArchInstruction()
700 CallDescriptor::Flags flags(MiscField::decode(opcode)); in AssembleArchInstruction()
701 if (flags & CallDescriptor::kRestoreJSSP) { in AssembleArchInstruction()
705 if (flags & CallDescriptor::kRestoreCSP) { in AssembleArchInstruction()
1766 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in FinishFrame()
1793 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssembleConstructFrame()
1872 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssembleReturn()

12