/external/v8/src/compiler/ |
D | jump-threading.cc | 19 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 …]
|
D | instruction.h | 991 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 …]
|
D | frame-elider.cc | 52 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()
|
D | instruction.cc | 607 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 …]
|
D | register-allocator-verifier.h | 242 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_;
|
D | jump-threading.h | 20 static bool ComputeForwarding(Zone* local_zone, ZoneVector<RpoNumber>& result, 25 static void ApplyForwarding(ZoneVector<RpoNumber>& forwarding,
|
D | code-generator.h | 66 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_;
|
D | register-allocator-verifier.cc | 305 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()
|
D | instruction-scheduler.h | 34 void StartBlock(RpoNumber rpo); 35 void EndBlock(RpoNumber rpo);
|
D | frame-elider.h | 31 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const;
|
D | move-optimizer.cc | 149 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()
|
D | code-generator-impl.h | 88 RpoNumber InputRpo(size_t index) { in InputRpo() 118 RpoNumber ToRpoNumber(InstructionOperand* op) { in ToRpoNumber()
|
D | instruction-scheduler.cc | 93 void InstructionScheduler::StartBlock(RpoNumber rpo) { in StartBlock() 104 void InstructionScheduler::EndBlock(RpoNumber rpo) { in EndBlock()
|
D | code-generator.cc | 44 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()
|
D | instruction-selector.h | 69 void StartBlock(RpoNumber rpo); 70 void EndBlock(RpoNumber rpo);
|
D | live-range-separator.cc | 88 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in SplinterLiveRange()
|
D | register-allocator.cc | 55 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 …]
|
D | instruction-selector.cc | 81 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()
|
D | instruction-selector-impl.h | 209 Constant(RpoNumber::FromInt(block->rpo_number()))); in Label()
|
D | graph-visualizer.cc | 447 RpoNumber::FromInt(current->rpo_number())); in PrintSchedule()
|
D | register-allocator.h | 633 void AddBlockRequiringSpillOperand(RpoNumber block_id) { in AddBlockRequiringSpillOperand()
|
D | pipeline.cc | 1393 ZoneVector<RpoNumber> result(temp_zone); in Run()
|
/external/v8/src/compiler/arm/ |
D | unwinding-info-writer-arm.cc | 44 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
|
/external/v8/src/compiler/arm64/ |
D | unwinding-info-writer-arm64.cc | 44 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
|
/external/v8/src/compiler/x64/ |
D | unwinding-info-writer-x64.cc | 49 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
|