Home
last modified time | relevance | path

Searched refs:MapRef (Results 1 - 25 of 32) sorted by relevance

12

/third_party/node/deps/v8/src/compiler/
H A Daccess-info.h33 ElementAccessInfo(ZoneVector<MapRef>&& lookup_start_object_maps,
37 ZoneVector<MapRef> const& lookup_start_object_maps() const { in lookup_start_object_maps()
40 ZoneVector<MapRef> const& transition_sources() const { in transition_sources()
44 void AddTransitionSource(MapRef map) { in AddTransitionSource()
51 ZoneVector<MapRef> lookup_start_object_maps_;
52 ZoneVector<MapRef> transition_sources_;
71 static PropertyAccessInfo NotFound(Zone* zone, MapRef receiver_map,
74 Zone* zone, MapRef receiver_map,
77 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_ma
[all...]
H A Dcompilation-dependencies.h18 SlackTrackingPrediction(MapRef initial_map, int instance_size);
39 MapRef DependOnInitialMap(const JSFunctionRef& function);
46 void DependOnStableMap(const MapRef& map);
57 void DependOnConstantInDictionaryPrototypeChain(const MapRef& receiver_map,
73 PropertyConstness DependOnFieldConstness(const MapRef& map,
106 const MapRef& map,
120 ZoneVector<MapRef> const& receiver_maps, WhereToStart start,
147 const MapRef& target_map) const;
152 const MapRef& map, InternalIndex descriptor,
158 const MapRef
[all...]
H A Daccess-info.cc31 bool CanInlinePropertyAccess(MapRef map, AccessMode access_mode) { in CanInlinePropertyAccess()
89 ZoneVector<MapRef>&& lookup_start_object_maps, ElementsKind elements_kind, in ElementAccessInfo()
104 Zone* zone, MapRef receiver_map, base::Optional<JSObjectRef> holder) { in NotFound()
110 Zone* zone, MapRef receiver_map, in DataField()
113 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_map, in DataField()
114 base::Optional<JSObjectRef> holder, base::Optional<MapRef> transition_map) { in DataField()
131 Zone* zone, MapRef receiver_map, in FastDataConstant()
134 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_ma in FastDataConstant()
[all...]
H A Dproperty-access-builder.cc37 bool HasOnlyStringMaps(JSHeapBroker* broker, ZoneVector<MapRef> const& maps) { in HasOnlyStringMaps()
38 for (MapRef map : maps) { in HasOnlyStringMaps()
46 bool HasOnlyNumberMaps(JSHeapBroker* broker, ZoneVector<MapRef> const& maps) { in HasOnlyNumberMaps()
47 for (MapRef map : maps) { in HasOnlyNumberMaps()
56 ZoneVector<MapRef> const& maps, in TryBuildStringCheck()
71 ZoneVector<MapRef> const& maps, in TryBuildNumberCheck()
86 ZoneVector<MapRef> const& maps) { in BuildCheckMaps()
89 MapRef object_map = m.Ref(broker()).map(); in BuildCheckMaps()
91 for (MapRef map : maps) { in BuildCheckMaps()
101 for (MapRef ma in BuildCheckMaps()
[all...]
H A Dmap-inference.cc19 ZoneRefUnorderedSet<MapRef> maps(broker->zone()); in MapInference()
69 auto instance_type = [f](const MapRef& map) { in AllOfInstanceTypesUnsafe()
79 auto instance_type = [f](const MapRef& map) { in AnyOfInstanceTypesUnsafe()
86 ZoneVector<MapRef> const& MapInference::GetMaps() { in GetMaps()
91 bool MapInference::Is(const MapRef& expected_map) { in Is()
93 const ZoneVector<MapRef>& maps = GetMaps(); in Is()
104 for (const MapRef& map : maps_) { in InsertMapChecks()
135 auto is_stable = [](const MapRef& map) { return map.is_stable(); }; in RelyOnMapsHelper()
138 for (const MapRef& map : maps_) { in RelyOnMapsHelper()
H A Dheap-refs.cc552 int InstanceSizeWithMinSlack(JSHeapBroker* broker, MapRef map) { in InstanceSizeWithMinSlack()
616 MapRef initial_map_ref = TryMakeRef<Map>(broker, initial_map_).value(); in Cache()
760 } else if (MapRef{broker, map()}.is_undetectable()) { in TryGetBooleanValueImpl()
824 // since the MapRef will read some of the Map's fields can be read directly. in MapData()
1052 bool MapRef::Is##Type##Map() const { \
1058 bool MapRef::CanInlineElementAccess() const { in CanInlineElementAccess()
1071 base::Optional<MapRef> MapRef::AsElementsKind(ElementsKind kind) const { in AsElementsKind()
1091 TRACE_BROKER_MISSING(broker(), "MapRef::AsElementsKind " << *this); in AsElementsKind()
1097 bool MapRef
[all...]
H A Dallocation-builder-inl.h29 void AllocationBuilder::AllocateContext(int variadic_part_length, MapRef map) { in AllocateContext()
42 bool AllocationBuilder::CanAllocateArray(int length, MapRef map, in CanAllocateArray()
53 void AllocationBuilder::AllocateArray(int length, MapRef map, in AllocateArray()
65 int length, MapRef map, AllocationType allocation) { in CanAllocateSloppyArgumentElements()
71 int length, MapRef map, AllocationType allocation) { in AllocateSloppyArgumentElements()
H A Dallocation-builder.h45 inline void AllocateContext(int variadic_part_length, MapRef map);
49 int length, MapRef map,
51 inline void AllocateArray(int length, MapRef map,
56 int length, MapRef map,
59 int length, MapRef map,
H A Dproperty-access-builder.h37 bool TryBuildStringCheck(JSHeapBroker* broker, ZoneVector<MapRef> const& maps,
40 bool TryBuildNumberCheck(JSHeapBroker* broker, ZoneVector<MapRef> const& maps,
44 ZoneVector<MapRef> const& maps);
91 bool HasOnlyStringMaps(JSHeapBroker* broker, ZoneVector<MapRef> const& maps);
H A Dcompilation-dependencies.cc179 const MapRef& initial_map) in InitialMapDependency()
209 const MapRef initial_map_;
266 explicit StableMapDependency(const MapRef& map) in StableMapDependency()
291 const MapRef map_;
298 const MapRef receiver_map, const NameRef property_name, in ConstantInDictionaryPrototypeChainDependency()
423 const MapRef receiver_map_;
433 const MapRef& map, in OwnConstantDataPropertyDependency()
492 MapRef const map_;
562 MapRef const map_;
595 explicit TransitionDependency(const MapRef
[all...]
H A Dnode-properties.cc325 base::Optional<MapRef> NodeProperties::GetJSCreateMap(JSHeapBroker* broker, in GetJSCreateMap()
337 MapRef initial_map = newtarget.initial_map(broker->dependencies()); in GetJSCreateMap()
351 ZoneRefUnorderedSet<MapRef> ToRefSet(JSHeapBroker* broker, in ToRefSet()
353 ZoneRefUnorderedSet<MapRef> refs = in ToRefSet()
354 ZoneRefUnorderedSet<MapRef>(broker->zone()); in ToRefSet()
361 ZoneRefUnorderedSet<MapRef> RefSetOf(JSHeapBroker* broker, const MapRef& ref) { in RefSetOf()
362 ZoneRefUnorderedSet<MapRef> refs = in RefSetOf()
363 ZoneRefUnorderedSet<MapRef>(broker->zone()); in RefSetOf()
373 ZoneRefUnorderedSet<MapRef>* maps_ou in InferMapsUnsafe()
[all...]
H A Dmap-inference.h55 V8_WARN_UNUSED_RESULT ZoneVector<MapRef> const& GetMaps();
58 V8_WARN_UNUSED_RESULT bool Is(const MapRef& expected_map);
86 ZoneVector<MapRef> maps_;
H A Dheap-refs.h290 // this class and use MapRef instead, but we can't as long as we support the
291 // kDisabled broker mode. That's because obtaining the MapRef via
340 MapRef map() const;
344 base::Optional<MapRef> map_direct_read() const;
423 base::Optional<MapRef> GetObjectCreateMap() const;
467 MapRef initial_map(CompilationDependencies* dependencies) const;
573 MapRef GetFunctionMapFromIndex(int index) const;
574 MapRef GetInitialJSArrayMap(ElementsKind kind) const;
575 base::Optional<JSFunctionRef> GetConstructorFunction(const MapRef& map) const;
665 class V8_EXPORT_PRIVATE MapRef class in v8::internal::compiler::HeapObjectType
[all...]
H A Djs-create-lowering.cc118 base::Optional<MapRef> initial_map = in ReduceJSCreate()
398 MapRef initial_map = js_function.initial_map(dependencies()); in ReduceJSCreateGeneratorObject()
409 MapRef fixed_array_map = MakeRef(broker(), factory()->fixed_array_map()); in ReduceJSCreateGeneratorObject()
462 Node* node, Node* length, MapRef initial_map, ElementsKind elements_kind, in ReduceNewArray()
471 base::Optional<MapRef> maybe_initial_map = in ReduceNewArray()
518 Node* node, Node* length, int capacity, MapRef initial_map, in ReduceNewArray()
532 base::Optional<MapRef> maybe_initial_map = in ReduceNewArray()
567 Node* node, std::vector<Node*> values, MapRef initial_map, in ReduceNewArray()
577 base::Optional<MapRef> maybe_initial_map = in ReduceNewArray()
634 base::Optional<MapRef> initial_ma in ReduceJSCreateArray()
[all...]
H A Dprocessed-feedback.h152 JSHeapBroker* broker, ZoneVector<MapRef> const& inferred_maps) const;
161 NamedAccessFeedback(NameRef const& name, ZoneVector<MapRef> const& maps,
165 ZoneVector<MapRef> const& maps() const { return maps_; } in maps()
169 ZoneVector<MapRef> const maps_;
H A Djs-native-context-specialization.h200 Node* BuildExtendPropertiesBackingStore(const MapRef& map, Node* properties,
211 bool CanTreatHoleAsUndefined(ZoneVector<MapRef> const& receiver_maps);
213 void RemoveImpossibleMaps(Node* object, ZoneVector<MapRef>* maps) const;
220 bool InferMaps(Node* object, Effect effect, ZoneVector<MapRef>* maps) const;
224 base::Optional<MapRef> InferRootMap(Node* object) const;
H A Djs-native-context-specialization.cc38 bool HasNumberMaps(JSHeapBroker* broker, ZoneVector<MapRef> const& maps) { in HasNumberMaps()
39 for (MapRef map : maps) { in HasNumberMaps()
45 bool HasOnlyJSArrayMaps(JSHeapBroker* broker, ZoneVector<MapRef> const& maps) { in HasOnlyJSArrayMaps()
46 for (MapRef map : maps) { in HasOnlyJSArrayMaps()
238 MapRef fixed_array_map = MakeRef(broker(), factory()->fixed_array_map()); in ReduceJSAsyncFunctionEnter()
367 MapRef function_map = function.map(); in ReduceJSGetSuperConstructor()
410 MapRef receiver_map = receiver->map(); in ReduceJSInstanceOf()
517 ZoneRefUnorderedSet<MapRef> receiver_maps(zone()); in InferHasInPrototypeChain()
522 ZoneVector<MapRef> receiver_map_refs(zone()); in InferHasInPrototypeChain()
529 for (MapRef ma in InferHasInPrototypeChain()
[all...]
H A Djs-create-lowering.h73 Node* node, Node* length, MapRef initial_map, ElementsKind elements_kind,
77 Node* node, Node* length, int capacity, MapRef initial_map,
81 Node* node, std::vector<Node*> values, MapRef initial_map,
H A Djs-heap-broker.cc237 JSHeapBroker* broker, ZoneVector<MapRef> const& inferred_maps) const { in Refine()
243 ZoneRefUnorderedSet<MapRef> inferred(broker->zone()); in Refine()
250 MapRef source = MakeRefAssumeMemoryFence(broker, *group[i]); in Refine()
256 MapRef target = MakeRefAssumeMemoryFence(broker, *group.front()); in Refine()
429 ZoneVector<MapRef> const& maps, in NamedAccessFeedback()
485 ZoneVector<MapRef> maps(zone()); in ReadFeedbackForPropertyAccess()
491 MapRef map = MakeRefAssumeMemoryFence(this, *map_and_handler.first); in ReadFeedbackForPropertyAccess()
795 ZoneVector<MapRef>& maps, KeyedAccessMode const& keyed_mode, in ProcessFeedbackMapsForElementAccess()
802 for (MapRef& map : maps) { in ProcessFeedbackMapsForElementAccess()
819 for (const MapRef in ProcessFeedbackMapsForElementAccess()
[all...]
H A Dnode-properties.h225 ZoneRefUnorderedSet<MapRef>* maps_out);
228 static base::Optional<MapRef> GetJSCreateMap(JSHeapBroker* broker,
H A Dtypes.h275 static bitset Lub(MapRef const& map) { return Lub<MapRef>(map); } in Lub()
397 static Type For(MapRef const& type) { in For()
H A Djs-heap-broker.h66 MapRef map;
196 ZoneVector<MapRef>& maps, KeyedAccessMode const& keyed_mode,
234 MapRef map, NameRef name, AccessMode access_mode,
H A Djs-call-reducer.cc1141 MapRef map = native_context.GetInitialJSArrayMap(kind);
1690 MapRef holey_double_map =
1692 MapRef holey_map = native_context.GetInitialJSArrayMap(HOLEY_ELEMENTS);
2714 ZoneVector<MapRef> const& receiver_maps = inference.GetMaps();
2716 MapRef first_receiver_map = receiver_maps[0];
2721 for (const MapRef& receiver_map : receiver_maps) {
2777 MapRef map = is_constructor
2791 MapRef fixed_array_map = MakeRef(broker(), factory()->fixed_array_map());
2900 ZoneVector<MapRef> const& object_maps = inference.GetMaps();
2902 MapRef candidate_ma
[all...]
H A Daccess-builder.h62 const MapRef& map, int index,
H A Dtyped-optimization.cc110 base::Optional<MapRef> GetStableMapFromObjectType(JSHeapBroker* broker, in GetStableMapFromObjectType()
114 MapRef object_map = object.map(); in GetStableMapFromObjectType()
227 base::Optional<MapRef> object_map = in ReduceCheckMaps()
298 base::Optional<MapRef> object_map = in ReduceLoadField()

Completed in 31 milliseconds

12