Home
last modified time | relevance | path

Searched refs:GotoIf (Results 1 – 25 of 44) sorted by relevance

12

/third_party/node/deps/v8/src/builtins/
Dbuiltins-object-gen.cc253 GotoIf(WordEqual(object_enum_length, IntPtrConstant(0)), if_no_properties); in FastGetOwnValuesOrEntries()
290 GotoIf(IsSymbol(next_key), &next_descriptor); in FastGetOwnValuesOrEntries()
298 GotoIf(IsPropertyKindAccessor(kind), if_call_runtime_with_fast_path); in FastGetOwnValuesOrEntries()
354 GotoIf(IntPtrEqual(size, IntPtrConstant(0)), if_empty); in FinalizeValuesOrEntriesJSArray()
415 GotoIf(IsNumber(key), &return_false); in TF_BUILTIN()
442 GotoIf(UintPtrLessThanOrEqual(args.GetLengthWithoutReceiver(), in TF_BUILTIN()
472 GotoIf(TaggedIsSmi(object), &if_slow); in TF_BUILTIN()
478 GotoIf( in TF_BUILTIN()
485 GotoIf(IsEmptyFixedArray(object_elements), &if_empty_elements); in TF_BUILTIN()
594 GotoIf(TaggedIsSmi(object), &if_slow); in TF_BUILTIN()
[all …]
Dbuiltins-sharedarraybuffer-gen.cc64 GotoIf(TaggedIsSmi(maybe_array), &invalid); in ValidateIntegerTypedArray()
73 GotoIf(IsDetachedBuffer(array_buffer), detached); in ValidateIntegerTypedArray()
83 GotoIf(Int32LessThan(elements_kind, Int32Constant(FLOAT32_ELEMENTS)), in ValidateIntegerTypedArray()
177 GotoIf(IsJSSharedStruct(maybe_array_or_shared_struct), &shared_struct); in TF_BUILTIN()
197 GotoIf(IsDetachedBuffer(array_buffer), &detached); in TF_BUILTIN()
280 GotoIf(IsJSSharedStruct(maybe_array_or_shared_struct), &shared_struct); in TF_BUILTIN()
302 GotoIf(Int32GreaterThan(elements_kind, Int32Constant(INT32_ELEMENTS)), &u64); in TF_BUILTIN()
312 GotoIf(IsDetachedBuffer(array_buffer), &detached); in TF_BUILTIN()
355 GotoIf(IsDetachedBuffer(array_buffer), &detached); in TF_BUILTIN()
395 GotoIf(IsJSSharedStruct(maybe_array_or_shared_struct), &shared_struct); in TF_BUILTIN()
[all …]
Dbuiltins-date-gen.cc29 GotoIf(TaggedIsSmi(receiver), &receiver_not_date); in Generate_DatePrototype_GetField()
46 GotoIf(TaggedNotEqual(date_cache_stamp, cache_stamp), &stamp_mismatch); in Generate_DatePrototype_GetField()
192 GotoIf(TaggedIsSmi(receiver), &receiver_is_invalid); in TF_BUILTIN()
201 GotoIf(TaggedEqual(hint, number_string), &hint_is_number); in TF_BUILTIN()
203 GotoIf(TaggedEqual(hint, default_string), &hint_is_string); in TF_BUILTIN()
205 GotoIf(TaggedEqual(hint, string_string), &hint_is_string); in TF_BUILTIN()
208 GotoIf(TaggedIsSmi(hint), &hint_is_invalid); in TF_BUILTIN()
210 GotoIf(TaggedEqual( in TF_BUILTIN()
214 GotoIf(TaggedEqual( in TF_BUILTIN()
218 GotoIf(TaggedEqual( in TF_BUILTIN()
Dbuiltins-string-gen.cc137 GotoIf(WordNotEqual(lhs_length, rhs_length), &if_notequal); in GenerateStringEqual()
173 GotoIf(TaggedEqual(lhs, rhs), if_equal); in StringEqual_Core()
185 GotoIf(Word32Equal(Word32And(both_instance_types, in StringEqual_Core()
212 GotoIf( in StringEqual_Core()
215 GotoIf( in StringEqual_Core()
262 GotoIf(WordEqual(var_offset.value(), length), if_equal); in StringEqual_Loop()
275 GotoIf(Word32NotEqual(lhs_value, rhs_value), if_not_equal); in StringEqual_Loop()
369 GotoIf(Uint32GreaterThan(new_length, Uint32Constant(String::kMaxLength)), in StringAdd()
376 GotoIf(Uint32LessThan(new_length, Uint32Constant(ConsString::kMinLength)), in StringAdd()
396 GotoIf(IsSetWord32(xored_instance_types, kStringEncodingMask), &runtime); in StringAdd()
[all …]
Dbuiltins-array-gen.cc124 GotoIf(TaggedIsSmi(receiver_), &throw_not_typed_array); in GenerateIteratingTypedArrayBuiltinBody()
136 GotoIf(TaggedIsSmi(callbackfn_), &throw_not_callable); in GenerateIteratingTypedArrayBuiltinBody()
221 GotoIf(IsDetachedBuffer(array_buffer), &detached); in VisitAllTypedArrayElements()
276 GotoIf(IntPtrEqual(length, IntPtrConstant(0)), &return_undefined); in TF_BUILTIN()
280 GotoIf(TaggedEqual(LoadMap(elements), FixedCOWArrayMapConstant()), in TF_BUILTIN()
288 GotoIf(IntPtrLessThan( in TF_BUILTIN()
298 GotoIf(Int32LessThanOrEqual(elements_kind, in TF_BUILTIN()
319 GotoIf(TaggedEqual(value, TheHoleConstant()), &return_undefined); in TF_BUILTIN()
365 GotoIf(IsElementsKindGreaterThan(kind, HOLEY_SMI_ELEMENTS), in TF_BUILTIN()
381 GotoIf(TaggedIsSmi(arg), &default_label); in TF_BUILTIN()
[all …]
Dbuiltins-call-gen.cc160 GotoIf(TaggedIsSmi(target), &if_target_not_callable); in CallOrConstructWithArrayLike()
173 GotoIf(TaggedIsSmi(target), &if_target_not_constructor); in CallOrConstructWithArrayLike()
186 GotoIf(TaggedIsSmi(*new_target), &if_new_target_not_constructor); in CallOrConstructWithArrayLike()
197 GotoIf(TaggedIsSmi(arguments_list), &if_runtime); in CallOrConstructWithArrayLike()
205 GotoIf(TaggedEqual(arguments_list_map, sloppy_arguments_map), &if_arguments); in CallOrConstructWithArrayLike()
208 GotoIf(TaggedEqual(arguments_list_map, strict_arguments_map), &if_arguments); in CallOrConstructWithArrayLike()
218 GotoIf( in CallOrConstructWithArrayLike()
363 GotoIf(TaggedIsSmi(spread), &if_generic); in CallOrConstructWithSpread()
372 GotoIf(IsNoElementsProtectorCellInvalid(), &if_generic); in CallOrConstructWithSpread()
377 GotoIf( in CallOrConstructWithSpread()
[all …]
Dbuiltins-collections-gen.cc185 GotoIf(IsNullOrUndefined(initial_entries), &exit); in AddConstructorEntries()
256 GotoIf(IntPtrEqual(length, IntPtrConstant(0)), &exit); in AddConstructorEntriesFromFastJSArray()
430 GotoIf(IsUndefined(new_target), &if_undefined); in GenerateConstructor()
452 GotoIf(TaggedIsSmi(add_func), &if_notcallable); in GetAddFunction()
528 GotoIf(TaggedIsSmi(obj), if_cannot_be_weak_key); in GotoIfCannotBeWeakKey()
533 GotoIf(IsJSSharedStructInstanceType(instance_type), if_cannot_be_weak_key); in GotoIfCannotBeWeakKey()
785 GotoIf(IntPtrEqual(var_entry.value(), in FindOrderedHashTableEntry()
940 GotoIf(TaggedEqual(candidate_key, key_smi), if_same); in SameValueZeroSmi()
944 GotoIf(TaggedIsSmi(candidate_key), if_not_same); in SameValueZeroSmi()
954 GotoIf(Float64Equal(candidate_key_number, key_number), if_same); in SameValueZeroSmi()
[all …]
Dbuiltins-iterator-gen.cc35 GotoIf(TaggedIsSmi(method), &if_not_callable); in GetIterator()
47 GotoIf(TaggedIsSmi(iterator), &if_notobject); in GetIterator()
70 GotoIf(TaggedIsSmi(result), &if_notobject); in IteratorStep()
210 GotoIf(WordEqual(SmiUntag(expected_length), values.var_length()->value()), in TF_BUILTIN()
227 GotoIf(IsUndefined(iterable), &done); in StringListFromIterable()
249 GotoIf(TaggedIsSmi(next_value), &if_isnotstringtype); in StringListFromIterable()
331 GotoIf(IsDebugActive(), slow); in FastIterableToList()
353 GotoIf( in FastIterableToList()
Dbuiltins-proxy-gen.cc35 GotoIf(IsConstructor(target), &constructor_target); in AllocateProxy()
187 GotoIf(TaggedIsSmi(new_obj), &not_an_object); in TF_BUILTIN()
271 GotoIf(IsUndefined(getter), &continue_check); in CheckGetSetTrapResult()
272 GotoIf(IsNull(getter), &continue_check); in CheckGetSetTrapResult()
283 GotoIf(IsUndefined(setter), &throw_non_configurable_accessor); in CheckGetSetTrapResult()
284 GotoIf(IsNull(setter), &throw_non_configurable_accessor); in CheckGetSetTrapResult()
349 GotoIf(non_configurable, &throw_non_configurable); in CheckHasTrapResult()
401 GotoIf(non_configurable, &throw_non_configurable); in CheckDeleteTrapResult()
Dbuiltins-constructor-gen.cc190 GotoIf(IsNoClosuresCellMap(feedback_cell_map), &no_closures); in TF_BUILTIN()
191 GotoIf(IsOneClosureCellMap(feedback_cell_map), &one_closure); in TF_BUILTIN()
307 GotoIf(TaggedIsSmi(initial_map_or_proto), call_runtime); in FastNewObject()
308 GotoIf(DoesntHaveInstanceType(CAST(initial_map_or_proto), MAP_TYPE), in FastNewObject()
316 GotoIf(TaggedNotEqual(target, new_target_constructor), call_runtime); in FastNewObject()
321 GotoIf(IsDictionaryMap(initial_map), &allocate_properties); in FastNewObject()
396 GotoIf(IsUndefined(maybe_feedback_vector), &call_runtime); in CreateRegExpLiteral()
494 GotoIf(TaggedIsSmi(maybe_allocation_site), &initialize_allocation_site); in CreateEmptyArrayLiteral()
545 GotoIf(IsSetWord32<Map::Bits3::IsDeprecatedBit>(bit_field_3), call_runtime); in CreateShallowObjectLiteral()
640 GotoIf(TaggedIsSmi(field), &store_field); in CreateShallowObjectLiteral()
[all …]
Dbuiltins-lazy-gen.cc92 GotoIf(IsSetWord32<Code::MarkedForDeoptimizationField>( in MaybeTailCallOptimizedCodeSlot()
130 GotoIf(IsUndefined(feedback_cell_value), &compile_function); in CompileLazy()
138 GotoIf(HasInstanceType(feedback_cell_value, CLOSURE_FEEDBACK_CELL_ARRAY_TYPE), in CompileLazy()
156 GotoIf(InstanceTypeEqual(sfi_data_type.value(), CODET_TYPE), &baseline); in CompileLazy()
Dbuiltins-internal-gen.cc210 GotoIf(WordEqual(slot_set, IntPtrConstant(0)), slow_path); in LoadSlotSet()
221 GotoIf(WordEqual(bucket, IntPtrConstant(0)), slow_path); in LoadBucket()
321 GotoIf(IsWhite(value), &call_incremental_wb); in IncrementalWriteBarrier()
628 GotoIf(SmiGreaterThan(new_nof, SmiShr(capacity, 2)), &shrinking_done); in DictionarySpecificDelete()
629 GotoIf(SmiLessThan(new_nof, SmiConstant(16)), &shrinking_done); in DictionarySpecificDelete()
669 GotoIf(IsSetWord32(details, PropertyDetails::kAttributesDontDeleteMask), in DeleteDictionaryProperty()
689 GotoIf(TaggedIsSmi(receiver), &slow); in TF_BUILTIN()
692 GotoIf(InstanceTypeEqual(instance_type, JS_PROXY_TYPE), &if_proxy); in TF_BUILTIN()
693 GotoIf(IsCustomElementsReceiverInstanceType(instance_type), &slow); in TF_BUILTIN()
709 GotoIf(IsDictionaryMap(receiver_map), &dictionary); in TF_BUILTIN()
[all …]
Dbuiltins-regexp-gen.cc114 GotoIf(has_indices, &result_has_indices); in AllocateRegExpResult()
253 GotoIf(SmiEqual(num_results, SmiConstant(1)), &maybe_build_indices); in ConstructNewResultFromMatchInfo()
274 GotoIf(SmiEqual(start_cursor, SmiConstant(-1)), &next_iter); in ConstructNewResultFromMatchInfo()
317 GotoIf(TaggedEqual(maybe_names, SmiZero()), &maybe_build_indices); in ConstructNewResultFromMatchInfo()
458 GotoIf(TaggedIsNotSmi(last_index), &if_failure); in RegExpExecInternal()
463 GotoIf(UintPtrGreaterThan(int_last_index, int_string_length), &if_failure); in RegExpExecInternal()
497 GotoIf(SmiAbove(capture_count, SmiConstant(kOffsetsSize / 2 - 1)), in RegExpExecInternal()
561 GotoIf(TaggedIsSmi(var_code.value()), &runtime); in RegExpExecInternal()
644 GotoIf( in RegExpExecInternal()
647 GotoIf( in RegExpExecInternal()
[all …]
Dbuiltins-microtask-queue-gen.cc111 GotoIf(WordEqual(GetMicrotaskQueue(native_context), IntPtrConstant(0)), in PrepareForContext()
241 GotoIf(IsUndefined(preserved_embedder_data), &preserved_data_done); in RunSingleMicrotask()
263 GotoIf(IsUndefined(preserved_embedder_data), &preserved_data_reset_done); in RunSingleMicrotask()
294 GotoIf(IsUndefined(preserved_embedder_data), &preserved_data_done); in RunSingleMicrotask()
316 GotoIf(IsUndefined(preserved_embedder_data), &preserved_data_reset_done); in RunSingleMicrotask()
533 GotoIf(IsUndefined(promise), &done_hook); in RunPromiseHook()
549 GotoIf(WordEqual(microtask_queue, IntPtrConstant(0)), &if_shutdown); in TF_BUILTIN()
557 GotoIf(IntPtrEqual(size, capacity), &if_grow); in TF_BUILTIN()
603 GotoIf(WordEqual(size, IntPtrConstant(0)), &done); in TF_BUILTIN()
Dbuiltins-shadowrealm-gen.cc59 GotoIf(TaggedIsSmi(value), &if_primitive); in TF_BUILTIN()
90 GotoIf(IsDictionaryMap(map), &slow_wrap); in TF_BUILTIN()
98 GotoIf(IntPtrLessThan( in TF_BUILTIN()
124 GotoIf(TaggedNotEqual(prototype, function_prototype), &slow_wrap); in TF_BUILTIN()
Dbuiltins-temporal-gen.cc34 GotoIf(IsUndefined(iterable), &done); in TemporalInstantFixedArrayFromIterable()
57 GotoIf(TaggedIsSmi(next_value), &if_isnottemporalinstant); in TemporalInstantFixedArrayFromIterable()
Dbuiltins-global-gen.cc28 GotoIf(TaggedIsSmi(num), &return_true); in TF_BUILTIN()
77 GotoIf(TaggedIsSmi(num), &return_false); in TF_BUILTIN()
Dbuiltins-async-function-gen.cc148 GotoIf(IsDebugActive(), &if_debugging); in TF_BUILTIN()
171 GotoIf(IsDebugActive(), &if_debugging); in TF_BUILTIN()
190 GotoIf(IsDebugActive(), &if_debugging); in TF_BUILTIN()
/third_party/node/deps/v8/src/ic/
Daccessor-assembler.cc155 GotoIf(IsSetWord32<Map::Bits1::IsAccessCheckNeededBit>( in TryMegaDOMCase()
174 GotoIf(IsMegaDOMProtectorCellInvalid(), miss); in TryMegaDOMCase()
211 GotoIf(IsCodeT(CAST(handler)), &call_handler); in HandleLoadICHandlerCase()
275 GotoIf(WordEqual(handler_kind, LOAD_KIND(kApiGetter)), &load); in HandleLoadAccessor()
306 GotoIf(IsSetWord<LoadHandler::IsDoubleBits>(handler_word), &is_double); in HandleLoadField()
314 GotoIf(TaggedIsSmi(heap_number), miss); in HandleLoadField()
325 GotoIf(IsSetWord<LoadHandler::IsDoubleBits>(handler_word), &is_double); in HandleLoadField()
332 GotoIf(TaggedIsSmi(value), miss); in HandleLoadField()
480 GotoIf(WordEqual(handler_kind, LOAD_KIND(kElement)), &if_element); in HandleLoadICSmiHandlerCase()
510 GotoIf(Word32Equal(Int32Constant(-1), result), miss); in HandleLoadICSmiHandlerCase()
[all …]
Dkeyed-store-generic.cc249 GotoIf(IsNull(prototype), only_fast_writable_elements); in BranchIfPrototypesMayHaveReadOnlyElements()
253 GotoIf(IsCustomElementsReceiverInstanceType(instance_type), in BranchIfPrototypesMayHaveReadOnlyElements()
256 GotoIf(IsFastOrNonExtensibleOrSealedElementsKind(elements_kind), in BranchIfPrototypesMayHaveReadOnlyElements()
258 GotoIf(Word32Equal(elements_kind, Int32Constant(NO_ELEMENTS)), &loop_body); in BranchIfPrototypesMayHaveReadOnlyElements()
278 GotoIf(TaggedNotEqual(receiver_map, packed_map), &check_holey_map); in TryRewriteElements()
289 GotoIf(TaggedNotEqual(receiver_map, holey_map), bailout); in TryRewriteElements()
312 GotoIf(TaggedNotEqual(receiver_map, packed_map), map_mismatch); in TryChangeToHoleyMapHelper()
329 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind)), in TryChangeToHoleyMap()
345 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind)), in TryChangeToHoleyMapMulti()
347 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind_2)), in TryChangeToHoleyMapMulti()
[all …]
Dunary-op-assembler.cc84 GotoIf(SmiEqual(smi_value, SmiConstant(0)), &if_zero); in Negate()
87 GotoIf(SmiEqual(smi_value, SmiConstant(Smi::kMinValue)), &if_min_smi); in Negate()
149 GotoIf(TaggedIsSmi(value), &if_smi); in UnaryOpWithFeedback()
153 GotoIf(IsHeapNumberMap(map), &if_heapnumber); in UnaryOpWithFeedback()
155 GotoIf(IsBigIntInstanceType(instance_type), &if_bigint); in UnaryOpWithFeedback()
Dbinary-op-assembler.cc141 GotoIf(TaggedIsSmi(rhs), &call_with_oddball_feedback); in Generate_AddWithFeedback()
152 GotoIf(TaggedIsSmi(rhs), &call_with_any_feedback); in Generate_AddWithFeedback()
156 GotoIf(IsStringInstanceType(lhs_instance_type), &lhs_is_string); in Generate_AddWithFeedback()
157 GotoIf(IsBigIntInstanceType(lhs_instance_type), &lhs_is_bigint); in Generate_AddWithFeedback()
190 GotoIf(rhs_is_oddball, &call_with_oddball_feedback); in Generate_AddWithFeedback()
200 GotoIf(TaggedIsSmi(var_result.value()), &bigint_too_big); in Generate_AddWithFeedback()
349 GotoIf(IsBigIntInstanceType(lhs_instance_type), &if_left_bigint); in Generate_BinaryOperationWithFeedback()
379 GotoIf(TaggedIsSmi(rhs), &call_with_any_feedback); in Generate_BinaryOperationWithFeedback()
408 GotoIf(TaggedIsSmi(var_result.value()), &bigint_too_big); in Generate_BinaryOperationWithFeedback()
/third_party/node/deps/v8/src/codegen/
Dcode-stub-assembler.cc351 GotoIf(Float64LessThanOrEqual(Float64Sub(var_x.value(), one_half), x), in Float64Round()
381 GotoIf(Float64GreaterThanOrEqual(x, two_52), &return_x); in Float64Ceil()
393 GotoIf(Float64LessThanOrEqual(x, minus_two_52), &return_x); in Float64Ceil()
433 GotoIf(Float64GreaterThanOrEqual(x, two_52), &return_x); in Float64Floor()
445 GotoIf(Float64LessThanOrEqual(x, minus_two_52), &return_x); in Float64Floor()
475 GotoIf(Float64LessThan(f_and_half, x), &return_f_plus_one); in Float64RoundToEven()
476 GotoIf(Float64LessThan(x, f_and_half), &return_f); in Float64RoundToEven()
519 GotoIf(Float64GreaterThanOrEqual(x, two_52), &return_x); in Float64Trunc()
536 GotoIf(Float64LessThanOrEqual(x, minus_two_52), &return_x); in Float64Trunc()
830 GotoIf(overflow, if_overflow); in TryIntPtrAdd()
[all …]
/third_party/node/deps/v8/src/compiler/
Deffect-control-linearizer.cc1413 __ GotoIf(__ Float64Equal(value, __ ChangeInt32ToFloat64(value32)), in ChangeFloat64ToTagged()
1424 __ GotoIf(__ Word32Equal(value32, zero), &if_zero); in ChangeFloat64ToTagged()
1430 __ GotoIf(__ Int32LessThan(__ Float64ExtractHighWord32(value), zero), in ChangeFloat64ToTagged()
1470 __ GotoIf(value, &if_true); in ChangeBitToTagged() local
1602 __ GotoIf(__ TaggedEqual(value, __ FalseConstant()), done, zero); in TruncateTaggedPointerToBit()
1605 __ GotoIf(__ TaggedEqual(value, __ EmptyStringConstant()), done, zero); in TruncateTaggedPointerToBit()
1622 __ GotoIf(__ TaggedEqual(value_map, __ HeapNumberMapConstant()), in TruncateTaggedPointerToBit()
1626 __ GotoIf(__ TaggedEqual(value_map, __ BigIntMapConstant()), &if_bigint); in TruncateTaggedPointerToBit()
1655 __ GotoIf(ObjectIsSmi(value), &if_smi); in LowerTruncateTaggedToBit() local
1921 __ GotoIf(is_not_deprecated, &done); in TryMigrateInstance() local
[all …]
/third_party/node/deps/v8/src/interpreter/
Dinterpreter-generator.cc1741 GotoIf(TaggedIsSmi(object), &end); in IGNITION_HANDLER()
1814 GotoIf(TaggedIsSmi(object), &if_false); in IGNITION_HANDLER()
1820 GotoIf(TaggedIsSmi(object), &if_false); in IGNITION_HANDLER()
1826 GotoIf(TaggedEqual(object, TrueConstant()), &if_true); in IGNITION_HANDLER()
1832 GotoIf(TaggedIsSmi(object), &if_false); in IGNITION_HANDLER()
1838 GotoIf(TaggedIsSmi(object), &if_false); in IGNITION_HANDLER()
1840 GotoIf(IsNull(object), &if_false); in IGNITION_HANDLER()
1846 GotoIf(TaggedIsSmi(object), &if_false); in IGNITION_HANDLER()
1859 GotoIf(TaggedIsSmi(object), &if_false); in IGNITION_HANDLER()
1862 GotoIf(IsNull(object), &if_true); in IGNITION_HANDLER()
[all …]

12