/external/v8/src/compiler/ |
D | jump-threading.cc | 21 ZoneVector<RpoNumber>& result; 22 ZoneStack<RpoNumber>& stack; 25 void PushIfUnvisited(RpoNumber num) { in PushIfUnvisited() 31 void Forward(RpoNumber to) { in Forward() 32 RpoNumber from = stack.top(); in Forward() 33 RpoNumber to_to = result[to.ToInt()]; in Forward() 54 RpoNumber unvisited() { return RpoNumber::FromInt(-1); } in unvisited() 55 RpoNumber onstack() { return RpoNumber::FromInt(-2); } in onstack() 61 RpoNumber pred_rpo = (block->predecessors())[0]; in IsBlockWithBranchPoisoning() 72 ZoneVector<RpoNumber>& result, in ComputeForwarding() [all …]
|
D | instruction.h | 997 class RpoNumber final { 1009 static RpoNumber FromInt(int index) { return RpoNumber(index); } in FromInt() 1010 static RpoNumber Invalid() { return RpoNumber(kInvalidRpoNumber); } in Invalid() 1012 bool IsNext(const RpoNumber other) const { in IsNext() 1018 bool operator==(RpoNumber other) const { return index_ == other.index_; } 1019 bool operator!=(RpoNumber other) const { return index_ != other.index_; } 1020 bool operator>(RpoNumber other) const { return index_ > other.index_; } 1021 bool operator<(RpoNumber other) const { return index_ < other.index_; } 1022 bool operator<=(RpoNumber other) const { return index_ <= other.index_; } 1023 bool operator>=(RpoNumber other) const { return index_ >= other.index_; } [all …]
|
D | frame-elider.cc | 53 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction() 71 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction() 110 for (RpoNumber& pred : block->predecessors()) { in PropagateIntoBlock() 130 for (RpoNumber& succ : block->successors()) { in PropagateIntoBlock() 156 InstructionBlock* FrameElider::InstructionBlockAt(RpoNumber rpo_number) const { in InstructionBlockAt()
|
D | instruction.cc | 635 InstructionBlock::InstructionBlock(Zone* zone, RpoNumber rpo_number, in InstructionBlock() 636 RpoNumber loop_header, RpoNumber loop_end, in InstructionBlock() 653 size_t InstructionBlock::PredecessorIndexOf(RpoNumber rpo_number) const { in PredecessorIndexOf() 663 static RpoNumber GetRpo(const BasicBlock* block) { in GetRpo() 664 if (block == nullptr) return RpoNumber::Invalid(); in GetRpo() 665 return RpoNumber::FromInt(block->rpo_number()); in GetRpo() 669 static RpoNumber GetLoopEndRpo(const BasicBlock* block) { in GetLoopEndRpo() 670 if (!block->IsLoopHeader()) return RpoNumber::Invalid(); in GetLoopEndRpo() 671 return RpoNumber::FromInt(block->loop_end()->rpo_number()); in GetLoopEndRpo() 714 for (RpoNumber pred : block->predecessors()) { in operator <<() [all …]
|
D | code-generator.h | 106 Label* GetLabel(RpoNumber rpo) { return &labels_[rpo.ToSize()]; } in GetLabel() 148 bool IsNextInAssemblyOrder(RpoNumber block) const; 180 RpoNumber ComputeBranchInfo(BranchInfo* branch, Instruction* instr); 198 void AssembleArchJump(RpoNumber target); 206 void AssembleArchBinarySearchSwitchRange(Register input, RpoNumber def_block, 398 RpoNumber current_block_;
|
D | jump-threading.h | 20 static bool ComputeForwarding(Zone* local_zone, ZoneVector<RpoNumber>& result, 26 ZoneVector<RpoNumber>& forwarding,
|
D | register-allocator-verifier.h | 251 void ValidatePendingAssessment(RpoNumber block_id, InstructionOperand op, 255 void ValidateUse(RpoNumber block_id, BlockAssessments* current_assessments, 262 ZoneMap<RpoNumber, BlockAssessments*> assessments_; 263 ZoneMap<RpoNumber, DelayedAssessments*> outstanding_assessments_;
|
D | register-allocator-verifier.cc | 337 RpoNumber current_block_id = block->rpo_number(); in CreateForBlock() 351 for (RpoNumber pred_id : block->predecessors()) { in CreateForBlock() 379 RpoNumber block_id, InstructionOperand op, in ValidatePendingAssessment() 390 ZoneSet<RpoNumber> seen(&local_zone); in ValidatePendingAssessment() 418 for (RpoNumber pred : origin->predecessors()) { in ValidatePendingAssessment() 469 RpoNumber block_id, BlockAssessments* current_assessments, in ValidateUse()
|
D | instruction-scheduler.h | 33 void StartBlock(RpoNumber rpo); 34 void EndBlock(RpoNumber rpo);
|
D | code-generator.cc | 55 current_block_(RpoNumber::Invalid()), in CodeGenerator() 324 RpoNumber pred_rpo = (block->predecessors())[0]; in TryInsertBranchPoisoning() 332 RpoNumber target = ComputeBranchInfo(&branch, instr); in TryInsertBranchPoisoning() 353 Register input, RpoNumber def_block, std::pair<int32_t, Label*>* begin, in AssembleArchBinarySearchSwitchRange() 423 bool CodeGenerator::IsNextInAssemblyOrder(RpoNumber block) const { in IsNextInAssemblyOrder() 606 RpoNumber CodeGenerator::ComputeBranchInfo(BranchInfo* branch, in ComputeBranchInfo() 610 RpoNumber true_rpo = i.InputRpo(instr->InputCount() - 2); in ComputeBranchInfo() 611 RpoNumber false_rpo = i.InputRpo(instr->InputCount() - 1); in ComputeBranchInfo() 626 return RpoNumber::Invalid(); in ComputeBranchInfo() 657 RpoNumber target = ComputeBranchInfo(&branch, instr); in AssembleInstruction() [all …]
|
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 | frame-elider.h | 31 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const;
|
D | code-generator-impl.h | 96 RpoNumber InputRpo(size_t index) { in InputRpo() 126 RpoNumber ToRpoNumber(InstructionOperand* op) { in ToRpoNumber()
|
D | instruction-scheduler.cc | 92 void InstructionScheduler::StartBlock(RpoNumber rpo) { in StartBlock() 103 void InstructionScheduler::EndBlock(RpoNumber rpo) { in EndBlock()
|
D | live-range-separator.cc | 88 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in SplinterLiveRange()
|
D | register-allocator.cc | 57 RpoNumber index = block->loop_header(); in GetContainingLoop() 1674 for (const RpoNumber& succ : block->successors()) { in MeetRegisterConstraintsForLastInstructionInBlock() 1687 for (const RpoNumber& succ : block->successors()) { in MeetRegisterConstraintsForLastInstructionInBlock() 1864 for (const RpoNumber& succ : block->successors()) { in ComputeLiveOut() 2267 for (RpoNumber predecessor : block->predecessors()) { in ProcessPhis() 2392 code()->InstructionBlockAt(RpoNumber::FromInt(block_id)); in BuildLiveRanges() 2520 for (RpoNumber pred_index : block->predecessors()) { in IntervalPredecessorsCoveredByRange() 3744 for (const RpoNumber& pred : block->predecessors()) { in ResolveControlFlow() 3964 ZoneSet<std::pair<RpoNumber, int>> done_moves(temp_zone); in CommitSpillsInDeferredBlocks() 3975 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in CommitSpillsInDeferredBlocks() [all …]
|
D | instruction-selector.h | 283 void StartBlock(RpoNumber rpo); 284 void EndBlock(RpoNumber rpo);
|
D | instruction-selector.cc | 96 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions() 103 StartBlock(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions() 112 EndBlock(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions() 120 void InstructionSelector::StartBlock(RpoNumber rpo) { in StartBlock() 130 void InstructionSelector::EndBlock(RpoNumber rpo) { in EndBlock() 1117 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in VisitBlock() 2621 ->InstructionBlockAt(RpoNumber::FromInt(current_block_->rpo_number())) in VisitPhi()
|
D | instruction-selector-impl.h | 285 Constant(RpoNumber::FromInt(block->rpo_number()))); in Label()
|
D | register-allocator.h | 621 void AddBlockRequiringSpillOperand(RpoNumber block_id) { in AddBlockRequiringSpillOperand()
|
D | graph-visualizer.cc | 605 RpoNumber::FromInt(current->rpo_number())); in PrintSchedule()
|
D | pipeline.cc | 1880 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 | 45 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()
|