Home
last modified time | relevance | path

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

12

/external/v8/src/compiler/
Dlinkage.h30 friend class CallDescriptor;
39 class CallDescriptor FINAL : public ZoneObject {
58 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc,
144 DEFINE_OPERATORS_FOR_FLAGS(CallDescriptor::Flags)
146 OStream& operator<<(OStream& os, const CallDescriptor& d);
147 OStream& operator<<(OStream& os, const CallDescriptor::Kind& k);
165 explicit Linkage(CompilationInfo* info, CallDescriptor* incoming) in Linkage()
170 CallDescriptor* GetIncomingDescriptor() { return incoming_; } in GetIncomingDescriptor()
171 CallDescriptor* GetJSCallDescriptor(int parameter_count);
172 static CallDescriptor* GetJSCallDescriptor(int parameter_count, Zone* zone);
[all …]
Dlinkage.cc18 OStream& operator<<(OStream& os, const CallDescriptor::Kind& k) { in operator <<()
20 case CallDescriptor::kCallCodeObject: in operator <<()
23 case CallDescriptor::kCallJSFunction: in operator <<()
26 case CallDescriptor::kCallAddress: in operator <<()
34 OStream& operator<<(OStream& os, const CallDescriptor& d) { in operator <<()
65 incoming_->kind() == CallDescriptor::kCallAddress) { in GetFrameOffset()
90 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count) { in GetJSCallDescriptor()
95 CallDescriptor* Linkage::GetRuntimeCallDescriptor( in GetRuntimeCallDescriptor()
103 CallDescriptor* Linkage::GetStubCallDescriptor( in GetStubCallDescriptor()
105 CallDescriptor::Flags flags) { in GetStubCallDescriptor()
[all …]
Dlinkage-impl.h29 static CallDescriptor* GetJSCallDescriptor(Zone* zone, in GetJSCallDescriptor()
57 return new (zone) CallDescriptor(CallDescriptor::kCallJSFunction, // kind in GetJSCallDescriptor()
65 CallDescriptor::kNeedsFrameState, // flags in GetJSCallDescriptor()
71 static CallDescriptor* GetRuntimeCallDescriptor( in GetRuntimeCallDescriptor()
110 CallDescriptor::Flags flags = Linkage::NeedsFrameState(function_id) in GetRuntimeCallDescriptor()
111 ? CallDescriptor::kNeedsFrameState in GetRuntimeCallDescriptor()
112 : CallDescriptor::kNoFlags; in GetRuntimeCallDescriptor()
117 return new (zone) CallDescriptor(CallDescriptor::kCallCodeObject, // kind in GetRuntimeCallDescriptor()
131 static CallDescriptor* GetStubCallDescriptor( in GetStubCallDescriptor()
133 CallDescriptor::Flags flags) { in GetStubCallDescriptor()
[all …]
Djs-generic-lowering.cc80 CallDescriptor::kPatchableCallSiteWithNop); \
134 static CallDescriptor::Flags FlagsForNode(Node* node) {
135 CallDescriptor::Flags result = CallDescriptor::kNoFlags;
137 result |= CallDescriptor::kNeedsFrameState;
147 CallDescriptor* desc_compare = linkage()->GetStubCallDescriptor( in ReplaceWithCompareIC()
149 CallDescriptor::kPatchableCallSiteWithNop | FlagsForNode(node)); in ReplaceWithCompareIC()
187 CallDescriptor::Flags flags) { in ReplaceWithStubCall()
188 CallDescriptor* desc = linkage()->GetStubCallDescriptor( in ReplaceWithStubCall()
201 CallDescriptor* desc = in ReplaceWithBuiltinCall()
221 CallDescriptor* desc = in ReplaceWithRuntimeCall()
[all …]
Draw-machine-assembler.cc88 CallDescriptor* desc = Linkage::GetStubCallDescriptor( in CallFunctionStub0()
89 callable.descriptor(), 1, CallDescriptor::kNeedsFrameState, zone()); in CallFunctionStub0()
100 CallDescriptor* descriptor = Linkage::GetJSCallDescriptor(1, zone()); in CallJS0()
111 CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( in CallRuntime1()
Dcommon-operator.cc224 const Operator* CommonOperatorBuilder::Call(const CallDescriptor* descriptor) { in Call()
225 class CallOperator FINAL : public Operator1<const CallDescriptor*> { in Call()
229 CallOperator(const CallDescriptor* descriptor, const char* mnemonic) in Call()
230 : Operator1<const CallDescriptor*>( in Call()
Dcommon-operator.h22 class CallDescriptor; variable
103 const Operator* Call(const CallDescriptor* descriptor);
Dcode-generator.cc233 CallDescriptor::Flags flags(MiscField::decode(instr->opcode())); in AddSafepointAndDeopt()
235 bool needs_frame_state = (flags & CallDescriptor::kNeedsFrameState); in AddSafepointAndDeopt()
241 if (flags & CallDescriptor::kNeedsNopAfterCall) { in AddSafepointAndDeopt()
Djs-generic-lowering.h53 void ReplaceWithStubCall(Node* node, Callable c, CallDescriptor::Flags flags);
Dgraph-unittest.cc371 IsCallMatcher(const Matcher<CallDescriptor*>& descriptor_matcher, in IsCallMatcher()
407 PrintMatchAndExplain(OpParameter<CallDescriptor*>(node), in MatchAndExplain()
424 const Matcher<CallDescriptor*> descriptor_matcher_;
705 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, in IsCall()
Dinstruction-selector-impl.h334 CallBuffer(Zone* zone, CallDescriptor* descriptor,
337 CallDescriptor* descriptor;
Dsimplified-lowering.cc892 CallDescriptor::Flags flags = CallDescriptor::kNoFlags; in DoStringAdd()
893 CallDescriptor* desc = in DoStringAdd()
911 CallDescriptor* desc = Linkage::GetRuntimeCallDescriptor(f, 2, props, zone()); in StringComparison()
Dinstruction-selector.cc235 CallBuffer::CallBuffer(Zone* zone, CallDescriptor* d, in CallBuffer()
286 case CallDescriptor::kCallCodeObject: in InitializeCallBuffer()
292 case CallDescriptor::kCallAddress: in InitializeCallBuffer()
300 case CallDescriptor::kCallJSFunction: in InitializeCallBuffer()
/external/v8/src/compiler/ia32/
Dlinkage-ia32.cc33 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { in GetJSCallDescriptor()
38 CallDescriptor* Linkage::GetRuntimeCallDescriptor( in GetRuntimeCallDescriptor()
46 CallDescriptor* Linkage::GetStubCallDescriptor( in GetStubCallDescriptor()
48 CallDescriptor::Flags flags, Zone* zone) { in GetStubCallDescriptor()
54 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, in GetSimplifiedCDescriptor()
Dinstruction-selector-ia32.cc511 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(call); in VisitCall()
536 case CallDescriptor::kCallCodeObject: { in VisitCall()
540 case CallDescriptor::kCallJSFunction: in VisitCall()
Dcode-generator-ia32.cc706 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssemblePrologue()
709 if (descriptor->kind() == CallDescriptor::kCallAddress) { in AssemblePrologue()
758 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssembleReturn()
759 if (descriptor->kind() == CallDescriptor::kCallAddress) { in AssembleReturn()
/external/v8/src/compiler/arm64/
Dlinkage-arm64.cc38 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { in GetJSCallDescriptor()
43 CallDescriptor* Linkage::GetRuntimeCallDescriptor( in GetRuntimeCallDescriptor()
51 CallDescriptor* Linkage::GetStubCallDescriptor( in GetStubCallDescriptor()
53 CallDescriptor::Flags flags, Zone* zone) { in GetStubCallDescriptor()
59 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, in GetSimplifiedCDescriptor()
Dinstruction-selector-arm64.cc623 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(call); in VisitCall()
670 case CallDescriptor::kCallCodeObject: { in VisitCall()
674 case CallDescriptor::kCallJSFunction: in VisitCall()
Dcode-generator-arm64.cc644 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssemblePrologue()
645 if (descriptor->kind() == CallDescriptor::kCallAddress) { in AssemblePrologue()
693 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssembleReturn()
694 if (descriptor->kind() == CallDescriptor::kCallAddress) { in AssembleReturn()
/external/v8/src/compiler/arm/
Dlinkage-arm.cc38 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { in GetJSCallDescriptor()
43 CallDescriptor* Linkage::GetRuntimeCallDescriptor( in GetRuntimeCallDescriptor()
51 CallDescriptor* Linkage::GetStubCallDescriptor( in GetStubCallDescriptor()
53 CallDescriptor::Flags flags, Zone* zone) { in GetStubCallDescriptor()
59 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, in GetSimplifiedCDescriptor()
Dcode-generator-arm.cc612 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssemblePrologue()
613 if (descriptor->kind() == CallDescriptor::kCallAddress) { in AssemblePrologue()
672 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssembleReturn()
673 if (descriptor->kind() == CallDescriptor::kCallAddress) { in AssembleReturn()
/external/v8/src/compiler/x64/
Dlinkage-x64.cc52 CallDescriptor* Linkage::GetJSCallDescriptor(int parameter_count, Zone* zone) { in GetJSCallDescriptor()
57 CallDescriptor* Linkage::GetRuntimeCallDescriptor( in GetRuntimeCallDescriptor()
65 CallDescriptor* Linkage::GetStubCallDescriptor( in GetStubCallDescriptor()
67 CallDescriptor::Flags flags, Zone* zone) { in GetStubCallDescriptor()
73 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, in GetSimplifiedCDescriptor()
Dinstruction-selector-x64.cc670 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(call); in VisitCall()
696 case CallDescriptor::kCallCodeObject: { in VisitCall()
700 case CallDescriptor::kCallJSFunction: in VisitCall()
Dcode-generator-x64.cc789 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssemblePrologue()
791 if (descriptor->kind() == CallDescriptor::kCallAddress) { in AssemblePrologue()
838 CallDescriptor* descriptor = linkage()->GetIncomingDescriptor(); in AssembleReturn()
839 if (descriptor->kind() == CallDescriptor::kCallAddress) { in AssembleReturn()
/external/v8/test/cctest/compiler/
Dtest-linkage.cc65 CallDescriptor* descriptor = linkage.GetIncomingDescriptor(); in TEST()
93 CallDescriptor* descriptor = linkage.GetJSCallDescriptor(i); in TEST()

12