Home
last modified time | relevance | path

Searched refs:broker (Results 1 – 25 of 82) sorted by relevance

1234

/external/v8/src/compiler/
Djs-heap-broker.cc43 #define TRACE(broker, x) TRACE_BROKER(broker, x) argument
44 #define TRACE_MISSING(broker, x) TRACE_BROKER_MISSING(broker, x) argument
149 ObjectData(JSHeapBroker* broker, ObjectData** storage, Handle<Object> object, in ObjectData() argument
156 TRACE(broker, "Creating data " << this << " for handle " << object.address() in ObjectData()
167 broker->mode() == JSHeapBroker::kDisabled || in ObjectData()
168 broker->mode() == JSHeapBroker::kSerializing, in ObjectData()
169 broker->isolate()->handle_scope_data()->canonical_scope != nullptr); in ObjectData()
170 CHECK_IMPLIES(broker->mode() == JSHeapBroker::kSerialized, in ObjectData()
209 HeapObjectData(JSHeapBroker* broker, ObjectData** storage,
216 static HeapObjectData* Serialize(JSHeapBroker* broker,
[all …]
Djs-heap-copy-reducer.cc24 JSHeapCopyReducer::JSHeapCopyReducer(JSHeapBroker* broker) : broker_(broker) {} in JSHeapCopyReducer() argument
26 JSHeapBroker* JSHeapCopyReducer::broker() { return broker_; } in broker() function in v8::internal::compiler::JSHeapCopyReducer
31 FeedbackCellRef cell(broker(), FeedbackCellOf(node->op())); in Reduce()
37 ObjectRef object(broker(), HeapConstantOf(node->op())); in Reduce()
50 if (p.site().ToHandle(&site)) AllocationSiteRef(broker(), site); in Reduce()
56 SharedFunctionInfoRef shared(broker(), in Reduce()
61 ScopeInfoRef(broker(), ScopeInfoOf(node->op())); in Reduce()
67 MapRef(broker(), p.map()); in Reduce()
71 ScopeInfoRef(broker(), ScopeInfoOf(node->op())); in Reduce()
76 SharedFunctionInfoRef(broker(), p.shared_info()); in Reduce()
[all …]
Dserializer-for-background-compilation.cc383 ZoneStats* zone_stats, JSHeapBroker* broker,
393 ZoneStats* zone_stats, JSHeapBroker* broker,
555 JSHeapBroker* broker() const { return broker_; } in broker() function in v8::internal::compiler::SerializerForBackgroundCompilation
580 ZoneStats* zone_stats, JSHeapBroker* broker, in RunSerializerForBackgroundCompilation() argument
584 zone_stats, broker, dependencies, closure, flags, osr_offset); in RunSerializerForBackgroundCompilation()
682 JSHeapBroker* broker) { in AddVirtualContext() argument
685 TRACE_BROKER_MISSING(broker, in AddVirtualContext()
693 JSHeapBroker* broker) { in AddConstant() argument
696 TRACE_BROKER_MISSING(broker, "opportunity - limit for constants reached."); in AddConstant()
702 void Hints::AddMap(Handle<Map> map, Zone* zone, JSHeapBroker* broker, in AddMap() argument
[all …]
Dproperty-access-builder.cc35 bool HasOnlyStringMaps(JSHeapBroker* broker, in HasOnlyStringMaps() argument
38 MapRef map_ref(broker, map); in HasOnlyStringMaps()
46 bool HasOnlyNumberMaps(JSHeapBroker* broker, in HasOnlyNumberMaps() argument
49 MapRef map_ref(broker, map); in HasOnlyNumberMaps()
58 JSHeapBroker* broker, ZoneVector<Handle<Map>> const& maps, Node** receiver, in TryBuildStringCheck() argument
60 if (HasOnlyStringMaps(broker, maps)) { in TryBuildStringCheck()
72 JSHeapBroker* broker, ZoneVector<Handle<Map>> const& maps, Node** receiver, in TryBuildNumberCheck() argument
74 if (HasOnlyNumberMaps(broker, maps)) { in TryBuildNumberCheck()
89 MapRef object_map = m.Ref(broker()).map(); in BuildCheckMaps()
92 if (MapRef(broker(), map).equals(object_map)) { in BuildCheckMaps()
[all …]
Djs-heap-broker.h40 #define TRACE_BROKER(broker, x) \ argument
42 if (broker->tracing_enabled() && FLAG_trace_heap_broker_verbose) \
43 StdoutStream{} << broker->Trace() << x << '\n'; \
46 #define TRACE_BROKER_MEMORY(broker, x) \ argument
48 if (broker->tracing_enabled() && FLAG_trace_heap_broker_memory) \
49 StdoutStream{} << broker->Trace() << x << std::endl; \
52 #define TRACE_BROKER_MISSING(broker, x) \ argument
54 if (broker->tracing_enabled()) \
55 StdoutStream{} << broker->Trace() << "Missing " << x << " (" << __FILE__ \
418 TraceScope(JSHeapBroker* broker, const char* label) in TraceScope() argument
[all …]
Djs-context-specialization.cc106 JSHeapBroker* broker, Node* node, size_t* distance, in GetSpecializationContext() argument
110 HeapObjectRef object(broker, HeapConstantOf(node->op())); in GetSpecializationContext()
119 return ContextRef(broker, outer.context); in GetSpecializationContext()
141 GetSpecializationContext(broker(), context, &depth, outer()); in ReduceJSLoadContext()
152 TRACE_BROKER_MISSING(broker(), "previous value for context " << concrete); in ReduceJSLoadContext()
167 TRACE_BROKER_MISSING(broker(), "slot value " << access.index() in ReduceJSLoadContext()
204 GetSpecializationContext(broker(), context, &depth, outer()); in ReduceJSStoreContext()
215 TRACE_BROKER_MISSING(broker(), "previous value for context " << concrete); in ReduceJSStoreContext()
222 base::Optional<ContextRef> GetModuleContext(JSHeapBroker* broker, Node* node, in GetModuleContext() argument
238 HeapObjectRef object(broker, HeapConstantOf(context->op())); in GetModuleContext()
[all …]
Djs-native-context-specialization.cc37 bool HasNumberMaps(JSHeapBroker* broker, ZoneVector<Handle<Map>> const& maps) { in HasNumberMaps() argument
39 MapRef map_ref(broker, map); in HasNumberMaps()
45 bool HasOnlyJSArrayMaps(JSHeapBroker* broker, in HasOnlyJSArrayMaps() argument
48 MapRef map_ref(broker, map); in HasOnlyJSArrayMaps()
57 return broker()->is_concurrent_inlining(); in should_disallow_heap_access()
61 Editor* editor, JSGraph* jsgraph, JSHeapBroker* broker, Flags flags, in JSNativeContextSpecialization() argument
65 broker_(broker), in JSNativeContextSpecialization()
67 global_object_(broker->target_native_context().global_object().object()), in JSNativeContextSpecialization()
69 broker->target_native_context().global_proxy_object().object()), in JSNativeContextSpecialization()
135 JSHeapBroker* broker, Node* node) { in GetMaxStringLength() argument
[all …]
Dproperty-access-builder.h32 PropertyAccessBuilder(JSGraph* jsgraph, JSHeapBroker* broker, in PropertyAccessBuilder() argument
34 : jsgraph_(jsgraph), broker_(broker), dependencies_(dependencies) {} in PropertyAccessBuilder()
38 bool TryBuildStringCheck(JSHeapBroker* broker,
42 bool TryBuildNumberCheck(JSHeapBroker* broker,
78 JSHeapBroker* broker() const { return broker_; } in broker() function
102 bool HasOnlyStringMaps(JSHeapBroker* broker,
Dserializer-hints.h128 Hints CopyToParentZone(Zone* zone, JSHeapBroker* broker) const; // Deep.
141 void Merge(Hints const& other, Zone* zone, JSHeapBroker* broker);
145 void AddConstant(Handle<Object> constant, Zone* zone, JSHeapBroker* broker);
146 void AddMap(Handle<Map> map, Zone* zone, JSHeapBroker* broker,
149 JSHeapBroker* broker);
151 JSHeapBroker* broker);
153 Zone* zone, JSHeapBroker* broker);
154 void Add(Hints const& other, Zone* zone, JSHeapBroker* broker);
Djs-inlining-heuristic.cc29 bool CanConsiderForInlining(JSHeapBroker* broker, in CanConsiderForInlining() argument
40 if (!broker->IsSerializedForCompilation(shared, feedback_vector)) { in CanConsiderForInlining()
42 broker, "data for " << shared << " (not serialized for compilation)"); in CanConsiderForInlining()
52 bool CanConsiderForInlining(JSHeapBroker* broker, in CanConsiderForInlining() argument
62 broker, "data for " << function << " (cannot consider for inlining)"); in CanConsiderForInlining()
66 return CanConsiderForInlining(broker, function.shared(), in CanConsiderForInlining()
80 if (m.HasResolvedValue() && m.Ref(broker()).IsJSFunction()) { in CollectFunctions()
81 out.functions[0] = m.Ref(broker()).AsJSFunction(); in CollectFunctions()
83 if (CanConsiderForInlining(broker(), function)) { in CollectFunctions()
97 if (!m.HasResolvedValue() || !m.Ref(broker()).IsJSFunction()) { in CollectFunctions()
[all …]
Dnode-properties.cc325 base::Optional<MapRef> NodeProperties::GetJSCreateMap(JSHeapBroker* broker, in GetJSCreateMap() argument
332 mnewtarget.Ref(broker).IsJSFunction()) { in GetJSCreateMap()
333 ObjectRef target = mtarget.Ref(broker); in GetJSCreateMap()
334 JSFunctionRef newtarget = mnewtarget.Ref(broker).AsJSFunction(); in GetJSCreateMap()
337 TRACE_BROKER_MISSING(broker, "initial map on " << newtarget); in GetJSCreateMap()
353 JSHeapBroker* broker, Node* receiver, Node* effect, in InferMapsUnsafe() argument
357 HeapObjectRef receiver = m.Ref(broker); in InferMapsUnsafe()
366 !broker->IsArrayOrObjectPrototype(receiver.AsJSObject())) { in InferMapsUnsafe()
396 base::Optional<MapRef> initial_map = GetJSCreateMap(broker, receiver); in InferMapsUnsafe()
409 *maps_return = ZoneHandleSet<Map>(broker->target_native_context() in InferMapsUnsafe()
[all …]
Dpipeline.cc335 JSHeapBroker* broker() const { return broker_; } in broker() function in v8::internal::compiler::PipelineData
337 std::unique_ptr<JSHeapBroker> broker(broker_); in ReleaseBroker() local
339 return broker; in ReleaseBroker()
416 new Typer(broker(), typer_flags_, graph(), &info()->tick_counter()); in CreateTyper()
774 explicit LocalIsolateScope(JSHeapBroker* broker, in LocalIsolateScope() argument
777 : broker_(broker), info_(info) { in LocalIsolateScope()
915 UnparkedScopeIfNeeded scope(data->broker()); in TraceScheduleAndVerify()
929 UnparkedScopeIfNeeded scope(data->broker()); in TraceScheduleAndVerify()
1170 if (!data_.broker()->is_concurrent_inlining()) { in PrepareJobImpl()
1185 LocalIsolateScope local_isolate_scope(data_.broker(), data_.info(), in ExecuteJobImpl()
[all …]
Djs-inlining.cc290 if (match.HasResolvedValue() && match.Ref(broker()).IsJSFunction()) { in DetermineCallTarget()
291 JSFunctionRef function = match.Ref(broker()).AsJSFunction(); in DetermineCallTarget()
306 if (!function.native_context().equals(broker()->target_native_context())) { in DetermineCallTarget()
320 FeedbackCellRef cell = n.GetFeedbackCellRefChecked(broker()); in DetermineCallTarget()
323 FeedbackCellRef cell(broker(), FeedbackCellOf(match.op())); in DetermineCallTarget()
341 if (match.HasResolvedValue() && match.Ref(broker()).IsJSFunction()) { in DetermineCallContext()
342 JSFunctionRef function = match.Ref(broker()).AsJSFunction(); in DetermineCallContext()
355 FeedbackCellRef cell = n.GetFeedbackCellRefChecked(broker()); in DetermineCallContext()
361 FeedbackCellRef cell(broker(), FeedbackCellOf(match.op())); in DetermineCallContext()
386 SharedFunctionInfoRef outer_shared_info(broker(), info_->shared_info()); in ReduceJSCall()
[all …]
Djs-inlining-heuristic.h18 JSHeapBroker* broker, in JSInliningHeuristic() argument
21 inliner_(editor, local_zone, info, jsgraph, broker, source_positions), in JSInliningHeuristic()
26 broker_(broker) {} in JSInliningHeuristic()
91 JSHeapBroker* broker() const { return broker_; } in broker() function
Daccess-info.cc317 AccessInfoFactory::AccessInfoFactory(JSHeapBroker* broker, in AccessInfoFactory() argument
320 : broker_(broker), in AccessInfoFactory()
328 MapRef map_ref(broker(), map); in ComputeElementAccessInfo()
387 MapRef map_ref(broker(), map); in ComputeDataFieldAccessInfo()
422 field_type = Type::For(MapRef(broker(), map)); in ComputeDataFieldAccessInfo()
436 } else if (broker()->is_turboprop() && !map->is_prototype_map()) { in ComputeDataFieldAccessInfo()
501 *broker()->target_native_context().object(), *map)) { in ComputeAccessorDescriptorAccessInfo()
568 descriptors->Search(*name, *map, broker()->is_concurrent_inlining()); in ComputePropertyAccessInfo()
623 MapRef(broker(), map).SerializePrototype(); in ComputePropertyAccessInfo()
633 map, broker()->target_native_context().object()) in ComputePropertyAccessInfo()
[all …]
Dtyped-optimization.cc23 JSGraph* jsgraph, JSHeapBroker* broker) in TypedOptimization() argument
27 broker_(broker), in TypedOptimization()
29 Type::Constant(broker, factory()->true_value(), graph()->zone())), in TypedOptimization()
31 Type::Constant(broker, factory()->false_value(), graph()->zone())), in TypedOptimization()
110 base::Optional<MapRef> GetStableMapFromObjectType(JSHeapBroker* broker, in GetStableMapFromObjectType() argument
228 GetStableMapFromObjectType(broker(), object_type); in ReduceCheckMaps()
299 GetStableMapFromObjectType(broker(), object_type); in ReduceLoadField()
559 if (m.Ref(broker()).IsString()) { in ReduceStringLength()
560 uint32_t const length = m.Ref(broker()).AsString().length(); in ReduceStringLength()
681 jsgraph()->Constant(ObjectRef(broker(), f->boolean_string()))); in ReduceTypeOf()
[all …]
Djs-context-specialization.h40 JSHeapBroker* broker, Maybe<OuterContext> outer, in JSContextSpecialization() argument
46 broker_(broker) {} in JSContextSpecialization()
71 JSHeapBroker* broker() const { return broker_; } in broker() function
Djs-inlining.h27 JSGraph* jsgraph, JSHeapBroker* broker, in JSInliner() argument
33 broker_(broker), in JSInliner()
52 JSHeapBroker* broker() const { return broker_; } in broker() function
Djs-create-lowering.cc120 NodeProperties::GetJSCreateMap(broker(), node); in ReduceJSCreate()
124 HeapObjectMatcher(new_target).Ref(broker()).AsJSFunction(); in ReduceJSCreate()
156 SharedFunctionInfoRef shared(broker(), in ReduceJSCreateArguments()
431 ab.AllocateArray(size, MapRef(broker(), factory()->fixed_array_map())); in ReduceJSCreateGeneratorObject()
644 site_ref = AllocationSiteRef(broker(), site); in ReduceJSCreateArray()
650 NodeProperties::GetJSCreateMap(broker(), node); in ReduceJSCreateArray()
655 HeapObjectMatcher(new_target).Ref(broker()).AsJSFunction(); in ReduceJSCreateArray()
673 broker(), factory()->array_constructor_protector()); in ReduceJSCreateArray()
798 MapRef(broker(), factory()->fixed_array_map())); in ReduceJSCreateAsyncFunctionObject()
899 MapRef const map(broker(), p.map()); in ReduceJSCreateBoundFunction()
[all …]
Dcommon-operator-reducer.cc22 Decision DecideCondition(JSHeapBroker* broker, Node* const cond) { in DecideCondition() argument
31 return m.Ref(broker).BooleanValue() ? Decision::kTrue : Decision::kFalse; in DecideCondition()
41 JSHeapBroker* broker, in CommonOperatorReducer() argument
47 broker_(broker), in CommonOperatorReducer()
94 DecideCondition(broker(), cond->InputAt(1)) == Decision::kFalse && in ReduceBranch()
95 DecideCondition(broker(), cond->InputAt(2)) == Decision::kTrue)) { in ReduceBranch()
117 Decision const decision = DecideCondition(broker(), cond); in ReduceBranch()
157 Decision const decision = DecideCondition(broker(), condition); in ReduceDeoptimizeConditional()
389 switch (DecideCondition(broker(), cond)) { in ReduceSelect()
466 Decision decision = DecideCondition(broker(), cond); in ReduceStaticAssert()
Djs-heap-copy-reducer.h22 explicit JSHeapCopyReducer(JSHeapBroker* broker);
29 JSHeapBroker* broker();
Dconstant-folding-reducer.h21 JSHeapBroker* broker); in NON_EXPORTED_BASE()
32 JSHeapBroker* broker() const { return broker_; } in NON_EXPORTED_BASE()
Dnode-properties.h212 static InferMapsResult InferMapsUnsafe(JSHeapBroker* broker, Node* object,
217 static base::Optional<MapRef> GetJSCreateMap(JSHeapBroker* broker,
228 static bool CanBePrimitive(JSHeapBroker* broker, Node* receiver,
233 static bool CanBeNullOrUndefined(JSHeapBroker* broker, Node* receiver,
Djs-call-reducer.cc795 JSHeapBroker* broker) in PromiseBuiltinReducerAssembler() argument
796 : JSCallReducerAssembler(reducer, node), broker_(broker) { in PromiseBuiltinReducerAssembler()
2440 if (NodeProperties::CanBePrimitive(broker(), value, effect)) { in ReduceObjectConstructor()
2441 if (!NodeProperties::CanBeNullOrUndefined(broker(), value, effect)) { in ReduceObjectConstructor()
2483 if (!NodeProperties::CanBeNullOrUndefined(broker(), arguments_list, in ReduceFunctionPrototypeApply()
2603 MapInference inference(broker(), receiver, effect); in ReduceFunctionPrototypeBind()
2607 MapRef first_receiver_map(broker(), receiver_maps[0]); in ReduceFunctionPrototypeBind()
2612 TRACE_BROKER_MISSING(broker(), in ReduceFunctionPrototypeBind()
2618 MapRef receiver_map(broker(), map); in ReduceFunctionPrototypeBind()
2621 TRACE_BROKER_MISSING(broker(), in ReduceFunctionPrototypeBind()
[all …]
/external/libchrome/mojo/core/
Dnode_controller.cc580 scoped_refptr<NodeChannel> broker = GetBrokerChannel(); in SendPeerEvent() local
582 if (!GetConfiguration().is_broker_process && broker) { in SendPeerEvent()
583 broker->RelayEventMessage(name, std::move(event_message)); in SendPeerEvent()
603 scoped_refptr<NodeChannel> broker = GetBrokerChannel(); in SendPeerEvent() local
604 if (broker) { in SendPeerEvent()
605 broker->RelayEventMessage(name, std::move(event_message)); in SendPeerEvent()
623 scoped_refptr<NodeChannel> broker = GetBrokerChannel(); in SendPeerEvent() local
624 if (!broker) { in SendPeerEvent()
646 broker->RequestIntroduction(name); in SendPeerEvent()
703 scoped_refptr<NodeChannel> broker = GetBrokerChannel(); in BroadcastEvent() local
[all …]

1234