/third_party/node/deps/v8/src/roots/ |
D | roots-inl.h | 30 V8_INLINE constexpr bool operator<(RootIndex lhs, RootIndex rhs) { 31 using type = typename std::underlying_type<RootIndex>::type; 35 V8_INLINE RootIndex operator++(RootIndex& index) { 36 using type = typename std::underlying_type<RootIndex>::type; 37 index = static_cast<RootIndex>(static_cast<type>(index) + 1); 42 RootIndex* index) const { in IsRootHandleLocation() 48 *index = static_cast<RootIndex>(location - first_root); in IsRootHandleLocation() 53 bool RootsTable::IsRootHandle(Handle<T> handle, RootIndex* index) const { in IsRootHandle() 82 Object(*GetLocation(RootIndex::k##CamelName))); \ 86 Address* location = GetLocation(RootIndex::k##CamelName); \ [all …]
|
D | roots.h | 392 enum class RootIndex : uint16_t { enum 439 static_cast<size_t>(RootIndex::kRootListLength); 444 RootIndex* index) const; 447 bool IsRootHandle(Handle<T> handle, RootIndex* index) const; 449 Address const& operator[](RootIndex root_index) const { 455 FullObjectSlot slot(RootIndex root_index) { in slot() 461 static const char* name(RootIndex root_index) { in name() 467 static constexpr int offset_of(RootIndex root_index) { in offset_of() 477 static constexpr bool IsImmortalImmovable(RootIndex root_index) { in IsImmortalImmovable() 478 STATIC_ASSERT(static_cast<int>(RootIndex::kFirstImmortalImmovableRoot) == in IsImmortalImmovable() [all …]
|
/third_party/node/deps/v8/src/baseline/ |
D | baseline-compiler.cc | 84 bool Clobbers(Register target, RootIndex index) { return false; } in Clobbers() 109 bool MachineTypeMatches(MachineType type, RootIndex index) { in MachineTypeMatches() 425 __ LoadRoot(output, RootIndex::kFalseValue); in SelectBooleanConstant() 428 __ LoadRoot(output, RootIndex::kTrueValue); in SelectBooleanConstant() 603 RootIndex root) { in UpdateInterruptBudgetAndDoInterpreterJumpIfRoot() 612 RootIndex root) { in UpdateInterruptBudgetAndDoInterpreterJumpIfNotRoot() 670 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in VisitLdaUndefined() 674 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kNullValue); in VisitLdaNull() 678 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kTheHoleValue); in VisitLdaTheHole() 682 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kTrueValue); in VisitLdaTrue() [all …]
|
D | baseline-assembler.h | 52 inline void JumpIfRoot(Register value, RootIndex index, Label* target, 54 inline void JumpIfNotRoot(Register value, RootIndex index, Label* target, 95 inline void LoadRoot(Register output, RootIndex index); 104 inline void Move(Register output, RootIndex source);
|
/third_party/node/deps/v8/src/snapshot/ |
D | roots-serializer.h | 19 enum class RootIndex : uint16_t; 28 RootIndex first_root_to_be_serialized); 33 bool root_has_been_serialized(RootIndex root_index) const { in root_has_been_serialized() 38 RootIndex root_index; in IsRootAndHasBeenSerialized() 54 const RootIndex first_root_to_be_serialized_;
|
D | read-only-serializer.cc | 22 : RootsSerializer(isolate, flags, RootIndex::kFirstReadOnlyRoot) in ReadOnlySerializer() 29 STATIC_ASSERT(RootIndex::kFirstReadOnlyRoot == RootIndex::kFirstRoot); in ReadOnlySerializer() 112 if (root_has_been_serialized(RootIndex::kFreeSpaceMap) && in MustBeDeferred() 113 root_has_been_serialized(RootIndex::kOnePointerFillerMap) && in MustBeDeferred() 114 root_has_been_serialized(RootIndex::kTwoPointerFillerMap)) { in MustBeDeferred()
|
/third_party/node/deps/v8/src/utils/ |
D | address-map.cc | 18 for (RootIndex root_index = RootIndex::kFirstStrongOrReadOnlyRoot; in RootIndexMap() 19 root_index <= RootIndex::kLastStrongOrReadOnlyRoot; ++root_index) { in RootIndexMap() 41 bool RootIndexMap::Lookup(Address obj, RootIndex* out_root_list) const { in Lookup()
|
D | address-map.h | 62 bool Lookup(HeapObject obj, RootIndex* out_root_list) const { in Lookup() 65 *out_root_list = static_cast<RootIndex>(maybe_index.FromJust()); in Lookup() 70 bool Lookup(Address obj, RootIndex* out_root_list) const;
|
/third_party/node/deps/v8/src/heap/ |
D | heap-inl.h | 119 return Type::cast(Object(roots_table()[RootIndex::k##CamelName])); \ 129 !RootsTable::IsImmortalImmovable(RootIndex::k##CamelName)); \ 130 DCHECK_IMPLIES(RootsTable::IsImmortalImmovable(RootIndex::k##CamelName), \ 132 roots_table()[RootIndex::k##CamelName] = value.ptr(); \ 138 roots_table()[RootIndex::kMaterializedObjects] = objects.ptr(); in ROOT_LIST() 142 roots_table()[RootIndex::kScriptList] = value.ptr(); in SetRootScriptList() 146 roots_table()[RootIndex::kMessageListeners] = value.ptr(); in SetMessageListeners() 151 roots_table()[RootIndex::kPendingOptimizeForTestBytecode] = hash_table.ptr(); in SetPendingOptimizeForTestBytecode() 506 FullObjectSlot last_script_id_slot(&roots_table()[RootIndex::kLastScriptId]); in NextScriptId()
|
D | setup-heap-internal.cc | 96 {type, size, RootIndex::k##CamelName##Map}, 102 {"", RootIndex::kempty_string}, 104 {contents, RootIndex::k##name}, 111 {TYPE, Name::kSize, RootIndex::k##Name##Map}, 116 {TYPE, Name::kSize##Size, RootIndex::k##Name##Size##Map}, 121 {TYPE, Name::kSizeWithData##Size, RootIndex::k##Name##Size##Map}, 168 Map::unchecked_cast(isolate()->root(RootIndex::kMetaMap)), in AllocatePartialMap() 765 roots_table()[RootIndex::k##name] = symbol->ptr(); \ in CreateInitialObjects() 777 roots_table()[RootIndex::k##name] = name->ptr(); in CreateInitialObjects() 786 roots_table()[RootIndex::k##name] = name->ptr(); in CreateInitialObjects() [all …]
|
/third_party/node/deps/v8/src/execution/ |
D | local-isolate-inl.h | 25 Object LocalIsolate::root(RootIndex index) const { in root() 30 Handle<Object> LocalIsolate::root_handle(RootIndex index) const { in root_handle()
|
/third_party/node/deps/v8/src/builtins/ |
D | constants-table-builder.cc | 24 DCHECK(RootsTable::IsImmortalImmovable(RootIndex::kEmptyFixedArray)); in BuiltinsConstantsTableBuilder() 31 RootIndex root_list_index; in AddObject() 62 RootIndex root_list_index; in CheckPreconditionsForPatching()
|
D | builtins-async-gen.cc | 166 RootIndex::kEmptyFixedArray); in InitializeNativeClosure() 168 RootIndex::kEmptyFixedArray); in InitializeNativeClosure() 170 RootIndex::kManyClosuresCell); in InitializeNativeClosure()
|
D | builtins-async-function-gen.cc | 103 RootIndex::kUndefinedValue); in TF_BUILTIN() 118 RootIndex::kEmptyFixedArray); in TF_BUILTIN() 121 RootIndex::kEmptyFixedArray); in TF_BUILTIN()
|
/third_party/node/deps/v8/src/builtins/x64/ |
D | builtins-x64.cc | 144 __ PushRoot(RootIndex::kTheHoleValue); in Generate_JSBuiltinsConstructStubHelper() 194 __ PushRoot(RootIndex::kTheHoleValue); in Generate_JSConstructStubGeneric() 221 __ LoadRoot(rax, RootIndex::kTheHoleValue); in Generate_JSConstructStubGeneric() 299 __ JumpIfNotRoot(rax, RootIndex::kUndefinedValue, &check_result, in Generate_JSConstructStubGeneric() 306 __ JumpIfRoot(rax, RootIndex::kTheHoleValue, &do_throw, Label::kNear); in Generate_JSConstructStubGeneric() 470 __ LoadRoot(rax, RootIndex::kException); in Generate_JSEntryVariant() 849 __ PushRoot(RootIndex::kTheHoleValue); in Generate_ResumeGeneratorTrampoline() 1263 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_InterpreterEntryTrampoline() 1349 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_InterpreterEntryTrampoline() 1452 __ PushRoot(RootIndex::kUndefinedValue); in Generate_InterpreterPushArgsThenCallImpl() [all …]
|
/third_party/node/deps/v8/src/codegen/x64/ |
D | macro-assembler-x64.h | 80 Operand RootAsOperand(RootIndex index); 81 void LoadRoot(Register destination, RootIndex index) final; 82 void LoadRoot(Operand destination, RootIndex index) { in LoadRoot() 426 void CompareRoot(Register with, RootIndex index); 427 void CompareRoot(Operand with, RootIndex index); 660 void PushRoot(RootIndex index); 663 void JumpIfRoot(Register with, RootIndex index, Label* if_equal, 668 void JumpIfRoot(Operand with, RootIndex index, Label* if_equal, 675 void JumpIfNotRoot(Register with, RootIndex index, Label* if_not_equal, 680 void JumpIfNotRoot(Operand with, RootIndex index, Label* if_not_equal,
|
/third_party/node/deps/v8/src/maglev/ |
D | maglev-graph-builder.cc | 93 AddNewNode<RootConstant>({}, RootIndex::kUndefinedValue); in MaglevGraphBuilder() 249 SetAccumulator(AddNewNode<RootConstant>({}, RootIndex::kUndefinedValue)); in VisitLdaUndefined() 252 SetAccumulator(AddNewNode<RootConstant>({}, RootIndex::kNullValue)); in VisitLdaNull() 255 SetAccumulator(AddNewNode<RootConstant>({}, RootIndex::kTheHoleValue)); in VisitLdaTheHole() 258 SetAccumulator(AddNewNode<RootConstant>({}, RootIndex::kTrueValue)); in VisitLdaTrue() 261 SetAccumulator(AddNewNode<RootConstant>({}, RootIndex::kFalseValue)); in VisitLdaFalse() 609 AddNewNode<RootConstant>({}, RootIndex::kUndefinedValue); in MAGLEV_UNIMPLEMENTED_BYTECODE() 638 AddNewNode<RootConstant>({}, RootIndex::kUndefinedValue); in BuildCallFromRegisters()
|
/third_party/node/deps/v8/src/builtins/ia32/ |
D | builtins-ia32.cc | 143 __ PushRoot(RootIndex::kTheHoleValue); in Generate_JSBuiltinsConstructStubHelper() 197 __ PushRoot(RootIndex::kTheHoleValue); in Generate_JSConstructStubGeneric() 224 __ LoadRoot(eax, RootIndex::kTheHoleValue); in Generate_JSConstructStubGeneric() 303 __ JumpIfNotRoot(eax, RootIndex::kUndefinedValue, &check_result, in Generate_JSConstructStubGeneric() 310 __ JumpIfRoot(eax, RootIndex::kTheHoleValue, &do_throw); in Generate_JSConstructStubGeneric() 753 __ PushRoot(RootIndex::kTheHoleValue); in Generate_ResumeGeneratorTrampoline() 1165 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_InterpreterEntryTrampoline() 1255 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_InterpreterEntryTrampoline() 1390 __ PushRoot(RootIndex::kUndefinedValue); in Generate_InterpreterPushArgsThenCallImpl() 1783 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_BaselineOutOfLinePrologue() [all …]
|
/third_party/node/deps/v8/src/codegen/ia32/ |
D | macro-assembler-ia32.h | 271 Operand RootAsOperand(RootIndex index); 272 void LoadRoot(Register destination, RootIndex index) final; 300 void CompareRoot(Register with, RootIndex index); 301 void CompareRoot(Register with, Register scratch, RootIndex index); 421 void PushRoot(RootIndex index); 424 void JumpIfRoot(Register with, RootIndex index, Label* if_equal, 431 void JumpIfNotRoot(Register with, RootIndex index, Label* if_not_equal,
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
D | dag.h | 89 static const constexpr NodeIndex RootIndex = 0; 308 return DAGNodeBuilder<T>{this, DAGBase<T>::RootIndex}; 377 this->invoke(&ctx, this->RootIndex, &wg); 400 this->invoke(&ctx, this->RootIndex, &wg);
|
/third_party/node/deps/v8/src/builtins/ppc/ |
D | builtins-ppc.cc | 357 __ PushRoot(RootIndex::kTheHoleValue); in Generate_JSBuiltinsConstructStubHelper() 460 __ PushRoot(RootIndex::kUndefinedValue); in Generate_JSConstructStubGeneric() 488 __ LoadRoot(r3, RootIndex::kTheHoleValue); in Generate_JSConstructStubGeneric() 571 __ JumpIfNotRoot(r3, RootIndex::kUndefinedValue, &check_receiver); in Generate_JSConstructStubGeneric() 580 __ JumpIfRoot(r3, RootIndex::kTheHoleValue, &do_throw); in Generate_JSConstructStubGeneric() 755 __ PushRoot(RootIndex::kTheHoleValue); in Generate_ResumeGeneratorTrampoline() 911 __ LoadRoot(r3, RootIndex::kException); in Generate_JSEntryVariant() 1037 __ LoadRoot(r7, RootIndex::kUndefinedValue); in Generate_JSEntryTrampolineHelper() 1431 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_BaselineOutOfLinePrologue() 1458 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_BaselineOutOfLinePrologue() [all …]
|
/third_party/node/deps/v8/src/builtins/s390/ |
D | builtins-s390.cc | 399 __ PushRoot(RootIndex::kTheHoleValue); in Generate_JSBuiltinsConstructStubHelper() 449 __ PushRoot(RootIndex::kUndefinedValue); in Generate_JSConstructStubGeneric() 477 __ LoadRoot(r2, RootIndex::kTheHoleValue); in Generate_JSConstructStubGeneric() 556 __ JumpIfNotRoot(r2, RootIndex::kUndefinedValue, &check_receiver); in Generate_JSConstructStubGeneric() 565 __ JumpIfRoot(r2, RootIndex::kTheHoleValue, &do_throw); in Generate_JSConstructStubGeneric() 729 __ PushRoot(RootIndex::kTheHoleValue); in Generate_ResumeGeneratorTrampoline() 912 __ LoadRoot(r2, RootIndex::kException); in Generate_JSEntryVariant() 1073 __ LoadRoot(r4, RootIndex::kUndefinedValue); in Generate_JSEntryTrampolineHelper() 1463 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_BaselineOutOfLinePrologue() 1489 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_BaselineOutOfLinePrologue() [all …]
|
/third_party/node/deps/v8/src/builtins/arm/ |
D | builtins-arm.cc | 144 __ PushRoot(RootIndex::kTheHoleValue); in Generate_JSBuiltinsConstructStubHelper() 191 __ LoadRoot(r4, RootIndex::kTheHoleValue); in Generate_JSConstructStubGeneric() 219 __ LoadRoot(r0, RootIndex::kTheHoleValue); in Generate_JSConstructStubGeneric() 292 __ JumpIfNotRoot(r0, RootIndex::kUndefinedValue, &check_receiver); in Generate_JSConstructStubGeneric() 301 __ JumpIfRoot(r0, RootIndex::kTheHoleValue, &do_throw); in Generate_JSConstructStubGeneric() 486 __ PushRoot(RootIndex::kTheHoleValue); in Generate_ResumeGeneratorTrampoline() 648 __ LoadRoot(r0, RootIndex::kException); in Generate_JSEntryVariant() 790 __ LoadRoot(r4, RootIndex::kUndefinedValue); in Generate_JSEntryTrampolineHelper() 1192 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_BaselineOutOfLinePrologue() 1221 __ LoadRoot(kInterpreterAccumulatorRegister, RootIndex::kUndefinedValue); in Generate_BaselineOutOfLinePrologue() [all …]
|
/third_party/node/deps/v8/src/codegen/ |
D | turbo-assembler.cc | 50 RootIndex root_index; in IndirectLoadConstant() 95 RootIndex root_index) { in RootRegisterOffsetForRootIndex()
|
D | turbo-assembler.h | 79 virtual void LoadRoot(Register destination, RootIndex index) = 0; 81 static int32_t RootRegisterOffsetForRootIndex(RootIndex root_index);
|