Lines Matching refs:inference
284 void MaybeInsertMapChecks(MapInference* inference, in MaybeInsertMapChecks() argument
290 inference->InsertMapChecks(jsgraph(), &e, Control{control()}, feedback()); in MaybeInsertMapChecks()
675 MapInference* inference, const bool has_stability_dependency,
677 TNode<Object> ReduceArrayPrototypeReduce(MapInference* inference,
683 MapInference* inference, const bool has_stability_dependency,
687 MapInference* inference, const bool has_stability_dependency,
690 TNode<Object> ReduceArrayPrototypeFind(MapInference* inference,
697 MapInference* inference, const bool has_stability_dependency,
1251 MapInference* inference, const bool has_stability_dependency, in ReduceArrayPrototypeForEach() argument
1273 MaybeInsertMapChecks(inference, has_stability_dependency); in ReduceArrayPrototypeForEach()
1368 MapInference* inference, const bool has_stability_dependency, in ReduceArrayPrototypeReduce() argument
1445 MaybeInsertMapChecks(inference, has_stability_dependency); in ReduceArrayPrototypeReduce()
1523 MapInference* inference, const bool has_stability_dependency, in ReduceArrayPrototypeMap() argument
1561 MaybeInsertMapChecks(inference, has_stability_dependency); in ReduceArrayPrototypeMap()
1663 MapInference* inference, const bool has_stability_dependency, in ReduceArrayPrototypeFilter() argument
1697 MaybeInsertMapChecks(inference, has_stability_dependency); in ReduceArrayPrototypeFilter()
1801 MapInference* inference, const bool has_stability_dependency, in ReduceArrayPrototypeFind() argument
1826 MaybeInsertMapChecks(inference, has_stability_dependency); in ReduceArrayPrototypeFind()
1903 MapInference* inference, const bool has_stability_dependency, in ReduceArrayPrototypeEverySome() argument
1927 MaybeInsertMapChecks(inference, has_stability_dependency); in ReduceArrayPrototypeEverySome()
2603 MapInference inference(broker(), receiver, effect); in ReduceFunctionPrototypeBind() local
2604 if (!inference.HaveMaps()) return NoChange(); in ReduceFunctionPrototypeBind()
2605 MapHandles const& receiver_maps = inference.GetMaps(); in ReduceFunctionPrototypeBind()
2614 return inference.NoChange(); in ReduceFunctionPrototypeBind()
2623 return inference.NoChange(); in ReduceFunctionPrototypeBind()
2631 return inference.NoChange(); in ReduceFunctionPrototypeBind()
2636 if (receiver_map.is_dictionary_map()) return inference.NoChange(); in ReduceFunctionPrototypeBind()
2647 return inference.NoChange(); in ReduceFunctionPrototypeBind()
2655 return inference.NoChange(); in ReduceFunctionPrototypeBind()
2668 return inference.NoChange(); in ReduceFunctionPrototypeBind()
2674 return inference.NoChange(); in ReduceFunctionPrototypeBind()
2683 if (!map.prototype().equals(prototype)) return inference.NoChange(); in ReduceFunctionPrototypeBind()
2685 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReduceFunctionPrototypeBind()
2798 MapInference inference(broker(), object, effect); in ReduceObjectGetPrototype() local
2799 if (!inference.HaveMaps()) return NoChange(); in ReduceObjectGetPrototype()
2800 MapHandles const& object_maps = inference.GetMaps(); in ReduceObjectGetPrototype()
2805 return inference.NoChange(); in ReduceObjectGetPrototype()
2814 return inference.NoChange(); in ReduceObjectGetPrototype()
2821 return inference.NoChange(); in ReduceObjectGetPrototype()
2827 if (!inference.RelyOnMapsViaStability(dependencies())) { in ReduceObjectGetPrototype()
2828 return inference.NoChange(); in ReduceObjectGetPrototype()
2945 MapInference inference(broker(), receiver, effect); in ReduceObjectPrototypeIsPrototypeOf() local
2946 if (!inference.HaveMaps() || !inference.AllOfInstanceTypesAreJSReceiver()) { in ReduceObjectPrototypeIsPrototypeOf()
3270 MapInference* inference() { return &inference_; } in inference() function in v8::internal::compiler::__anon09dc2f6b1b11::IteratingArrayBuiltinHelper
3289 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayForEach()
3294 h.inference(), h.has_stability_dependency(), h.elements_kind(), shared); in ReduceArrayForEach()
3302 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayReduce()
3307 h.inference(), h.has_stability_dependency(), h.elements_kind(), in ReduceArrayReduce()
3316 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayReduceRight()
3321 h.inference(), h.has_stability_dependency(), h.elements_kind(), in ReduceArrayReduceRight()
3330 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayMap()
3334 return h.inference()->NoChange(); in ReduceArrayMap()
3341 a.ReduceArrayPrototypeMap(h.inference(), h.has_stability_dependency(), in ReduceArrayMap()
3350 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayFilter()
3354 return h.inference()->NoChange(); in ReduceArrayFilter()
3361 a.ReduceArrayPrototypeFilter(h.inference(), h.has_stability_dependency(), in ReduceArrayFilter()
3370 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayFind()
3376 h.inference(), h.has_stability_dependency(), h.elements_kind(), shared, in ReduceArrayFind()
3385 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayFindIndex()
3391 h.inference(), h.has_stability_dependency(), h.elements_kind(), shared, in ReduceArrayFindIndex()
3400 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayEvery()
3406 h.inference(), h.has_stability_dependency(), h.elements_kind(), shared, in ReduceArrayEvery()
3416 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayIncludes()
3431 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArrayIndexOf()
3445 if (!h.can_reduce()) return h.inference()->NoChange(); in ReduceArraySome()
3451 h.inference(), h.has_stability_dependency(), h.elements_kind(), shared, in ReduceArraySome()
3557 MapInference inference(broker(), receiver, effect); in ReduceCallApiFunction() local
3558 if (inference.HaveMaps()) { in ReduceCallApiFunction()
3559 MapHandles const& receiver_maps = inference.GetMaps(); in ReduceCallApiFunction()
3566 return inference.NoChange(); in ReduceCallApiFunction()
3597 if (api_holder.lookup != holder_i.lookup) return inference.NoChange(); in ReduceCallApiFunction()
3603 return inference.NoChange(); in ReduceCallApiFunction()
3613 !inference.RelyOnMapsViaStability(dependencies())) { in ReduceCallApiFunction()
3616 return inference.NoChange(); in ReduceCallApiFunction()
3621 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReduceCallApiFunction()
5095 MapInference inference(broker(), receiver, effect); in ReduceArrayPrototypePush() local
5096 if (!inference.HaveMaps()) return NoChange(); in ReduceArrayPrototypePush()
5097 MapHandles const& receiver_maps = inference.GetMaps(); in ReduceArrayPrototypePush()
5101 return inference.NoChange(); in ReduceArrayPrototypePush()
5104 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReduceArrayPrototypePush()
5232 MapInference inference(broker(), receiver, effect); in ReduceArrayPrototypePop() local
5233 if (!inference.HaveMaps()) return NoChange(); in ReduceArrayPrototypePop()
5234 MapHandles const& receiver_maps = inference.GetMaps(); in ReduceArrayPrototypePop()
5238 return inference.NoChange(); in ReduceArrayPrototypePop()
5241 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReduceArrayPrototypePop()
5372 MapInference inference(broker(), receiver, effect); in ReduceArrayPrototypeShift() local
5373 if (!inference.HaveMaps()) return NoChange(); in ReduceArrayPrototypeShift()
5374 MapHandles const& receiver_maps = inference.GetMaps(); in ReduceArrayPrototypeShift()
5378 return inference.NoChange(); in ReduceArrayPrototypeShift()
5381 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReduceArrayPrototypeShift()
5601 MapInference inference(broker(), receiver, effect); in ReduceArrayPrototypeSlice() local
5602 if (!inference.HaveMaps()) return NoChange(); in ReduceArrayPrototypeSlice()
5603 MapHandles const& receiver_maps = inference.GetMaps(); in ReduceArrayPrototypeSlice()
5612 return inference.NoChange(); in ReduceArrayPrototypeSlice()
5619 return inference.NoChange(); in ReduceArrayPrototypeSlice()
5623 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReduceArrayPrototypeSlice()
5688 MapInference inference(broker(), receiver, effect); in ReduceArrayIterator() local
5689 if (!inference.HaveMaps() || !inference.AllOfInstanceTypesAreJSReceiver()) { in ReduceArrayIterator()
5696 !inference.AllOfInstanceTypesAre(InstanceType::JS_TYPED_ARRAY_TYPE)) { in ReduceArrayIterator()
5760 MapInference inference(broker(), iterated_object, iterator_effect); in ReduceArrayIteratorPrototypeNext() local
5761 if (!inference.HaveMaps()) return NoChange(); in ReduceArrayIteratorPrototypeNext()
5762 MapHandles const& iterated_object_maps = inference.GetMaps(); in ReduceArrayIteratorPrototypeNext()
5771 return inference.NoChange(); in ReduceArrayIteratorPrototypeNext()
5776 return inference.NoChange(); in ReduceArrayIteratorPrototypeNext()
5782 return inference.NoChange(); in ReduceArrayIteratorPrototypeNext()
5792 inference.InsertMapChecks(jsgraph(), &effect, control, p.feedback()); in ReduceArrayIteratorPrototypeNext()
6263 MapInference inference(broker(), receiver, effect); in ReduceStringIteratorPrototypeNext() local
6264 if (!inference.HaveMaps() || in ReduceStringIteratorPrototypeNext()
6265 !inference.AllOfInstanceTypesAre(JS_STRING_ITERATOR_TYPE)) { in ReduceStringIteratorPrototypeNext()
6382 bool JSCallReducer::DoPromiseChecks(MapInference* inference) { in DoPromiseChecks() argument
6383 if (!inference->HaveMaps()) return false; in DoPromiseChecks()
6384 MapHandles const& receiver_maps = inference->GetMaps(); in DoPromiseChecks()
6416 MapInference inference(broker(), receiver, effect); in ReducePromisePrototypeCatch() local
6417 if (!DoPromiseChecks(&inference)) return inference.NoChange(); in ReducePromisePrototypeCatch()
6420 return inference.NoChange(); in ReducePromisePrototypeCatch()
6422 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReducePromisePrototypeCatch()
6470 MapInference inference(broker(), receiver, effect); in ReducePromisePrototypeFinally() local
6471 if (!DoPromiseChecks(&inference)) return inference.NoChange(); in ReducePromisePrototypeFinally()
6472 MapHandles const& receiver_maps = inference.GetMaps(); in ReducePromisePrototypeFinally()
6475 return inference.NoChange(); in ReducePromisePrototypeFinally()
6478 return inference.NoChange(); in ReducePromisePrototypeFinally()
6481 return inference.NoChange(); in ReducePromisePrototypeFinally()
6483 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReducePromisePrototypeFinally()
6593 MapInference inference(broker(), receiver, effect); in ReducePromisePrototypeThen() local
6594 if (!DoPromiseChecks(&inference)) return inference.NoChange(); in ReducePromisePrototypeThen()
6597 return inference.NoChange(); in ReducePromisePrototypeThen()
6600 return inference.NoChange(); in ReducePromisePrototypeThen()
6602 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReducePromisePrototypeThen()
6654 MapInference inference(broker(), receiver, effect); in ReducePromiseResolveTrampoline() local
6655 if (!inference.HaveMaps() || !inference.AllOfInstanceTypesAreJSReceiver()) { in ReducePromiseResolveTrampoline()
6846 MapInference inference(broker(), receiver, effect); in ReduceMapPrototypeGet() local
6847 if (!inference.HaveMaps() || !inference.AllOfInstanceTypesAre(JS_MAP_TYPE)) { in ReduceMapPrototypeGet()
6893 MapInference inference(broker(), receiver, effect); in ReduceMapPrototypeHas() local
6894 if (!inference.HaveMaps() || !inference.AllOfInstanceTypesAre(JS_MAP_TYPE)) { in ReduceMapPrototypeHas()
6936 MapInference inference(broker(), receiver, effect); in ReduceCollectionIteration() local
6937 if (!inference.HaveMaps() || !inference.AllOfInstanceTypesAre(type)) { in ReduceCollectionIteration()
6956 MapInference inference(broker(), receiver, effect); in ReduceCollectionPrototypeSize() local
6957 if (!inference.HaveMaps() || !inference.AllOfInstanceTypesAre(type)) { in ReduceCollectionPrototypeSize()
7001 MapInference inference(broker(), receiver, effect); in ReduceCollectionIteratorPrototypeNext() local
7002 if (!inference.HaveMaps()) return NoChange(); in ReduceCollectionIteratorPrototypeNext()
7003 MapHandles const& receiver_maps = inference.GetMaps(); in ReduceCollectionIteratorPrototypeNext()
7008 return inference.NoChange(); in ReduceCollectionIteratorPrototypeNext()
7013 return inference.NoChange(); in ReduceCollectionIteratorPrototypeNext()
7015 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReduceCollectionIteratorPrototypeNext()
7287 MapInference inference(broker(), receiver, effect); in ReduceArrayBufferViewAccessor() local
7288 if (!inference.HaveMaps() || in ReduceArrayBufferViewAccessor()
7289 !inference.AllOfInstanceTypesAre(instance_type)) { in ReduceArrayBufferViewAccessor()
7364 MapInference inference(broker(), receiver, effect); in ReduceDataViewAccess() local
7365 if (!inference.HaveMaps() || in ReduceDataViewAccess()
7366 !inference.AllOfInstanceTypesAre(JS_DATA_VIEW_TYPE)) { in ReduceDataViewAccess()
7535 MapInference inference(broker(), receiver, effect); in ReduceDatePrototypeGetTime() local
7536 if (!inference.HaveMaps() || !inference.AllOfInstanceTypesAre(JS_DATE_TYPE)) { in ReduceDatePrototypeGetTime()
7605 MapInference inference(broker(), regexp, effect); in ReduceRegExpPrototypeTest() local
7606 if (!inference.Is(regexp_initial_map)) return inference.NoChange(); in ReduceRegExpPrototypeTest()
7607 MapHandles const& regexp_maps = inference.GetMaps(); in ReduceRegExpPrototypeTest()
7631 if (ai_exec.IsInvalid()) return inference.NoChange(); in ReduceRegExpPrototypeTest()
7637 if (!ai_exec.holder().ToHandle(&holder)) return inference.NoChange(); in ReduceRegExpPrototypeTest()
7646 return inference.NoChange(); in ReduceRegExpPrototypeTest()
7654 return inference.NoChange(); in ReduceRegExpPrototypeTest()
7657 inference.RelyOnMapsPreferStability(dependencies(), jsgraph(), &effect, in ReduceRegExpPrototypeTest()