Home
last modified time | relevance | path

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

12

/external/v8/src/
Dlithium-allocator-inl.h31 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); } in IsGapAt()
35 return chunk_->instructions()->at(index); in InstructionAt()
40 return chunk_->GetGapAt(index); in GapAt()
Dlithium-codegen.h34 LPlatformChunk* chunk() const { return chunk_; } in chunk()
64 LPlatformChunk* const chunk_; variable
Dlithium-codegen.cc46 : chunk_(static_cast<LPlatformChunk*>(chunk)), in LCodeGenBase()
162 if (!chunk_->GetLabel(i)->HasReplacement()) return i; in GetNextEmittedBlock()
242 chunk_->AddDeprecationDependency(map); in AddDeprecationDependency()
248 chunk_->AddStabilityDependency(map); in AddStabilityDependency()
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()
1026 operand = chunk_->DefineConstantOperand(constant); in ResolvePhis()
1037 chunk_->AddGapMove(cur_block->last_instruction_index() - 1, in ResolvePhis()
1061 LLabel* label = chunk_->GetLabel(phi->block()->block_id()); in ResolvePhis()
1070 DCHECK(chunk_ == NULL); in Allocate()
1071 chunk_ = static_cast<LPlatformChunk*>(chunk); in Allocate()
1191 LGap* gap = GapAt(chunk_->NearestGapPos(pos.InstructionIndex())); in GetBlock()
1340 if (chunk_->info()->IsStub()) { in BuildLiveRanges()
[all …]
Dlithium.h703 chunk_(NULL), in LChunkBuilderBase()
717 LPlatformChunk* chunk() const { return chunk_; } in chunk()
743 LPlatformChunk* chunk_; variable
765 chunk_(chunk) { } in LPhase()
769 LChunk* chunk_;
Dlithium-allocator.h349 LPlatformChunk* chunk() const { return chunk_; } in chunk()
515 LPlatformChunk* chunk_; variable
Dcompiler.h586 chunk_(NULL), in OptimizedCompileJob()
623 LChunk* chunk_; variable
Dcompiler.cc465 chunk_ = LChunk::NewChunk(graph_); in OptimizeGraph()
466 if (chunk_ != NULL) return SetLastStatus(SUCCEEDED); in OptimizeGraph()
488 DCHECK(chunk_ != NULL); in GenerateCode()
495 Handle<Code> optimized_code = chunk_->Codegen(); in GenerateCode()
/external/compiler-rt/lib/asan/
Dasan_allocator.h52 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView()
60 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
87 AsanChunk *const chunk_;
Dasan_allocator.cc657 return chunk_ != 0 && chunk_->chunk_state != CHUNK_AVAILABLE; in IsValid()
659 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
661 uptr AsanChunkView::UsedSize() { return chunk_->UsedSize(); } in UsedSize()
662 uptr AsanChunkView::AllocTid() { return chunk_->alloc_tid; } in AllocTid()
663 uptr AsanChunkView::FreeTid() { return chunk_->free_tid; } in FreeTid()
673 return GetStackTraceFromId(chunk_->alloc_context_id); in GetAllocStack()
677 return GetStackTraceFromId(chunk_->free_context_id); in GetFreeStack()
/external/v8/src/heap/
Dmark-compact.h899 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) { in MarkBitCellIterator()
901 chunk_->AddressToMarkbitIndex(chunk_->area_end()))); in MarkBitCellIterator()
902 cell_base_ = chunk_->area_start(); in MarkBitCellIterator()
904 Bitmap::CellAlignIndex(chunk_->AddressToMarkbitIndex(cell_base_))); in MarkBitCellIterator()
905 cells_ = chunk_->markbits()->cells(); in MarkBitCellIterator()
914 chunk_->AddressToMarkbitIndex(cell_base_)))); in CurrentCell()
920 chunk_->AddressToMarkbitIndex(cell_base_)))); in CurrentCellBase()
930 MemoryChunk* chunk_;
/external/v8/src/mips64/
Dlithium-codegen-mips64.cc378 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
380 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
416 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
418 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
441 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
442 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
448 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
453 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
459 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
466 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation_donotuse()
[all …]
Dlithium-mips64.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()
485 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
492 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
499 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
506 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
512 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
518 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
[all …]
/external/v8/src/mips/
Dlithium-codegen-mips.cc433 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
435 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
471 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
473 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
496 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
497 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
503 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
508 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
519 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
528 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
[all …]
Dlithium-mips.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()
485 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
492 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
499 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
506 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
512 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
518 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
[all …]
/external/v8/src/x64/
Dlithium-codegen-x64.cc421 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32Constant()
427 chunk_->IsDehoistedKey(chunk_->LookupConstant(op)); in IsDehoistedKeyConstant()
432 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmiConstant()
443 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
452 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
458 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
465 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
472 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
473 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
669 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
[all …]
Dlithium-x64.cc428 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
429 LPhase phase("L_Building chunk", chunk_); in Build()
436 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
448 return chunk_; in Build()
493 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseTempRegisterOrConstant()
511 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
518 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
525 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
532 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
538 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
[all …]
/external/v8/src/arm/
Dlithium-codegen-arm.cc439 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
441 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadRegister()
474 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
476 Representation r = chunk_->LookupLiteralRepresentation(const_op); in EmitLoadDoubleRegister()
501 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
502 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
508 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
513 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
524 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
533 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
[all …]
Dlithium-arm.cc402 chunk_ = new(zone()) LPlatformChunk(info(), graph()); in Build()
403 LPhase phase("L_Building chunk", chunk_); in Build()
410 chunk_->GetNextSpillIndex(GENERAL_REGISTERS); in Build()
422 return chunk_; in Build()
478 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
485 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
492 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
499 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
505 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
511 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
[all …]
/external/v8/src/ia32/
Dlithium-codegen-ia32.cc520 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
529 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
530 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
536 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
543 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
550 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
555 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
765 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
2038 int left_block = instr->TrueDestination(chunk_); in EmitBranch()
2039 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()
521 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
528 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
536 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseFixedOrConstant()
543 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
550 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
[all …]
/external/v8/src/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()
527 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
534 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
542 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseFixedOrConstant()
549 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
556 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
[all …]
Dlithium-codegen-x87.cc783 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
792 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
793 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
799 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
806 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
813 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32()
818 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
1026 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
2330 int left_block = instr->TrueDestination(chunk_); in EmitBranch()
2331 int right_block = instr->FalseDestination(chunk_); in EmitBranch()
[all …]
/external/v8/src/arm64/
Dlithium-codegen-arm64.cc503 chunk_->LookupConstant(LConstantOperand::cast(context)); in LoadContextFromDeferred()
1191 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
1207 Representation r = chunk_->LookupLiteralRepresentation(const_op); in ToOperand()
1238 Representation r = chunk_->LookupLiteralRepresentation(const_op); in ToOperand32()
1300 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
1301 DCHECK(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); in ToHandle()
1320 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi()
1325 return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); in IsInteger32Constant()
1330 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
1336 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
[all …]
Dlithium-arm64.cc418 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
562 chunk_ = new(zone()) LPlatformChunk(info_, graph_); in Build()
563 LPhase phase("L_Building chunk", chunk_); in Build()
572 chunk_->GetNextSpillIndex(); in Build()
582 return chunk_; in Build()
637 int start = chunk_->instructions()->length(); in DoBasicBlock()
645 int end = chunk_->instructions()->length() - 1; in DoBasicBlock()
673 chunk_->AddInstruction(dummy, current_block_); in VisitInstruction()
739 chunk_->AddInstruction(instr, current_block_); in AddInstruction()
752 chunk_->AddInstruction(bailout, current_block_); in AddInstruction()
[all …]

12