Home
last modified time | relevance | path

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

123

/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()
67 bool CallDescriptor::HasSameReturnLocationsAs( in HasSameReturnLocationsAs()
68 const CallDescriptor* other) const { in HasSameReturnLocationsAs()
76 int CallDescriptor::GetStackParameterDelta( in GetStackParameterDelta()
77 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 …]
Djs-generic-lowering.cc25 CallDescriptor::Flags FrameStateFlagForCall(Node* node) { in FrameStateFlagForCall()
27 ? CallDescriptor::kNeedsFrameState in FrameStateFlagForCall()
28 : CallDescriptor::kNoFlags; in FrameStateFlagForCall()
55 CallDescriptor::Flags flags = FrameStateFlagForCall(node); \
86 CallDescriptor::Flags flags) { in REPLACE_STUB_CALL()
91 CallDescriptor::Flags flags, in ReplaceWithStubCall()
95 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReplaceWithStubCall()
107 CallDescriptor::Flags flags = FrameStateFlagForCall(node); in ReplaceWithRuntimeCall()
111 CallDescriptor* desc = in ReplaceWithRuntimeCall()
126 ReplaceWithStubCall(node, callable, CallDescriptor::kNoFlags, in LowerJSStrictEqual()
[all …]
Dwasm-linkage.cc23 using compiler::CallDescriptor;
279 CallDescriptor* ModuleEnv::GetWasmCallDescriptor(Zone* zone, in GetWasmCallDescriptor()
309 return new (zone) CallDescriptor( // -- in GetWasmCallDescriptor()
310 CallDescriptor::kCallCodeObject, // kind in GetWasmCallDescriptor()
318 CallDescriptor::kUseNativeStack, // flags in GetWasmCallDescriptor()
322 CallDescriptor* ReplaceTypeInCallDescriptorWith( in ReplaceTypeInCallDescriptorWith()
323 Zone* zone, CallDescriptor* descriptor, size_t num_replacements, in ReplaceTypeInCallDescriptorWith()
370 return new (zone) CallDescriptor( // -- in ReplaceTypeInCallDescriptorWith()
383 CallDescriptor* ModuleEnv::GetI32WasmCallDescriptor( in GetI32WasmCallDescriptor()
384 Zone* zone, CallDescriptor* descriptor) { in GetI32WasmCallDescriptor()
[all …]
Dpipeline.h27 class CallDescriptor; variable
42 CompilationInfo* info, JSGraph* jsgraph, CallDescriptor* descriptor,
51 CallDescriptor* call_descriptor,
74 CompilationInfo* info, CallDescriptor* call_descriptor, Graph* graph,
Draw-machine-assembler.cc17 Isolate* isolate, Graph* graph, CallDescriptor* call_descriptor, in RawMachineAssembler()
180 Node* RawMachineAssembler::CallN(CallDescriptor* desc, int input_count, in CallN()
188 Node* RawMachineAssembler::CallNWithFrameState(CallDescriptor* desc, in CallNWithFrameState()
197 Node* RawMachineAssembler::TailCallN(CallDescriptor* desc, int input_count, in TailCallN()
211 const CallDescriptor* descriptor = in CallCFunction0()
224 const CallDescriptor* descriptor = in CallCFunction1()
239 const CallDescriptor* descriptor = in CallCFunction2()
255 const CallDescriptor* descriptor = in CallCFunction3()
278 const CallDescriptor* descriptor = in CallCFunction8()
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()
Dcode-assembler.cc46 CallDescriptor::kNoFlags, Operator::kNoProperties, in CodeAssemblerState()
57 ? CallDescriptor::kPushArgumentCount in CodeAssemblerState()
58 : CallDescriptor::kNoFlags), in CodeAssemblerState()
62 CallDescriptor* call_descriptor, in CodeAssemblerState()
258 CallDescriptor* desc = raw_assembler()->call_descriptor(); in GetJSContextParameter()
505 CallDescriptor* desc = Linkage::GetRuntimeCallDescriptor( in CallRuntime()
507 CallDescriptor::kNoFlags); in CallRuntime()
534 CallDescriptor* desc = Linkage::GetRuntimeCallDescriptor( in REPEAT_1_TO_7()
536 CallDescriptor::kSupportsTailCalls); in REPEAT_1_TO_7()
581 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in REPEAT_1_TO_7()
[all …]
Djs-generic-lowering.h39 void ReplaceWithStubCall(Node* node, Callable c, CallDescriptor::Flags flags);
40 void ReplaceWithStubCall(Node* node, Callable c, CallDescriptor::Flags flags,
Deffect-control-linearizer.cc1117 CallDescriptor const* desc = Linkage::GetRuntimeCallDescriptor( in LowerCheckMaps()
1118 graph()->zone(), id, 1, properties, CallDescriptor::kNoFlags); in LowerCheckMaps()
1847 CallDescriptor::Flags const flags = CallDescriptor::kNoFlags; in LowerNewRestParameterElements()
1848 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in LowerNewRestParameterElements()
1861 CallDescriptor::Flags const flags = CallDescriptor::kNoFlags; in LowerNewUnmappedArgumentsElements()
1862 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in LowerNewUnmappedArgumentsElements()
1888 CallDescriptor::Flags flags = CallDescriptor::kNoFlags; in LowerStringCharAt()
1889 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in LowerStringCharAt()
1901 CallDescriptor::Flags flags = CallDescriptor::kNoFlags; in LowerStringCharCodeAt()
1902 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in LowerStringCharCodeAt()
[all …]
Dcommon-operator.h21 class CallDescriptor; variable
100 V8_EXPORT_PRIVATE CallDescriptor const* CallDescriptorOf(const Operator* const);
371 const Operator* Call(const CallDescriptor* descriptor); in NON_EXPORTED_BASE()
372 const Operator* TailCall(const CallDescriptor* descriptor); in NON_EXPORTED_BASE()
Djs-create-lowering.cc337 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceJSCreateArguments()
339 CallDescriptor::kNoFlags, properties); in ReduceJSCreateArguments()
379 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceJSCreateArguments()
381 CallDescriptor::kNeedsFrameState, properties); in ReduceJSCreateArguments()
418 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceJSCreateArguments()
420 CallDescriptor::kNeedsFrameState, properties); in ReduceJSCreateArguments()
600 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceNewArrayToStubCall()
602 CallDescriptor::kNeedsFrameState); in ReduceNewArrayToStubCall()
618 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceNewArrayToStubCall()
620 CallDescriptor::kNeedsFrameState); in ReduceNewArrayToStubCall()
[all …]
Djs-typed-lowering.cc589 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSAdd()
591 CallDescriptor::kNeedsFrameState, properties); in ReduceJSAdd()
1263 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSToObject()
1265 CallDescriptor::kNeedsFrameState, node->op()->properties()); in ReduceJSToObject()
1779 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSConvertReceiver()
1781 CallDescriptor::kNoFlags, node->op()->properties()); in ReduceJSConvertReceiver()
1837 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSConvertReceiver()
1839 CallDescriptor::kNoFlags, node->op()->properties()); in ReduceJSConvertReceiver()
1885 int builtin_index, int arity, CallDescriptor::Flags flags) { in ReduceBuiltin()
1907 DCHECK_EQ(0, flags & CallDescriptor::kSupportsTailCalls); in ReduceBuiltin()
[all …]
Dcommon-operator.cc97 CallDescriptor const* CallDescriptorOf(const Operator* const op) { in CallDescriptorOf()
100 return OpParameter<CallDescriptor const*>(op); in CallDescriptorOf()
1271 const Operator* CommonOperatorBuilder::Call(const CallDescriptor* descriptor) { in Call()
1272 class CallOperator final : public Operator1<const CallDescriptor*> { in Call()
1274 explicit CallOperator(const CallDescriptor* descriptor) in Call()
1275 : Operator1<const CallDescriptor*>( in Call()
1293 const CallDescriptor* descriptor) { in TailCall()
1294 class TailCallOperator final : public Operator1<const CallDescriptor*> { in TailCall()
1296 explicit TailCallOperator(const CallDescriptor* descriptor) in TailCall()
1297 : Operator1<const CallDescriptor*>( in TailCall()
Dinstruction-selector.cc402 CallDescriptor::kCanUseRoots; in CanUseRootsRegister()
626 CallBuffer(Zone* zone, const CallDescriptor* descriptor, in CallBuffer()
641 const CallDescriptor* descriptor;
720 case CallDescriptor::kCallCodeObject: in InitializeCallBuffer()
726 case CallDescriptor::kCallAddress: in InitializeCallBuffer()
733 case CallDescriptor::kCallJSFunction: in InitializeCallBuffer()
2339 const CallDescriptor* descriptor = CallDescriptorOf(node->op()); in VisitCall()
2360 CallDescriptor::Flags flags = descriptor->flags(); in VisitCall()
2363 flags |= CallDescriptor::kHasExceptionHandler; in VisitCall()
2372 flags |= to_native_stack ? CallDescriptor::kRestoreJSSP in VisitCall()
[all …]
Dpipeline.cc284 void InitializeInstructionSequence(const CallDescriptor* descriptor) { in InitializeInstructionSequence()
299 void InitializeFrameData(CallDescriptor* descriptor) { in InitializeFrameData()
309 CallDescriptor* descriptor) { in InitializeRegisterAllocationData()
407 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
409 CallDescriptor* descriptor, bool run_verifier);
644 CompilationInfo* info, JSGraph* jsgraph, CallDescriptor* descriptor, in PipelineWasmCompilationJob()
1658 CallDescriptor* call_descriptor, in GenerateCodeForCodeStub()
1717 CallDescriptor* call_descriptor = in GenerateCodeForTesting()
1724 CompilationInfo* info, CallDescriptor* call_descriptor, Graph* graph, in GenerateCodeForTesting()
1767 CompilationInfo* info, JSGraph* jsgraph, CallDescriptor* descriptor, in NewWasmCompilationJob()
[all …]
Dgraph-assembler.cc224 CallDescriptor::Flags flags = CallDescriptor::kNoFlags; in ToNumberOperator()
225 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ToNumberOperator()
Djs-call-reducer.cc398 CallDescriptor* call_descriptor = Linkage::GetStubCallDescriptor( in ReduceCallApiFunction()
401 CallDescriptor::kNeedsFrameState, Operator::kNoProperties, in ReduceCallApiFunction()
593 CallDescriptor::Flags flags = CallDescriptor::kNeedsFrameState; in ReduceJSCall()
594 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSCall()
Dmachine-graph-verifier.cc33 CallDescriptor* call_descriptor() const { in call_descriptor()
65 CallDescriptor const* desc = CallDescriptorOf(input->op()); in GetProjectionType()
137 CallDescriptor const* desc = CallDescriptorOf(node->op()); in Run()
705 CallDescriptor const* desc = CallDescriptorOf(node->op()); in CheckCallInputs()
Dframe.h15 class CallDescriptor; variable
Dcode-generator.cc294 const CallDescriptor* incoming_descriptor = in IsMaterializableFromRoot()
296 if (incoming_descriptor->flags() & CallDescriptor::kCanUseRoots) { in IsMaterializableFromRoot()
619 CallDescriptor::Flags flags(MiscField::decode(instr->opcode())); in RecordCallPosition()
621 bool needs_frame_state = (flags & CallDescriptor::kNeedsFrameState); in RecordCallPosition()
627 if (flags & CallDescriptor::kHasExceptionHandler) { in RecordCallPosition()
Draw-machine-assembler.h41 Isolate* isolate, Graph* graph, CallDescriptor* call_descriptor,
55 CallDescriptor* call_descriptor() const { return call_descriptor_; } in call_descriptor()
719 Node* CallN(CallDescriptor* desc, int input_count, Node* const* inputs);
723 Node* CallNWithFrameState(CallDescriptor* desc, int input_count,
728 Node* TailCallN(CallDescriptor* desc, int input_count, Node* const* inputs);
824 CallDescriptor* call_descriptor_;
Dmemory-optimizer.cc225 CallDescriptor* descriptor = in VisitAllocate()
280 CallDescriptor* descriptor = in VisitAllocate()
321 if (!(CallDescriptorOf(node->op())->flags() & CallDescriptor::kNoAllocate)) { in VisitCall()
Dwasm-compiler.cc75 CallDescriptor* desc = Linkage::GetRuntimeCallDescriptor( in BuildCallToRuntimeWithContext()
77 CallDescriptor::kNoFlags); in BuildCallToRuntimeWithContext()
504 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in StackCheck()
506 CallDescriptor::kNoFlags, Operator::kNoProperties); in StackCheck()
2230 CallDescriptor* desc = in BuildCCall()
2253 CallDescriptor* descriptor = in BuildWasmCall()
2496 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in BuildJavaScriptToNumber()
2498 CallDescriptor::kNoFlags, Operator::kNoProperties); in BuildJavaScriptToNumber()
2711 CallDescriptor* descriptor = Linkage::GetStubCallDescriptor( in BuildAllocateHeapNumberWithValue()
2713 CallDescriptor::kNoFlags, Operator::kNoThrow); in BuildAllocateHeapNumberWithValue()
[all …]
/external/v8/src/wasm/
Dwasm-module.h30 class CallDescriptor; variable
316 static compiler::CallDescriptor* GetWasmCallDescriptor(Zone* zone,
318 static compiler::CallDescriptor* GetI32WasmCallDescriptor(
319 Zone* zone, compiler::CallDescriptor* descriptor);
320 static compiler::CallDescriptor* GetI32WasmCallDescriptorForSimd(
321 Zone* zone, compiler::CallDescriptor* descriptor);

123