Home
last modified time | relevance | path

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

12

/external/v8/src/crankshaft/
Dlithium-allocator-inl.h33 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); } in IsGapAt()
37 return chunk_->instructions()->at(index); in InstructionAt()
42 return chunk_->GetGapAt(index); in GapAt()
Dlithium-codegen.h33 LPlatformChunk* chunk() const { return chunk_; } in chunk()
72 LPlatformChunk* const chunk_; variable
Dlithium-codegen.cc48 : chunk_(static_cast<LPlatformChunk*>(chunk)), in LCodeGenBase()
164 if (!chunk_->GetLabel(i)->HasReplacement()) return i; in GetNextEmittedBlock()
184 chunk_->AddDeprecationDependency(map); in AddDeprecationDependency()
190 chunk_->AddStabilityDependency(map); in AddStabilityDependency()
Dlithium.h710 chunk_(NULL), in LChunkBuilderBase()
724 LPlatformChunk* chunk() const { return chunk_; } in chunk()
750 LPlatformChunk* chunk_; variable
772 chunk_(chunk) { } in LPhase()
776 LChunk* chunk_;
Dlithium-allocator.cc515 : chunk_(NULL), in LAllocator()
664 int index = chunk_->NearestGapPos(last_instruction); in GetLastGap()
799 chunk_->AddGapMove(gap_index, first_output, output_copy); in MeetConstraintsBetween()
1028 operand = chunk_->DefineConstantOperand(constant); in ResolvePhis()
1039 chunk_->AddGapMove(cur_block->last_instruction_index() - 1, in ResolvePhis()
1063 LLabel* label = chunk_->GetLabel(phi->block()->block_id()); in ResolvePhis()
1072 DCHECK(chunk_ == NULL); in Allocate()
1073 chunk_ = static_cast<LPlatformChunk*>(chunk); in Allocate()
1191 LGap* gap = GapAt(chunk_->NearestGapPos(pos.InstructionIndex())); in GetBlock()
1342 PrintF("Function: %s\n", chunk_->info()->GetDebugName().get()); in BuildLiveRanges()
[all …]
/external/v8/src/heap/
Dmark-compact.h819 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) { in MarkBitCellIterator()
821 chunk_->AddressToMarkbitIndex(chunk_->area_end()))); in MarkBitCellIterator()
822 cell_base_ = chunk_->area_start(); in MarkBitCellIterator()
824 Bitmap::CellAlignIndex(chunk_->AddressToMarkbitIndex(cell_base_))); in MarkBitCellIterator()
825 cells_ = chunk_->markbits()->cells(); in MarkBitCellIterator()
834 chunk_->AddressToMarkbitIndex(cell_base_)))); in CurrentCell()
840 chunk_->AddressToMarkbitIndex(cell_base_)))); in CurrentCellBase()
858 MemoryChunk* chunk_;
871 : chunk_(chunk), in LiveObjectIterator()
872 it_(chunk_), in LiveObjectIterator()
[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/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/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc408 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
410 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
447 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
449 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
472 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
473 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
479 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
484 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
495 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
504 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
[all …]
Dlithium-mips.cc411 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
412 LPhase phase("L_Building chunk", chunk_); in Build()
419 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
431 return chunk_; in Build()
486 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
493 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
500 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
507 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
513 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
519 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
[all …]
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc391 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
393 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
430 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
432 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
455 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
456 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
462 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
467 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
473 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
480 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation_donotuse()
[all …]
Dlithium-mips64.cc411 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
412 LPhase phase("L_Building chunk", chunk_); in Build()
419 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
431 return chunk_; in Build()
486 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
493 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
500 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
507 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
513 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
519 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
[all …]
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc444 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32Constant()
449 return chunk_->LookupLiteralRepresentation(op).IsExternal(); in IsExternalConstant()
455 chunk_->IsDehoistedKey(chunk_->LookupConstant(op)); in IsDehoistedKeyConstant()
460 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmiConstant()
471 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
480 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
486 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
493 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
500 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
501 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
[all …]
Dlithium-x64.cc430 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
431 LPhase phase("L_Building chunk", chunk_); in Build()
438 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
450 return chunk_; in Build()
494 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseTempRegisterOrConstant()
512 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
519 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
526 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
533 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
539 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc411 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
413 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
447 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
449 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
474 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
475 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
481 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
486 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
497 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
506 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc527 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
540 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
541 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
547 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
554 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
561 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
566 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
748 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
1934 int left_block = instr->TrueDestination(chunk_); in EmitBranch()
1935 int right_block = instr->FalseDestination(chunk_); in EmitBranch()
[all …]
Dlithium-ia32.cc433 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
434 LPhase phase("L_Building chunk", chunk_); in Build()
439 int alignment_state_index = chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
448 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
460 return chunk_; in Build()
520 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
527 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
535 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseFixedOrConstant()
542 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
549 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-x87.cc444 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
445 LPhase phase("L_Building chunk", chunk_); in Build()
450 int alignment_state_index = chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
459 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
471 return chunk_; in Build()
526 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
533 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
541 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseFixedOrConstant()
548 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
555 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
[all …]
Dlithium-codegen-x87.cc795 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
808 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
809 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
815 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
822 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
829 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
834 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
1018 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
2211 int left_block = instr->TrueDestination(chunk_); in EmitBranch()
2212 int right_block = instr->FalseDestination(chunk_); in EmitBranch()
[all …]
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc401 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
403 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
427 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadIntegerConstant()
444 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
445 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
451 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
456 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
467 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
476 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
482 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
[all …]
Dlithium-ppc.cc417 chunk_ = new (zone()) LPlatformChunk(info(), graph()); in Build()
418 LPhase phase("L_Building chunk", chunk_); in Build()
425 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
437 return chunk_; in Build()
492 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
499 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
506 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
513 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
519 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
525 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc474 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
1091 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
1107 Representation r = chunk_->LookupLiteralRepresentation(const_op); in ToOperand()
1138 Representation r = chunk_->LookupLiteralRepresentation(const_op); in ToOperand32()
1199 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
1200 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
1219 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
1224 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32Constant()
1229 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
1235 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
[all …]

12