Home
last modified time | relevance | path

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

123

/external/v8/src/compiler/
Dlinkage.cc55 std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k) { in operator <<()
57 case CallDescriptor::kCallCodeObject: in operator <<()
60 case CallDescriptor::kCallJSFunction: in operator <<()
63 case CallDescriptor::kCallAddress: in operator <<()
66 case CallDescriptor::kLazyBailout: in operator <<()
74 std::ostream& operator<<(std::ostream& os, const CallDescriptor& d) { in operator <<()
82 bool CallDescriptor::HasSameReturnLocationsAs( in HasSameReturnLocationsAs()
83 const CallDescriptor* other) const { in HasSameReturnLocationsAs()
92 bool CallDescriptor::CanTailCall(const Node* node, in CanTailCall()
94 CallDescriptor const* other = OpParameter<CallDescriptor const*>(node); in CanTailCall()
[all …]
Dlinkage.h89 friend class CallDescriptor;
137 class CallDescriptor final : public ZoneObject {
163 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc,
259 bool HasSameReturnLocationsAs(const CallDescriptor* other) const;
278 DISALLOW_COPY_AND_ASSIGN(CallDescriptor);
281 DEFINE_OPERATORS_FOR_FLAGS(CallDescriptor::Flags)
283 std::ostream& operator<<(std::ostream& os, const CallDescriptor& d);
284 std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k);
301 explicit Linkage(CallDescriptor* incoming) : incoming_(incoming) {} in Linkage()
303 static CallDescriptor* ComputeIncoming(Zone* zone, CompilationInfo* info);
[all …]
Djs-generic-lowering.cc19 static CallDescriptor::Flags AdjustFrameStatesForCall(Node* node) { in AdjustFrameStatesForCall()
27 return count > 0 ? CallDescriptor::kNeedsFrameState in AdjustFrameStatesForCall()
28 : CallDescriptor::kNoFlags; in AdjustFrameStatesForCall()
70 CallDescriptor::Flags flags = AdjustFrameStatesForCall(node); \
74 CallDescriptor::kPatchableCallSiteWithNop | flags); \
126 static CallDescriptor::Flags FlagsForNode(Node* node) {
127 CallDescriptor::Flags result = CallDescriptor::kNoFlags;
129 result |= CallDescriptor::kNeedsFrameState;
159 CallDescriptor* desc_compare = Linkage::GetStubCallDescriptor( in ReplaceWithCompareIC()
161 CallDescriptor::kPatchableCallSiteWithNop | FlagsForNode(node), in ReplaceWithCompareIC()
[all …]
Draw-machine-assembler.cc17 CallDescriptor* call_descriptor, in RawMachineAssembler()
123 Node* RawMachineAssembler::CallN(CallDescriptor* desc, Node* function, in CallN()
138 Node* RawMachineAssembler::CallNWithFrameState(CallDescriptor* desc, in CallNWithFrameState()
158 CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( in CallRuntime1()
159 zone(), function, 1, Operator::kNoProperties, CallDescriptor::kNoFlags); in CallRuntime1()
173 CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( in CallRuntime2()
174 zone(), function, 2, Operator::kNoProperties, CallDescriptor::kNoFlags); in CallRuntime2()
190 CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( in CallRuntime4()
191 zone(), function, 4, Operator::kNoProperties, CallDescriptor::kNoFlags); in CallRuntime4()
204 Node* RawMachineAssembler::TailCallN(CallDescriptor* desc, Node* function, in TailCallN()
[all …]
Dpipeline.h19 class CallDescriptor; variable
36 CallDescriptor* call_descriptor,
55 CallDescriptor* call_descriptor,
74 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
76 CallDescriptor* descriptor, bool run_verifier);
Dwasm-linkage.cc20 using compiler::CallDescriptor;
196 CallDescriptor* ModuleEnv::GetWasmCallDescriptor(Zone* zone, in GetWasmCallDescriptor()
267 return new (zone) CallDescriptor( // -- in GetWasmCallDescriptor()
268 CallDescriptor::kCallCodeObject, // kind in GetWasmCallDescriptor()
277 CallDescriptor::kUseNativeStack, // flags in GetWasmCallDescriptor()
Dinstruction-selector.cc458 CallBuffer(Zone* zone, const CallDescriptor* descriptor, in CallBuffer()
473 const CallDescriptor* descriptor;
552 case CallDescriptor::kCallCodeObject: in InitializeCallBuffer()
558 case CallDescriptor::kCallAddress: in InitializeCallBuffer()
565 case CallDescriptor::kCallJSFunction: in InitializeCallBuffer()
570 case CallDescriptor::kLazyBailout: in InitializeCallBuffer()
1317 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(call); in VisitIfException()
1383 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node); in VisitCall()
1404 CallDescriptor::Flags flags = descriptor->flags(); in VisitCall()
1409 flags |= CallDescriptor::kHasLocalCatchHandler; in VisitCall()
[all …]
Dcode-stub-assembler.h23 class CallDescriptor; variable
74 Node* CallN(CallDescriptor* descriptor, Node* code_target, Node** args);
75 Node* TailCallN(CallDescriptor* descriptor, Node* code_target, Node** args);
Dinterpreter-assembler.cc450 CallDescriptor* descriptor = Linkage::GetStubCallDescriptor( in CallConstruct()
451 isolate(), zone(), callable.descriptor(), 0, CallDescriptor::kNoFlags); in CallConstruct()
479 Node* InterpreterAssembler::CallN(CallDescriptor* descriptor, Node* code_target, in CallN()
502 CallDescriptor* descriptor = Linkage::GetStubCallDescriptor( in CallJS()
503 isolate(), zone(), callable.descriptor(), 0, CallDescriptor::kNoFlags); in CallJS()
519 CallDescriptor* call_descriptor = Linkage::GetStubCallDescriptor( in CallIC()
520 isolate(), zone(), descriptor, 0, CallDescriptor::kNoFlags); in CallIC()
567 CallDescriptor* descriptor = Linkage::GetStubCallDescriptor( in CallRuntime()
568 isolate(), zone(), callable.descriptor(), 0, CallDescriptor::kNoFlags, in CallRuntime()
741 CallDescriptor* InterpreterAssembler::call_descriptor() const { in call_descriptor()
Dtail-call-optimization.cc23 OpParameter<CallDescriptor const*>(call)->SupportsTailCalls() && in Reduce()
74 node, common()->TailCall(OpParameter<CallDescriptor const*>(call))); in Reduce()
Dcode-stub-assembler.cc34 CallDescriptor::kNoFlags))), in CodeStubAssembler()
127 Node* CodeStubAssembler::CallN(CallDescriptor* descriptor, Node* code_target, in CallN()
133 Node* CodeStubAssembler::TailCallN(CallDescriptor* descriptor, in TailCallN()
Dc-linkage.cc135 CallDescriptor* Linkage::GetSimplifiedCDescriptor( in GetSimplifiedCDescriptor()
213 return new (zone) CallDescriptor( // -- in GetSimplifiedCDescriptor()
214 CallDescriptor::kCallAddress, // kind in GetSimplifiedCDescriptor()
223 CallDescriptor::kNoFlags, // flags in GetSimplifiedCDescriptor()
Dcommon-operator.cc785 const Operator* CommonOperatorBuilder::Call(const CallDescriptor* descriptor) { in Call()
786 class CallOperator final : public Operator1<const CallDescriptor*> { in Call()
788 explicit CallOperator(const CallDescriptor* descriptor) in Call()
789 : Operator1<const CallDescriptor*>( in Call()
812 const CallDescriptor* descriptor) { in TailCall()
813 class TailCallOperator final : public Operator1<const CallDescriptor*> { in TailCall()
815 explicit TailCallOperator(const CallDescriptor* descriptor) in TailCall()
816 : Operator1<const CallDescriptor*>( in TailCall()
Dcommon-operator.h26 class CallDescriptor; variable
174 const Operator* Call(const CallDescriptor* descriptor);
175 const Operator* TailCall(const CallDescriptor* descriptor);
Dinterpreter-assembler.h26 class CallDescriptor; variable
163 CallDescriptor* call_descriptor() const;
190 Node* CallN(CallDescriptor* descriptor, Node* code_target, Node** args);
Djs-typed-lowering.cc470 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSAdd()
472 CallDescriptor::kNeedsFrameState, node->op()->properties()); in ReduceJSAdd()
647 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSEqual()
649 CallDescriptor::kNeedsFrameState, node->op()->properties()); in ReduceJSEqual()
932 CallDescriptor const* const desc = Linkage::GetStubCallDescriptor( in ReduceJSToObject()
934 CallDescriptor::kNeedsFrameState, node->op()->properties()); in ReduceJSToObject()
1532 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceJSCreateArguments()
1534 CallDescriptor::kNeedsFrameState); in ReduceJSCreateArguments()
1545 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in ReduceJSCreateArguments()
1547 CallDescriptor::kNeedsFrameState); in ReduceJSCreateArguments()
[all …]
Dcode-generator.cc267 const CallDescriptor* incoming_descriptor = in IsMaterializableFromRoot()
269 if (incoming_descriptor->flags() & CallDescriptor::kCanUseRoots) { in IsMaterializableFromRoot()
422 CallDescriptor::Flags flags(MiscField::decode(instr->opcode())); in RecordCallPosition()
424 bool needs_frame_state = (flags & CallDescriptor::kNeedsFrameState); in RecordCallPosition()
430 if (flags & CallDescriptor::kHasExceptionHandler) { in RecordCallPosition()
432 bool caught = flags & CallDescriptor::kHasLocalCatchHandler; in RecordCallPosition()
437 if (flags & CallDescriptor::kNeedsNopAfterCall) { in RecordCallPosition()
714 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in TailCallFrameStackSlotDelta()
/external/v8/test/unittests/compiler/
Dtail-call-optimization-unittest.cc33 const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( in TEST_F()
34 CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), in TEST_F()
38 Operator::kNoProperties, 0, 0, CallDescriptor::kNoFlags); in TEST_F()
55 const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( in TEST_F()
56 CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), in TEST_F()
60 Operator::kNoProperties, 0, 0, CallDescriptor::kSupportsTailCalls); in TEST_F()
81 const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( in TEST_F()
82 CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), in TEST_F()
86 Operator::kNoProperties, 0, 0, CallDescriptor::kSupportsTailCalls); in TEST_F()
105 const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( in TEST_F()
[all …]
Dlinkage-tail-call-unittest.cc26 CallDescriptor* NewStandardCallDescriptor(LocationSignature* locations) { in NewStandardCallDescriptor()
31 return new (zone()) CallDescriptor(CallDescriptor::kCallCodeObject, in NewStandardCallDescriptor()
40 CallDescriptor::kNoFlags, // flags, in NewStandardCallDescriptor()
56 CallDescriptor* desc = NewStandardCallDescriptor(&locations); in TEST_F()
70 CallDescriptor* desc1 = NewStandardCallDescriptor(&locations1); in TEST_F()
73 CallDescriptor* desc2 = NewStandardCallDescriptor(&locations1); in TEST_F()
88 CallDescriptor* desc1 = NewStandardCallDescriptor(&locations1); in TEST_F()
93 CallDescriptor* desc2 = NewStandardCallDescriptor(&locations2); in TEST_F()
108 CallDescriptor* desc1 = NewStandardCallDescriptor(&locations1); in TEST_F()
114 CallDescriptor* desc2 = NewStandardCallDescriptor(&locations2); in TEST_F()
[all …]
Dnode-test-utils.h30 class CallDescriptor; variable
103 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
107 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
112 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
118 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
125 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
133 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
143 const Matcher<const CallDescriptor*>& descriptor_matcher,
150 const Matcher<CallDescriptor const*>& descriptor_matcher,
155 const Matcher<CallDescriptor const*>& descriptor_matcher,
[all …]
Dinstruction-selector-unittest.h92 CallDescriptor* MakeCallDescriptor(Zone* zone, MachineType return_type) { in MakeCallDescriptor()
98 CallDescriptor* MakeCallDescriptor(Zone* zone, MachineType return_type, in MakeCallDescriptor()
106 CallDescriptor* MakeCallDescriptor(Zone* zone, MachineType return_type, in MakeCallDescriptor()
116 CallDescriptor* MakeCallDescriptor(Zone* zone, MachineType return_type, in MakeCallDescriptor()
/external/v8/test/cctest/compiler/
Dtest-run-native-calls.cc175 CallDescriptor* Create(Zone* zone, MachineSignature* msig) { in Create()
199 return new (zone) CallDescriptor( // -- in Create()
200 CallDescriptor::kCallCodeObject, // kind in Create()
209 CallDescriptor::kUseNativeStack, // flags in Create()
255 Handle<Code> CompileGraph(const char* name, CallDescriptor* desc, Graph* graph, in CompileGraph()
272 Handle<Code> WrapWithCFunction(Handle<Code> inner, CallDescriptor* desc) { in WrapWithCFunction()
302 CallDescriptor* cdesc = Linkage::GetSimplifiedCDescriptor(&zone, msig); in WrapWithCFunction()
421 int ParamCount(CallDescriptor* desc) { in ParamCount()
429 static void Run(CallDescriptor* desc, in Run()
430 void (*build)(CallDescriptor*, RawMachineAssembler&), in Run() argument
[all …]
Dtest-linkage.cc47 CallDescriptor* descriptor = Linkage::ComputeIncoming(info.zone(), &info); in TEST()
63 CallDescriptor* descriptor = Linkage::ComputeIncoming(info.zone(), &info); in TEST()
79 CallDescriptor* descriptor = Linkage::ComputeIncoming(&zone, &info); in TEST()
95 CallDescriptor* descriptor = Linkage::GetJSCallDescriptor( in TEST()
96 info.zone(), false, i, CallDescriptor::kNoFlags); in TEST()
Dtest-multiple-return.cc26 CallDescriptor* GetCallDescriptor(Zone* zone, int return_count, in GetCallDescriptor()
55 return new (zone) CallDescriptor( // -- in GetCallDescriptor()
56 CallDescriptor::kCallCodeObject, // kind in GetCallDescriptor()
65 CallDescriptor::kNoFlags, // flags in GetCallDescriptor()
73 CallDescriptor* desc = GetCallDescriptor(&zone, 3, 2); in TEST()
/external/v8/src/wasm/
Dwasm-module.h18 class CallDescriptor; variable
170 compiler::CallDescriptor* GetWasmCallDescriptor(Zone* zone, FunctionSig* sig);
171 compiler::CallDescriptor* GetCallDescriptor(Zone* zone, uint32_t index);

123