Lines Matching defs:object
100 // Update the references to this object.
112 IF_VERBOSE(printf("Placed object %d at location: 0x%x (%u)\n",
159 virtual void UpdatePoolObject(PoolObject<int32_t> *object) VIXL_OVERRIDE {
174 object->Update(min, max, reference_alignment);
177 // Update the references to this object.
290 const PoolObject<int32_t> &object = objects_[i];
294 object.label_base_->GetPoolObjectSizeInBytes(),
295 object.alignment_,
296 object.min_location_,
297 object.max_location_));
347 printf("About to add a new reference to object %d with min location = "
387 // Pick an object, randomly.
388 TestObject *object = objects[RandomObjectID(objects.size())];
393 RandomObjectAlignment(object->GetPoolObjectSizeInBytes());
394 ForwardReference<int32_t> *ref = CreateReference(object->GetID(),
400 if (pool_manager.MustEmit(pc, size, ref, object)) {
401 pc = pool_manager.Emit(&masm, pc, size, ref, object);
405 if (!object->IsBound()) {
406 ref = CreateReference(object->GetID(),
417 if (!object->IsBound()) {
418 object->AddReference(ref);
419 pool_manager.AddObjectReference(ref, object);
465 // Pick a random object.
466 TestBranchObject *object = objects[RandomObjectID(objects.size())];
471 RandomObjectAlignment(object->GetPoolObjectSizeInBytes());
472 ForwardReference<int32_t> *ref = CreateReference(object->GetID(),
478 if (pool_manager.MustEmit(pc, size, ref, object)) {
482 ref = CreateReference(object->GetID(),
491 object->AddReference(ref);
492 pool_manager.AddObjectReference(ref, object);
502 // the object references).
503 int max_padding = object->GetMaxAlignment() - 1;
533 TestBranchObject *object = new TestBranchObject(4 /*size*/, 4 /*alignment*/);
535 pool_manager.Bind(&masm, object, pc);
536 delete object;
548 TestBranchObject *object = new TestBranchObject(4 /*size*/, 2 /*alignment*/);
554 object->AddReference(ref);
555 pool_manager.AddObjectReference(ref, object);
557 pc = pool_manager.Bind(&masm, object, pc);
559 delete object;
561 // Label that needs padding because of the alignment of the object.
562 object = new TestBranchObject(4 /*size*/, 4 /*alignment*/);
567 object->AddReference(ref);
568 pool_manager.AddObjectReference(ref, object);
571 pc = pool_manager.Bind(&masm, object, pc);
573 delete object;
576 object = new TestBranchObject(4 /*size*/, 1 /*alignment*/);
582 object->AddReference(ref);
583 pool_manager.AddObjectReference(ref, object);
586 pc = pool_manager.Bind(&masm, object, pc);
588 delete object;
592 // needed in order to meet the minimum location of the first object.
603 TestObject object(object_size, object_alignment);
608 object.AddReference(ref);
609 pool_manager.AddObjectReference(ref, &object);
622 // needed in order to meet the alignment of the first object.
633 TestObject object(object_size, object_alignment);
638 object.AddReference(ref);
639 pool_manager.AddObjectReference(ref, &object);
671 // We have picked the object sizes so that we do not need to emit now.
820 // If the object is smaller, we can emit the reference.
884 // After passing ownership of this type of object to the pool manager, it is
899 // We can continue using this type of object after passing its ownership to