Home
last modified time | relevance | path

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

12

/external/v8/src/compiler/
Djump-threading.cc19 ZoneVector<RpoNumber>& result;
20 ZoneStack<RpoNumber>& stack;
23 void PushIfUnvisited(RpoNumber num) { in PushIfUnvisited()
29 void Forward(RpoNumber to) { in Forward()
30 RpoNumber from = stack.top(); in Forward()
31 RpoNumber to_to = result[to.ToInt()]; in Forward()
52 RpoNumber unvisited() { return RpoNumber::FromInt(-1); } in unvisited()
53 RpoNumber onstack() { return RpoNumber::FromInt(-2); } in onstack()
57 ZoneVector<RpoNumber>& result, in ComputeForwarding()
60 ZoneStack<RpoNumber> stack(local_zone); in ComputeForwarding()
[all …]
Dinstruction.h991 class RpoNumber final {
1003 static RpoNumber FromInt(int index) { return RpoNumber(index); } in FromInt()
1004 static RpoNumber Invalid() { return RpoNumber(kInvalidRpoNumber); } in Invalid()
1006 bool IsNext(const RpoNumber other) const { in IsNext()
1012 bool operator==(RpoNumber other) const { return index_ == other.index_; }
1013 bool operator!=(RpoNumber other) const { return index_ != other.index_; }
1014 bool operator>(RpoNumber other) const { return index_ > other.index_; }
1015 bool operator<(RpoNumber other) const { return index_ < other.index_; }
1016 bool operator<=(RpoNumber other) const { return index_ <= other.index_; }
1017 bool operator>=(RpoNumber other) const { return index_ >= other.index_; }
[all …]
Dframe-elider.cc52 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction()
70 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction()
109 for (RpoNumber& pred : block->predecessors()) { in PropagateIntoBlock()
119 for (RpoNumber& succ : block->successors()) { in PropagateIntoBlock()
132 InstructionBlock* FrameElider::InstructionBlockAt(RpoNumber rpo_number) const { in InstructionBlockAt()
Dinstruction.cc607 InstructionBlock::InstructionBlock(Zone* zone, RpoNumber rpo_number, in InstructionBlock()
608 RpoNumber loop_header, RpoNumber loop_end, in InstructionBlock()
625 size_t InstructionBlock::PredecessorIndexOf(RpoNumber rpo_number) const { in PredecessorIndexOf()
635 static RpoNumber GetRpo(const BasicBlock* block) { in GetRpo()
636 if (block == nullptr) return RpoNumber::Invalid(); in GetRpo()
637 return RpoNumber::FromInt(block->rpo_number()); in GetRpo()
641 static RpoNumber GetLoopEndRpo(const BasicBlock* block) { in GetLoopEndRpo()
642 if (!block->IsLoopHeader()) return RpoNumber::Invalid(); in GetLoopEndRpo()
643 return RpoNumber::FromInt(block->loop_end()->rpo_number()); in GetLoopEndRpo()
686 for (RpoNumber pred : block->predecessors()) { in operator <<()
[all …]
Dregister-allocator-verifier.h242 void ValidatePendingAssessment(RpoNumber block_id, InstructionOperand op,
246 void ValidateFinalAssessment(RpoNumber block_id, InstructionOperand op,
250 void ValidateUse(RpoNumber block_id, BlockAssessments* current_assessments,
257 ZoneMap<RpoNumber, BlockAssessments*> assessments_;
258 ZoneMap<RpoNumber, DelayedAssessments*> outstanding_assessments_;
Djump-threading.h20 static bool ComputeForwarding(Zone* local_zone, ZoneVector<RpoNumber>& result,
25 static void ApplyForwarding(ZoneVector<RpoNumber>& forwarding,
Dcode-generator.h66 Label* GetLabel(RpoNumber rpo) { return &labels_[rpo.ToSize()]; } in GetLabel()
83 bool IsNextInAssemblyOrder(RpoNumber block) const;
116 void AssembleArchJump(RpoNumber target);
267 RpoNumber current_block_;
Dregister-allocator-verifier.cc305 RpoNumber current_block_id = block->rpo_number(); in CreateForBlock()
319 for (RpoNumber pred_id : block->predecessors()) { in CreateForBlock()
347 RpoNumber block_id, InstructionOperand op, in ValidatePendingAssessment()
356 ZoneSet<RpoNumber> seen(zone()); in ValidatePendingAssessment()
384 for (RpoNumber pred : origin->predecessors()) { in ValidatePendingAssessment()
439 RpoNumber block_id, InstructionOperand op, in ValidateFinalAssessment()
456 RpoNumber block_id, BlockAssessments* current_assessments, in ValidateUse()
Dinstruction-scheduler.h34 void StartBlock(RpoNumber rpo);
35 void EndBlock(RpoNumber rpo);
Dframe-elider.h31 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const;
Dmove-optimizer.cc149 for (RpoNumber& pred_id : block->predecessors()) { in Run()
382 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge()
404 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge()
480 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge()
Dcode-generator-impl.h88 RpoNumber InputRpo(size_t index) { in InputRpo()
118 RpoNumber ToRpoNumber(InstructionOperand* op) { in ToRpoNumber()
Dinstruction-scheduler.cc93 void InstructionScheduler::StartBlock(RpoNumber rpo) { in StartBlock()
104 void InstructionScheduler::EndBlock(RpoNumber rpo) { in EndBlock()
Dcode-generator.cc44 current_block_(RpoNumber::Invalid()), in CodeGenerator()
253 bool CodeGenerator::IsNextInAssemblyOrder(RpoNumber block) const { in IsNextInAssemblyOrder()
418 RpoNumber true_rpo = i.InputRpo(instr->InputCount() - 2); in AssembleInstruction()
419 RpoNumber false_rpo = i.InputRpo(instr->InputCount() - 1); in AssembleInstruction()
607 RpoNumber handler_rpo = i.InputRpo(instr->InputCount() - 1); in RecordCallPosition()
Dinstruction-selector.h69 void StartBlock(RpoNumber rpo);
70 void EndBlock(RpoNumber rpo);
Dlive-range-separator.cc88 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in SplinterLiveRange()
Dregister-allocator.cc55 RpoNumber index = block->loop_header(); in GetContainingLoop()
1670 for (const RpoNumber& succ : block->successors()) { in MeetRegisterConstraintsForLastInstructionInBlock()
1682 for (const RpoNumber& succ : block->successors()) { in MeetRegisterConstraintsForLastInstructionInBlock()
1854 for (const RpoNumber& succ : block->successors()) { in ComputeLiveOut()
2257 for (RpoNumber predecessor : block->predecessors()) { in ProcessPhis()
2382 code()->InstructionBlockAt(RpoNumber::FromInt(block_id)); in BuildLiveRanges()
2504 for (RpoNumber pred_index : block->predecessors()) { in IntervalPredecessorsCoveredByRange()
3729 for (const RpoNumber& pred : block->predecessors()) { in ResolveControlFlow()
3943 ZoneSet<std::pair<RpoNumber, int>> done_moves(temp_zone); in CommitSpillsInDeferredBlocks()
3954 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in CommitSpillsInDeferredBlocks()
[all …]
Dinstruction-selector.cc81 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions()
88 StartBlock(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions()
93 EndBlock(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions()
101 void InstructionSelector::StartBlock(RpoNumber rpo) { in StartBlock()
111 void InstructionSelector::EndBlock(RpoNumber rpo) { in EndBlock()
850 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in VisitBlock()
1777 ->InstructionBlockAt(RpoNumber::FromInt(current_block_->rpo_number())) in VisitPhi()
Dinstruction-selector-impl.h209 Constant(RpoNumber::FromInt(block->rpo_number()))); in Label()
Dgraph-visualizer.cc447 RpoNumber::FromInt(current->rpo_number())); in PrintSchedule()
Dregister-allocator.h633 void AddBlockRequiringSpillOperand(RpoNumber block_id) { in AddBlockRequiringSpillOperand()
Dpipeline.cc1393 ZoneVector<RpoNumber> result(temp_zone); in Run()
/external/v8/src/compiler/arm/
Dunwinding-info-writer-arm.cc44 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
/external/v8/src/compiler/arm64/
Dunwinding-info-writer-arm64.cc44 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
/external/v8/src/compiler/x64/
Dunwinding-info-writer-x64.cc49 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()

12