Home | History | Annotate | Download | only in src

Lines Matching defs:checkpoint

63     // the alignment into account, which only makes the checkpoint calculations
116 // Recalculate the checkpoint before emitting the footer. The footer might
162 T PoolManager<T>::UpdateCheckpointForObject(T checkpoint,
164 checkpoint -= object->label_base_->GetPoolObjectSizeInBytes();
165 if (checkpoint > object->max_location_) checkpoint = object->max_location_;
166 checkpoint = AlignDown(checkpoint, object->alignment_);
167 return checkpoint;
176 static inline bool CheckCurrentPC(T pc, T checkpoint) {
177 VIXL_ASSERT(pc <= checkpoint);
178 // We must emit the pools if we are at the checkpoint now.
179 return pc == checkpoint;
183 static inline bool CheckFuturePC(T pc, T checkpoint) {
185 // equal to the checkpoint (we will need to emit the pools then).
186 return pc > checkpoint;
194 // Check if we are at or past the checkpoint.
197 // Check if the future PC will be past the checkpoint.
253 // We're not in a trivial case, so we need to recalculate the checkpoint.
256 // breaking our assumptions. Here we want to recalculate the checkpoint as
260 T checkpoint = MaxCheckpoint<T>();
263 checkpoint = UpdateCheckpointForObject(checkpoint, &temp);
264 if (checkpoint < temp.min_location_) return true;
271 checkpoint = UpdateCheckpointForObject(checkpoint, &temp);
272 if (checkpoint < temp.min_location_) return true;
273 if (CheckFuturePC(pc, checkpoint)) return true;
277 checkpoint = UpdateCheckpointForObject(checkpoint, &current);
278 if (checkpoint < current.min_location_) return true;
279 if (CheckFuturePC(pc, checkpoint)) return true;
283 checkpoint = UpdateCheckpointForObject(checkpoint, &temp);
284 if (checkpoint < temp.min_location_) return true;
288 checkpoint -= header_size_;
289 checkpoint = AlignDown(checkpoint, alignment_);
291 return CheckFuturePC(pc, checkpoint);
318 T checkpoint = MaxCheckpoint<T>();
321 // Bring back the checkpoint by the size of the current object, unless
324 checkpoint = UpdateCheckpointForObject(checkpoint, &current);
325 VIXL_ASSERT(checkpoint >= current.min_location_);
330 checkpoint -= header_size_;
331 checkpoint = AlignDown(checkpoint, alignment_);
333 // Update the checkpoint of the pool manager.
334 checkpoint_ = checkpoint;
337 // pass of the objects_ vector, increasing the checkpoint as needed, while
475 // checkpoint.