Home
last modified time | relevance | path

Searched refs:chunk_ (Results 1 – 25 of 37) sorted by relevance

12

/external/v8/src/heap/
Dslot-set.h263 chunk_ = new Chunk(nullptr, kInitialBufferSize); in TypedSlotSet()
267 Chunk* chunk = chunk_; in ~TypedSlotSet()
278 if (!chunk_->AddSlot(slot)) { in Insert()
279 chunk_ = new Chunk(chunk_, NextCapacity(chunk_->capacity)); in Insert()
280 bool added = chunk_->AddSlot(slot); in Insert()
299 Chunk* chunk = chunk_; in Iterate()
351 Chunk* chunk_; variable
Dmark-compact.h324 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) { in MarkBitCellIterator()
326 chunk_->AddressToMarkbitIndex(chunk_->area_end()))); in MarkBitCellIterator()
327 cell_base_ = chunk_->area_start(); in MarkBitCellIterator()
329 Bitmap::CellAlignIndex(chunk_->AddressToMarkbitIndex(cell_base_))); in MarkBitCellIterator()
330 cells_ = chunk_->markbits()->cells(); in MarkBitCellIterator()
339 chunk_->AddressToMarkbitIndex(cell_base_)))); in CurrentCell()
345 chunk_->AddressToMarkbitIndex(cell_base_)))); in CurrentCellBase()
363 MemoryChunk* chunk_;
382 : chunk_(chunk), in LiveObjectIterator()
383 it_(chunk_), in LiveObjectIterator()
[all …]
/external/v8/src/crankshaft/
Dlithium-allocator-inl.h35 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); } in IsGapAt()
39 return chunk_->instructions()->at(index); in InstructionAt()
44 return chunk_->GetGapAt(index); in GapAt()
Dlithium-codegen.h35 LPlatformChunk* chunk() const { return chunk_; } in chunk()
74 LPlatformChunk* const chunk_; variable
Dlithium-codegen.cc51 : chunk_(static_cast<LPlatformChunk*>(chunk)), in LCodeGenBase()
170 if (!chunk_->GetLabel(i)->HasReplacement()) return i; in GetNextEmittedBlock()
190 chunk_->AddDeprecationDependency(map); in AddDeprecationDependency()
196 chunk_->AddStabilityDependency(map); in AddStabilityDependency()
Dlithium.h718 chunk_(NULL), in LChunkBuilderBase()
732 LPlatformChunk* chunk() const { return chunk_; } in chunk()
768 LPlatformChunk* chunk_; variable
788 chunk_(chunk) { } in LPhase()
792 LChunk* chunk_;
Dlithium-allocator.cc517 chunk_(NULL), in LAllocator()
665 int index = chunk_->NearestGapPos(last_instruction); in GetLastGap()
800 chunk_->AddGapMove(gap_index, first_output, output_copy); in MeetConstraintsBetween()
1029 operand = chunk_->DefineConstantOperand(constant); in ResolvePhis()
1040 chunk_->AddGapMove(cur_block->last_instruction_index() - 1, in ResolvePhis()
1064 LLabel* label = chunk_->GetLabel(phi->block()->block_id()); in ResolvePhis()
1073 DCHECK(chunk_ == NULL); in Allocate()
1074 chunk_ = static_cast<LPlatformChunk*>(chunk); in Allocate()
1192 LGap* gap = GapAt(chunk_->NearestGapPos(pos.InstructionIndex())); in GetBlock()
1343 PrintF("Function: %s\n", chunk_->info()->GetDebugName().get()); in BuildLiveRanges()
[all …]
/external/libchrome/base/trace_event/
Dtrace_buffer.h35 return &chunk_[index]; in GetEventAt()
39 return &chunk_[index]; in GetEventAt()
55 TraceEvent chunk_[kTraceBufferChunkSize]; variable
Dtrace_buffer.cc299 chunk_[i].Reset(); in Reset()
308 return &chunk_[*event_index]; in AddTraceEvent()
315 cloned_chunk->chunk_[i].CopyFrom(chunk_[i]); in Clone()
327 sizeof(*this) - sizeof(chunk_)); in EstimateTraceMemoryOverhead()
340 chunk_[i].EstimateTraceMemoryOverhead(cached_overhead_estimate_.get()); in EstimateTraceMemoryOverhead()
Dtrace_log.cc215 if (!chunk_ || handle.chunk_seq != chunk_->seq() || in GetEventByHandle()
220 return chunk_->GetEventAt(handle.event_index); in GetEventByHandle()
242 scoped_ptr<TraceBufferChunk> chunk_; member in base::trace_event::TraceLog::ThreadLocalEventBuffer
283 if (chunk_ && chunk_->IsFull()) { in AddTraceEvent()
286 chunk_.reset(); in AddTraceEvent()
288 if (!chunk_) { in AddTraceEvent()
290 chunk_ = trace_log_->logged_events_->GetChunk(&chunk_index_); in AddTraceEvent()
293 if (!chunk_) in AddTraceEvent()
297 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent()
299 MakeHandle(chunk_->seq(), chunk_index_, event_index, handle); in AddTraceEvent()
[all …]
/external/compiler-rt/lib/asan/
Dasan_allocator.h51 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView()
59 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
86 AsanChunk *const chunk_;
Dasan_allocator.cc656 return chunk_ && chunk_->chunk_state != CHUNK_AVAILABLE; in IsValid()
658 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
660 uptr AsanChunkView::UsedSize() { return chunk_->UsedSize(); } in UsedSize()
661 uptr AsanChunkView::AllocTid() { return chunk_->alloc_tid; } in AllocTid()
662 uptr AsanChunkView::FreeTid() { return chunk_->free_tid; } in FreeTid()
672 return GetStackTraceFromId(chunk_->alloc_context_id); in GetAllocStack()
676 return GetStackTraceFromId(chunk_->free_context_id); in GetFreeStack()
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc376 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
378 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
415 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
417 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
440 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
441 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
447 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
452 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
458 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
465 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation_donotuse()
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc393 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
395 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
432 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
434 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
457 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
458 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
464 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
469 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
480 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
489 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc410 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
423 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
424 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
430 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
437 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
444 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
449 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
625 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
1781 int left_block = instr->TrueDestination(chunk_); in EmitBranch()
1782 int right_block = instr->FalseDestination(chunk_); in EmitBranch()
[all …]
Dlithium-ia32.cc412 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
413 LPhase phase("L_Building chunk", chunk_); in Build()
420 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
432 return chunk_; in Build()
492 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
499 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
507 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseFixedOrConstant()
514 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
521 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
527 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
[all …]
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc425 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32Constant()
430 return chunk_->LookupLiteralRepresentation(op).IsExternal(); in IsExternalConstant()
436 chunk_->IsDehoistedKey(chunk_->LookupConstant(op)); in IsDehoistedKeyConstant()
441 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmiConstant()
452 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
461 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
467 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
474 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
481 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
482 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
[all …]
Dlithium-x64.cc409 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
410 LPhase phase("L_Building chunk", chunk_); in Build()
417 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
429 return chunk_; in Build()
473 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseTempRegisterOrConstant()
491 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
498 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
505 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
512 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
518 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
[all …]
/external/v8/src/crankshaft/s390/
Dlithium-codegen-s390.cc371 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
373 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
396 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadIntegerConstant()
411 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
412 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
417 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
421 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
430 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
438 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
443 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc397 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
399 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
433 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
435 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
460 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
461 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
467 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
472 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
483 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
492 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
[all …]
Dlithium-arm.cc383 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
384 LPhase phase("L_Building chunk", chunk_); in Build()
391 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
403 return chunk_; in Build()
458 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
465 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
472 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
479 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
485 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
491 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
[all …]
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc389 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
391 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
415 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadIntegerConstant()
432 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
433 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
439 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
444 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
455 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
464 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
470 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc678 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
691 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
692 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
698 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
705 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
712 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
717 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
895 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
2058 int left_block = instr->TrueDestination(chunk_); in EmitBranch()
2059 int right_block = instr->FalseDestination(chunk_); in EmitBranch()
[all …]
Dlithium-x87.cc423 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
424 LPhase phase("L_Building chunk", chunk_); in Build()
431 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
443 return chunk_; in Build()
498 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
505 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
513 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseFixedOrConstant()
520 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
527 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
533 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc428 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
1035 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
1051 Representation r = chunk_->LookupLiteralRepresentation(const_op); in ToOperand()
1082 Representation r = chunk_->LookupLiteralRepresentation(const_op); in ToOperand32()
1143 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
1144 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
1163 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
1168 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32Constant()
1173 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
1179 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
[all …]

12