Home
last modified time | relevance | path

Searched refs:instance_size (Results 1 – 25 of 36) sorted by relevance

12

/external/v8/src/objects/
Ddata-handler-inl.h21 return (map()->instance_size() - kSizeWithData0) / kPointerSize; in ACCESSORS()
25 map()->instance_size() >= kSizeWithData1)
27 map()->instance_size() >= kSizeWithData2)
29 map()->instance_size() >= kSizeWithData3)
Dmap.h175 DECL_INT_ACCESSORS(instance_size)
647 int instance_size, int in_object_properties,
902 int instance_size, int inobject_properties);
Dmap-inl.h216 int Map::instance_size() const { in instance_size() function
326 return instance_size(); in UsedInstanceSize()
743 return CopyInitialMap(isolate, map, map->instance_size(), in CopyInitialMap()
/external/v8/src/compiler/
Dcompilation-dependencies.cc268 int instance_size) in InitialMapInstanceSizePredictionDependency() argument
269 : function_(function), instance_size_(instance_size) {} in InitialMapInstanceSizePredictionDependency()
274 int instance_size = in IsValid() local
277 return instance_size == instance_size_; in IsValid()
436 int instance_size) in SlackTrackingPrediction() argument
437 : instance_size_(instance_size), in SlackTrackingPrediction()
439 (instance_size >> kPointerSizeLog2) - in SlackTrackingPrediction()
446 int instance_size = function.InitialMapInstanceSizeWithMinSlack(); in DependOnInitialMapInstanceSizePrediction() local
452 InitialMapInstanceSizePredictionDependency(function, instance_size)); in DependOnInitialMapInstanceSizePrediction()
453 DCHECK_LE(instance_size, function.initial_map().instance_size()); in DependOnInitialMapInstanceSizePrediction()
[all …]
Dcompilation-dependencies.h18 SlackTrackingPrediction(MapRef initial_map, int instance_size);
21 int instance_size() const { return instance_size_; } in instance_size() function
Djs-create-lowering.cc150 a.Allocate(slack_tracking_prediction.instance_size()); in ReduceJSCreate()
441 a.Allocate(slack_tracking_prediction.instance_size()); in ReduceJSCreateGeneratorObject()
509 a.Allocate(slack_tracking_prediction.instance_size(), pretenure); in ReduceNewArray()
556 a.Allocate(slack_tracking_prediction.instance_size(), pretenure); in ReduceNewArray()
613 a.Allocate(slack_tracking_prediction.instance_size(), pretenure); in ReduceNewArray()
996 a.Allocate(function_map.instance_size(), pretenure, Type::Function()); in ReduceJSCreateClosure()
1103 a.Allocate(promise_map.instance_size()); in ReduceJSCreatePromise()
1166 initial_map, initial_map.instance_size()); in ReduceJSCreateEmptyLiteralArray()
1190 a.Allocate(map.instance_size()); in ReduceJSCreateEmptyLiteralObject()
1401 int const instance_size = instance_map.instance_size(); in ReduceJSCreateObject() local
[all …]
Djs-heap-broker.cc300 int const instance_size; member in v8::internal::compiler::MapData
321 instance_size(object_->instance_size()), in MapData()
1030 BIMODAL_ACCESSOR_C(Map, int, instance_size) in BIMODAL_ACCESSOR()
Djs-heap-broker.h308 int instance_size() const;
/external/v8/src/builtins/
Dbuiltins-constructor-gen.cc495 Node* instance_size = in EmitCreateShallowObjectLiteral() local
497 Node* allocation_size = instance_size; in EmitCreateShallowObjectLiteral()
502 IntPtrAdd(instance_size, IntPtrConstant(AllocationMemento::kSize)); in EmitCreateShallowObjectLiteral()
519 InitializeAllocationMemento(copy, instance_size, allocation_site); in EmitCreateShallowObjectLiteral()
533 Branch(WordEqual(offset.value(), instance_size), &done_init, in EmitCreateShallowObjectLiteral()
546 Branch(WordNotEqual(offset.value(), instance_size), &continue_fast, in EmitCreateShallowObjectLiteral()
561 BuildFastLoop(offset.value(), instance_size, in EmitCreateShallowObjectLiteral()
568 BuildFastLoop(offset.value(), instance_size, in EmitCreateShallowObjectLiteral()
/external/v8/src/
Dobjects-body-descriptors-inl.h105 return map->instance_size(); in SizeOf()
124 return map->instance_size(); in SizeOf()
148 return map->instance_size(); in SizeOf()
169 map->instance_size() == AllocationSite::kSizeWithWeakNext && in IsValidSlot()
191 return map->instance_size(); in SizeOf()
218 return map->instance_size(); in SizeOf()
443 return map->instance_size(); in SizeOf()
581 return map->instance_size(); in SizeOf()
Dapi-natives.cc675 int instance_size = kPointerSize * embedder_field_count; in CreateApiFunction() local
686 instance_size += JSObject::kHeaderSize; in CreateApiFunction()
690 instance_size += JSGlobalObject::kSize; in CreateApiFunction()
694 instance_size += JSGlobalProxy::kSize; in CreateApiFunction()
701 Handle<Map> map = isolate->factory()->NewMap(type, instance_size, in CreateApiFunction()
Dfield-index-inl.h17 DCHECK(map == nullptr || offset < map->instance_size()); in ForInObjectOffset()
Dobjects-inl.h1356 int instance_size = map->instance_size(); in GetEmbedderFieldCount() local
1357 if (instance_size == kVariableSizeSentinel) return 0; in GetEmbedderFieldCount()
1358 return ((instance_size - GetHeaderSize(map)) >> kPointerSizeLog2) - in GetEmbedderFieldCount()
1518 int size = map->instance_size(); in InitializeBody()
2108 int instance_size = map->instance_size(); in SizeFromMap() local
2109 if (instance_size != kVariableSizeSentinel) return instance_size; in SizeFromMap()
Dbootstrapper.cc411 Isolate* isolate, Handle<String> name, InstanceType type, int instance_size, in CreateFunction() argument
419 name, prototype, type, instance_size, inobject_properties, builtin_id, in CreateFunction()
440 InstanceType type, int instance_size, int inobject_properties, in InstallFunction() argument
446 CreateFunction(isolate, name_string, type, instance_size, in InstallFunction()
454 InstanceType type, int instance_size, int inobject_properties, in InstallFunction() argument
459 instance_size, inobject_properties, maybe_prototype, call, attributes); in InstallFunction()
761 int instance_size = in CreateObjectFunction() local
765 isolate_, factory->Object_string(), JS_OBJECT_TYPE, instance_size, in CreateObjectFunction()
825 map->set_instance_size(map->instance_size() + kPointerSize); in CreateNonConstructorMap()
5657 int instance_size = 0; in Genesis() local
[all …]
Dobjects.cc3370 } else if (mapInstance->instance_size() != kVariableSizeSentinel) { in HeapObjectShortPrint()
3371 os << "[" << mapInstance->instance_size() << "]"; in HeapObjectShortPrint()
4306 int old_instance_size = old_map->instance_size(); in MigrateFastToFast()
4339 int new_instance_size = new_map->instance_size(); in MigrateFastToFast()
4421 int old_instance_size = map->instance_size(); in MigrateFastToSlow()
4425 int new_instance_size = new_map->instance_size(); in MigrateFastToSlow()
9288 Handle<Map> Map::RawCopy(Isolate* isolate, Handle<Map> map, int instance_size, in RawCopy() argument
9291 map->instance_type(), instance_size, TERMINAL_FAST_ELEMENTS_KIND, in RawCopy()
9375 int new_instance_size = map->instance_size(); in CopyNormalized()
9447 int instance_size, int inobject_properties, in CopyInitialMap() argument
[all …]
Dobjects-debug.cc578 CHECK(instance_size() == kVariableSizeSentinel || in MapVerify()
579 (kPointerSize <= instance_size() && in MapVerify()
580 static_cast<size_t>(instance_size()) < heap->Capacity())); in MapVerify()
Ddeoptimizer.cc3556 int instance_size = FixedArray::SizeFor(array_length); in EnsureCapturedObjectAllocatedAt() local
3557 CHECK_EQ(instance_size, slot->GetChildrenCount() * kPointerSize); in EnsureCapturedObjectAllocatedAt()
3577 int instance_size = PropertyArray::SizeFor(array_length); in EnsureCapturedObjectAllocatedAt() local
3578 CHECK_EQ(instance_size, slot->GetChildrenCount() * kPointerSize); in EnsureCapturedObjectAllocatedAt()
3670 CHECK_EQ(map->instance_size(), slot->GetChildrenCount() * kPointerSize); in EnsureJSObjectAllocated()
/external/freetype/src/sfnt/
Dsfobjs.c959 FT_UShort instance_size; in sfnt_init_face() local
978 FT_READ_USHORT( instance_size ) ) in sfnt_init_face()
985 instance_size = 0; in sfnt_init_face()
994 !( instance_size == 4 + 4 * num_axes || in sfnt_init_face()
995 instance_size == 6 + 4 * num_axes ) || in sfnt_init_face()
1000 instance_size * num_instances > fvar_len ) in sfnt_init_face()
1051 instance_offset += instance_size; in sfnt_init_face()
/external/v8/src/heap/
Dobjects-visiting-inl.h120 int size = map->instance_size(); in VisitDataObject()
155 int size = map->instance_size(); in VisitStruct()
Dsetup-heap-internal.cc90 int instance_size, in AllocateMap() argument
109 Map::cast(result), instance_type, instance_size, elements_kind, in AllocateMap()
116 int instance_size) { in AllocatePartialMap() argument
125 map->set_instance_size(instance_size); in AllocatePartialMap()
161 int size = map->instance_size(); in Allocate()
Dfactory.cc128 int size = map->instance_size(); in AllocateRawWithAllocationSite()
138 reinterpret_cast<Address>(result) + map->instance_size()); in AllocateRawWithAllocationSite()
183 int size = map->instance_size(); in New()
1507 int size = map->instance_size(); in NewStruct()
1631 AllocateRawWithImmortalMap(map->instance_size(), pretenure, map); in NewForeign()
1811 Handle<Map> Factory::NewMap(InstanceType type, int instance_size, in NewMap() argument
1822 return handle(InitializeMap(Map::cast(result), type, instance_size, in NewMap()
1827 Map* Factory::InitializeMap(Map* map, InstanceType type, int instance_size, in InitializeMap() argument
1833 map->set_instance_size(instance_size); in InitializeMap()
1836 map->SetInObjectPropertiesStartInWords(instance_size / kPointerSize - in InitializeMap()
[all …]
Dfactory.h477 Handle<Map> NewMap(InstanceType type, int instance_size,
482 Map* InitializeMap(Map* map, InstanceType type, int instance_size,
1048 int instance_size, int inobject_properties, int builtin_id,
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-objc-meta-data.test637 OBJC1_32BIT_EXE: instance_size 0x00000034
656 OBJC1_32BIT_EXE: instance_size 0x00000030
682 OBJC1_32BIT_EXE: instance_size 0x00000004
775 OBJC1_32BIT_EXE: instance_size 0x00000030
875 OBJC1_32BIT_OBJ: instance_size 0x00000034
894 OBJC1_32BIT_OBJ: instance_size 0x00000030
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/X86/
Dmacho-objc-meta-data.test638 OBJC1_32BIT_EXE: instance_size 0x00000034
657 OBJC1_32BIT_EXE: instance_size 0x00000030
683 OBJC1_32BIT_EXE: instance_size 0x00000004
776 OBJC1_32BIT_EXE: instance_size 0x00000030
876 OBJC1_32BIT_OBJ: instance_size 0x00000034
895 OBJC1_32BIT_OBJ: instance_size 0x00000030
/external/swiftshader/third_party/subzero/src/DartARM32/
Dassembler_arm.cc3498 const intptr_t instance_size = cls.instance_size(); in TryAllocate() local
3499 ASSERT(instance_size != 0); in TryAllocate()
3509 AddImmediateSetFlags(instance_reg, instance_reg, instance_size); in TryAllocate()
3524 ASSERT(instance_size >= kHeapObjectTag); in TryAllocate()
3525 AddImmediate(instance_reg, -instance_size + kHeapObjectTag); in TryAllocate()
3528 tags = RawObject::SizeTag::update(instance_size, tags); in TryAllocate()
3542 intptr_t instance_size, in TryAllocateArray() argument
3557 AddImmediateSetFlags(end_address, instance, instance_size); in TryAllocateArray()
3578 tags = RawObject::SizeTag::update(instance_size, tags); in TryAllocateArray()
3582 LoadImmediate(temp1, instance_size); in TryAllocateArray()

12