/external/v8/src/ic/ |
D | accessor-assembler.cc | 259 GotoIf(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kApiGetter)), in HandleLoadAccessor() 264 WordEqual(handler_kind, in HandleLoadAccessor() 355 GotoIf(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kElement)), in HandleLoadICSmiHandlerCase() 357 Branch(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kIndexedString)), in HandleLoadICSmiHandlerCase() 447 GotoIf(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kField)), &field); in HandleLoadICSmiHandlerCase() 449 GotoIf(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kConstant)), in HandleLoadICSmiHandlerCase() 452 GotoIf(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kNonExistent)), in HandleLoadICSmiHandlerCase() 455 GotoIf(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kNormal)), in HandleLoadICSmiHandlerCase() 458 GotoIf(WordEqual(handler_kind, IntPtrConstant(LoadHandler::kAccessor)), in HandleLoadICSmiHandlerCase() 462 WordEqual(handler_kind, IntPtrConstant(LoadHandler::kNativeDataProperty)), in HandleLoadICSmiHandlerCase() [all …]
|
D | keyed-store-generic.cc | 358 Branch(WordEqual(LoadMap(value), LoadRoot(Heap::kHeapNumberMapRootIndex)), in StoreElementWithCapacity() 392 CSA_ASSERT(this, WordEqual(elements, LoadElements(receiver))); in StoreElementWithCapacity() 494 Branch(WordEqual(intptr_index, length), &if_increment_length_by_one, in EmitGenericElementStore() 635 GotoIf(WordEqual(value, TheHoleConstant()), &next_proto); in LookupPropertyOnPrototypeChain()
|
/external/v8/src/builtins/ |
D | builtins-date-gen.cc | 197 GotoIf(WordEqual(hint, number_string), &hint_is_number); in TF_BUILTIN() 199 GotoIf(WordEqual(hint, default_string), &hint_is_string); in TF_BUILTIN() 201 GotoIf(WordEqual(hint, string_string), &hint_is_string); in TF_BUILTIN() 206 GotoIf(WordEqual( in TF_BUILTIN() 210 GotoIf(WordEqual( in TF_BUILTIN() 214 GotoIf(WordEqual( in TF_BUILTIN()
|
D | builtins-call-gen.cc | 121 GotoIf(WordEqual(arguments_list_map, sloppy_arguments_map), &if_arguments); in CallOrConstructWithArrayLike() 124 GotoIf(WordEqual(arguments_list_map, strict_arguments_map), &if_arguments); in CallOrConstructWithArrayLike() 171 GotoIfNot(WordEqual(length, elements_length), &if_runtime); in CallOrConstructWithArrayLike() 303 GotoIf(WordEqual(LoadObjectField(protector_cell, PropertyCell::kValueOffset), in CallOrConstructWithSpread()
|
D | builtins-promise-gen.cc | 124 Branch(WordEqual(constructor, in TF_BUILTIN() 632 GotoIfNot(WordEqual(promise_fun, constructor), if_slow); in BranchIfPromiseResolveLookupChainIntact() 644 GotoIfNot(WordEqual(LoadMapPrototype(promise_map), promise_prototype), in BranchIfPromiseSpeciesLookupChainIntact() 658 GotoIfNot(WordEqual(LoadMapPrototype(receiver_map), promise_prototype), in BranchIfPromiseThenLookupChainIntact() 693 Branch(WordEqual(native_context, native_function_context), &has_access, in BranchIfAccessCheckFailed() 699 Branch(WordEqual(CallRuntime(Runtime::kAllowDynamicFunction, context, in BranchIfAccessCheckFailed() 843 Branch(WordEqual(promise_fun, new_target), &if_targetisnotmodified, in TF_BUILTIN() 978 Branch(WordEqual(constructor, promise_fun), &fast_promise_capability, in TF_BUILTIN() 1082 GotoIfNot(WordEqual(then, promise_then), &if_slow); in TF_BUILTIN() 1314 GotoIfNot(WordEqual(LoadMapPrototype(value_map), promise_prototype), in TF_BUILTIN() [all …]
|
D | builtins-async-gen.cc | 61 CSA_ASSERT(this, WordEqual(LoadMapInstanceSizeInWords(promise_map), in Await() 188 CSA_ASSERT(this, WordEqual(LoadMapInstanceSizeInWords(promise_map), in AwaitOptimized() 272 CSA_ASSERT(this, WordEqual(LoadMapInstanceSizeInWords(function_map), in InitializeNativeClosure()
|
D | builtins-arguments-gen.cc | 30 WordEqual(function, in GetArgumentsFrameAndCount() 233 GotoIf(WordEqual(argument_count, zero), &empty); in EmitFastNewStrictArguments() 277 GotoIf(WordEqual(argument_count, zero), &empty); in EmitFastNewSloppyArguments() 279 GotoIf(WordEqual(formal_parameter_count, zero), &no_parameters); in EmitFastNewSloppyArguments()
|
D | builtins-object-gen.cc | 295 GotoIf(WordEqual(object_enum_length, IntPtrConstant(0)), if_no_properties); in FastGetOwnValuesOrEntries() 325 CSA_ASSERT(this, WordEqual(map, LoadMap(object))); in FastGetOwnValuesOrEntries() 685 [=] { return WordEqual(LoadMap(CAST(from)), from_map); }, in ObjectAssignFast() 716 WordEqual(object_enum_length, IntPtrConstant(kInvalidEnumCacheSentinel)), in TF_BUILTIN() 728 Branch(WordEqual(object_enum_length, IntPtrConstant(0)), &if_empty, &if_fast); in TF_BUILTIN() 801 WordEqual(object_enum_length, IntPtrConstant(kInvalidEnumCacheSentinel)), in TF_BUILTIN() 815 GotoIfNot(WordEqual(object_enum_length, number_descriptors), &if_slow); in TF_BUILTIN() 818 Branch(WordEqual(object_enum_length, IntPtrConstant(0)), &if_empty, &if_fast); in TF_BUILTIN() 1266 GotoIf(WordEqual(prototype, LoadMapPrototype(map.value())), in TF_BUILTIN() 1325 GotoIfNot(WordEqual(LoadElements(properties), in TF_BUILTIN() [all …]
|
D | builtins-iterator-gen.cc | 92 GotoIfNot(WordEqual(result_map, fast_iterator_result_map), &if_generic); in IteratorStep() 138 GotoIfNot(WordEqual(map, fast_iterator_result_map), &if_generic); in IteratorValue()
|
D | builtins-collections-gen.cc | 204 CSA_ASSERT(this, WordEqual(original_initial_entries_map, in AddConstructorEntries() 229 WordEqual(GetAddFunction(variant, native_context, collection), add_func)); in AddConstructorEntriesFromFastJSArray() 286 WordEqual(original_collection_map, LoadMap(CAST(collection)))); in AddConstructorEntriesFromFastJSArray() 288 WordEqual(original_fast_js_array_map, LoadMap(fast_jsarray))); in AddConstructorEntriesFromFastJSArray() 330 TNode<BoolT> is_target_unmodified = WordEqual(constructor, new_target); in AllocateJSCollection() 488 return WordEqual(collection_proto_map, initial_prototype_map); in HasInitialCollectionPrototype() 826 GotoIf(WordEqual(candidate_key, key_smi), if_same); in SameValueZeroSmi() 918 Branch(WordEqual(key, other_key), if_same, if_not_same); in FindOrderedHashTableEntryForOtherKey() 950 Branch(WordEqual(CallBuiltin(Builtins::kStringEqual, context, key_string, in SameValueZeroString() 964 Branch(WordEqual(CallRuntime(Runtime::kBigIntEqualToBigInt, in SameValueZeroBigInt() [all …]
|
D | builtins-string-gen.cc | 172 CSA_ASSERT(this, WordEqual(LoadStringLengthAsWord(lhs), length)); in StringEqual_Core() 173 CSA_ASSERT(this, WordEqual(LoadStringLengthAsWord(rhs), length)); in StringEqual_Core() 175 GotoIf(WordEqual(lhs, rhs), if_equal); in StringEqual_Core() 251 CSA_ASSERT(this, WordEqual(LoadStringLengthAsWord(lhs), length)); in StringEqual_Loop() 252 CSA_ASSERT(this, WordEqual(LoadStringLengthAsWord(rhs), length)); in StringEqual_Loop() 266 GotoIf(WordEqual(var_offset.value(), length), if_equal); in StringEqual_Loop() 398 GotoIf(WordEqual(lhs, rhs), &if_equal); in GenerateStringRelationalComparison() 446 Branch(WordEqual(var_offset.value(), end), &if_done, &if_notdone); in GenerateStringRelationalComparison() 843 GotoIf(WordEqual(subject_string, search_string), &return_zero); in StringIndexOf() 909 GotoIf(WordEqual(result_address, int_zero), &return_minus_1); in StringIndexOf() [all …]
|
D | builtins-regexp-gen.cc | 248 GotoIf(WordEqual(maybe_names, SmiZero()), &out); in ConstructNewResultFromMatchInfo() 840 Node* const has_initialmap = WordEqual(map, initial_map); in IsFastRegExpNoPrototype() 881 TNode<BoolT> has_initialexec = WordEqual(regexp_exec, original_exec); in IsFastRegExpWithOriginalExec() 915 CSA_ASSERT(this, WordEqual(LoadMap(object), map)); in BranchIfFastRegExp() 927 Node* const has_initialmap = WordEqual(map, initial_map); in BranchIfFastRegExp() 935 WordEqual(proto_map, initial_proto_initial_map); in BranchIfFastRegExp() 984 Branch(WordEqual(map, initial_regexp_result_map), if_isunmodified, in BranchIfFastRegExpResult() 1307 GotoIfNot(WordEqual(value, regexp_function), &next); in TF_BUILTIN() 1374 Branch(WordEqual(var_new_target.value(), regexp_function), in TF_BUILTIN() 1478 Branch(WordEqual(receiver, initial_prototype), &if_isprototype, in TF_BUILTIN() [all …]
|
D | growable-fixed-array-gen.cc | 49 GotoIf(WordEqual(length, capacity), &next); in ToJSArray()
|
D | builtins-internal-gen.cc | 122 GotoIf(WordEqual(index, number_of_holes), &done_loop1); in TF_BUILTIN() 145 GotoIf(WordEqual(index, length), &done_loop2); in TF_BUILTIN() 271 return WordEqual(mode, SmiConstant(kDontSaveFPRegs)); in ShouldSkipFPRegs() 275 return WordEqual(remembered_set, SmiConstant(EMIT_REMEMBERED_SET)); in ShouldEmitRememberSet() 339 Branch(WordEqual(test, IntPtrConstant(0)), &overflow, next); in InsertToStoreBufferAndGoto() 828 Branch(WordEqual(num_tasks, queue_length), &if_grow, &if_append); in TF_BUILTIN()
|
D | builtins-constructor-gen.cc | 533 Branch(WordEqual(offset.value(), instance_size), &done_init, in EmitCreateShallowObjectLiteral() 645 Branch(WordEqual(new_target, target), &if_notsubclass, &if_subclass); in TF_BUILTIN() 694 GotoIf(WordEqual(argc, IntPtrConstant(0)), &if_nloaded); in TF_BUILTIN() 752 GotoIf(WordEqual(argc, IntPtrConstant(0)), &if_sloaded); in TF_BUILTIN()
|
D | builtins-array-gen.cc | 107 GotoIf(WordEqual(a(), TheHoleConstant()), &initial); in ReduceProcessor() 756 GotoIf(WordEqual(value.value(), TheHoleConstant()), &hole_element); in VisitAllFastElementsOneKind() 855 GotoIf(WordEqual(value, protector_invalid), &runtime); in GenerateArraySpeciesCreate() 899 GotoIf(WordEqual(value, protector_invalid), &runtime); in GenerateArraySpeciesCreate() 967 GotoIf(WordEqual(LoadMap(elements), in TF_BUILTIN() 1016 GotoIf(WordEqual(value, TheHoleConstant()), &return_undefined); in TF_BUILTIN() 1426 GotoIf(WordEqual(end, UndefinedConstant()), &end_undefined); in TF_BUILTIN() 1538 GotoIf(WordEqual(LoadMap(elements), in TF_BUILTIN() 1628 GotoIf(WordEqual(value, TheHoleConstant()), &return_undefined); in TF_BUILTIN() 1648 GotoIf(WordEqual(value, TheHoleConstant()), &return_undefined); in TF_BUILTIN() [all …]
|
D | builtins-lazy-gen.cc | 188 WordEqual(code, HeapConstant(BUILTIN_CODE(isolate(), DeserializeLazy))), in TF_BUILTIN()
|
D | builtins-async-generator-gen.cc | 77 return WordEqual(is_generator_awaiting, SmiConstant(1)); in IsGeneratorAwaiting() 103 return WordEqual( in IsFastJSIterResult()
|
D | builtins-typed-array-gen.cc | 156 GotoIfNot(WordEqual(buffer_constructor, default_constructor), in TF_BUILTIN() 211 GotoIf(WordEqual<Object, Object>( in TF_BUILTIN() 380 Branch(WordEqual<Object, Object>(remainder, SmiConstant(0)), &check_length, in ConstructByArrayBuffer() 943 GotoIf(WordEqual(backing_store, IntPtrConstant(0)), &call_runtime); in GetBuffer() 1315 Branch(WordEqual(receiver_buffer, target_buffer), &call_c, &call_memmove); in TF_BUILTIN()
|
/external/v8/src/interpreter/ |
D | interpreter-assembler.cc | 734 Node* is_megamorphic = WordEqual( in CollectCallableFeedback() 743 Node* is_uninitialized = WordEqual( in CollectCallableFeedback() 782 Branch(WordEqual(LoadNativeContext(context), current_native_context), in CollectCallableFeedback() 946 Node* is_megamorphic = WordEqual( in Construct() 968 GotoIfNot(WordEqual(target, array_function), &mark_megamorphic); in Construct() 969 GotoIfNot(WordEqual(new_target, array_function), &mark_megamorphic); in Construct() 979 WordEqual(feedback, LoadRoot(Heap::kuninitialized_symbolRootIndex)); in Construct() 1010 Branch(WordEqual(LoadNativeContext(context), current_native_context), in Construct() 1027 GotoIfNot(WordEqual(target, new_target), &store_weak_reference); in Construct() 1030 Branch(WordEqual(target, array_function), &create_allocation_site, in Construct() [all …]
|
D | interpreter-generator.cc | 1415 Branch(WordEqual(value, true_value), &if_true, &if_false); in IGNITION_HANDLER() 1423 CSA_ASSERT(this, WordEqual(value, false_value)); in IGNITION_HANDLER() 1804 Node* result = SelectBooleanConstant(WordEqual(lhs, rhs)); in IGNITION_HANDLER() 1867 Node* result = SelectBooleanConstant(WordEqual(object, NullConstant())); in IGNITION_HANDLER() 1877 Node* result = SelectBooleanConstant(WordEqual(object, UndefinedConstant())); in IGNITION_HANDLER() 1933 GotoIf(WordEqual(object, TrueConstant()), &if_true); in IGNITION_HANDLER() 1934 Branch(WordEqual(object, FalseConstant()), &if_true, &if_false); in IGNITION_HANDLER() 2472 GotoIf(WordEqual(cached_value, SmiConstant(0)), &call_runtime); in IGNITION_HANDLER() 2738 GotoIf(WordEqual(value, TheHoleConstant()), &throw_error); in IGNITION_HANDLER() 2757 GotoIf(WordEqual(value, TheHoleConstant()), &throw_error); in IGNITION_HANDLER() [all …]
|
/external/v8/src/compiler/ |
D | effect-control-linearizer.cc | 1149 return __ WordEqual(value, __ TrueConstant()); in LowerChangeTaggedToBit() 1163 __ GotoIf(__ WordEqual(value, __ FalseConstant()), done, zero); in TruncateTaggedPointerToBit() 1166 __ GotoIf(__ WordEqual(value, __ EmptyStringConstant()), done, zero); in TruncateTaggedPointerToBit() 1183 __ GotoIf(__ WordEqual(value_map, __ HeapNumberMapConstant()), in TruncateTaggedPointerToBit() 1207 Node* length_is_zero = __ WordEqual( in TruncateTaggedPointerToBit() 1226 __ Goto(&done, __ Word32Equal(__ WordEqual(value, __ IntPtrConstant(0)), in LowerTruncateTaggedToBit() 1365 Node* check = __ WordEqual(value_map, map); in LowerCheckMaps() 1380 Node* if_not_deprecated = __ WordEqual( in LowerCheckMaps() 1405 Node* check = __ WordEqual(value_map, map); in LowerCheckMaps() 1424 Node* check = __ WordEqual(value_map, map); in LowerCheckMaps() [all …]
|
D | code-assembler.h | 863 TNode<BoolT> WordEqual(TNode<Left> left, TNode<Right> right) { 864 return WordEqual(ReinterpretCast<WordT>(left), 867 TNode<BoolT> WordEqual(TNode<Object> left, Node* right) { 868 return WordEqual(ReinterpretCast<WordT>(left), 871 TNode<BoolT> WordEqual(Node* left, TNode<Object> right) { 872 return WordEqual(ReinterpretCast<WordT>(left), 893 TNode<BoolT> WordEqual(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
|
D | raw-machine-assembler.h | 224 Node* WordEqual(Node* a, Node* b) { in WordEqual() function 225 return AddNode(machine()->WordEqual(), a, b); in WordEqual() 228 return Word32BinaryNot(WordEqual(a, b)); in WordNotEqual()
|
/external/v8/src/ |
D | code-stub-assembler.cc | 247 return WordEqual(value, name##Constant()); \ 357 return WordEqual( in WordIsPowerOfTwo() 359 WordEqual(value, IntPtrConstant(0)), in WordIsPowerOfTwo() 583 return WordEqual(value, ChangeInt32ToIntPtr(TruncateIntPtrToInt32(value))); in IsValidSmi() 900 GotoIf(WordEqual(divisor, SmiConstant(0)), bailout); in TrySmiDiv() 905 Branch(WordEqual(dividend, SmiConstant(0)), ÷nd_is_zero, in TrySmiDiv() 952 return WordEqual(WordAnd(BitcastTaggedToWord(a), IntPtrConstant(kSmiTagMask)), in TaggedIsSmi() 957 return WordEqual( in TaggedIsSmi() 969 return WordEqual(WordAnd(BitcastTaggedToWord(a), in TaggedIsPositiveSmi() 975 return WordEqual(IntPtrConstant(0), in WordIsWordAligned() [all …]
|