/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 | 957 class RpoNumber final { 969 static RpoNumber FromInt(int index) { return RpoNumber(index); } in FromInt() 970 static RpoNumber Invalid() { return RpoNumber(kInvalidRpoNumber); } in Invalid() 972 bool IsNext(const RpoNumber other) const { in IsNext() 978 bool operator==(RpoNumber other) const { return index_ == other.index_; } 979 bool operator!=(RpoNumber other) const { return index_ != other.index_; } 980 bool operator>(RpoNumber other) const { return index_ > other.index_; } 981 bool operator<(RpoNumber other) const { return index_ < other.index_; } 982 bool operator<=(RpoNumber other) const { return index_ <= other.index_; } 983 bool operator>=(RpoNumber other) const { return index_ >= other.index_; } [all …]
|
D | frame-elider.cc | 51 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction() 69 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction() 108 for (RpoNumber& pred : block->predecessors()) { in PropagateIntoBlock() 118 for (RpoNumber& succ : block->successors()) { in PropagateIntoBlock() 131 InstructionBlock* FrameElider::InstructionBlockAt(RpoNumber rpo_number) const { in InstructionBlockAt()
|
D | instruction.cc | 565 InstructionBlock::InstructionBlock(Zone* zone, RpoNumber rpo_number, in InstructionBlock() 566 RpoNumber loop_header, RpoNumber loop_end, in InstructionBlock() 582 last_deferred_(RpoNumber::Invalid()) {} in InstructionBlock() 585 size_t InstructionBlock::PredecessorIndexOf(RpoNumber rpo_number) const { in PredecessorIndexOf() 595 static RpoNumber GetRpo(const BasicBlock* block) { in GetRpo() 596 if (block == nullptr) return RpoNumber::Invalid(); in GetRpo() 597 return RpoNumber::FromInt(block->rpo_number()); in GetRpo() 601 static RpoNumber GetLoopEndRpo(const BasicBlock* block) { in GetLoopEndRpo() 602 if (!block->IsLoopHeader()) return RpoNumber::Invalid(); in GetLoopEndRpo() 603 return RpoNumber::FromInt(block->loop_end()->rpo_number()); in GetLoopEndRpo() [all …]
|
D | register-allocator-verifier.h | 241 void ValidatePendingAssessment(RpoNumber block_id, InstructionOperand op, 245 void ValidateFinalAssessment(RpoNumber block_id, InstructionOperand op, 249 void ValidateUse(RpoNumber block_id, BlockAssessments* current_assessments, 256 ZoneMap<RpoNumber, BlockAssessments*> assessments_; 257 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 | 61 Label* GetLabel(RpoNumber rpo) { return &labels_[rpo.ToSize()]; } in GetLabel() 78 bool IsNextInAssemblyOrder(RpoNumber block) const; 109 void AssembleArchJump(RpoNumber target); 229 RpoNumber current_block_;
|
D | register-allocator-verifier.cc | 304 RpoNumber current_block_id = block->rpo_number(); in CreateForBlock() 318 for (RpoNumber pred_id : block->predecessors()) { in CreateForBlock() 346 RpoNumber block_id, InstructionOperand op, in ValidatePendingAssessment() 355 ZoneSet<RpoNumber> seen(zone()); in ValidatePendingAssessment() 383 for (RpoNumber pred : origin->predecessors()) { in ValidatePendingAssessment() 438 RpoNumber block_id, InstructionOperand op, in ValidateFinalAssessment() 455 RpoNumber block_id, BlockAssessments* current_assessments, in ValidateUse()
|
D | instruction-scheduler.h | 31 void StartBlock(RpoNumber rpo); 32 void EndBlock(RpoNumber rpo);
|
D | frame-elider.h | 31 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const;
|
D | code-generator-impl.h | 84 RpoNumber InputRpo(size_t index) { in InputRpo() 110 RpoNumber ToRpoNumber(InstructionOperand* op) { in ToRpoNumber()
|
D | move-optimizer.cc | 94 for (RpoNumber& pred_id : block->predecessors()) { in Run() 328 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge() 350 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge() 427 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge()
|
D | instruction-scheduler.cc | 90 void InstructionScheduler::StartBlock(RpoNumber rpo) { in StartBlock() 100 void InstructionScheduler::EndBlock(RpoNumber rpo) { in EndBlock()
|
D | instruction-selector.h | 62 void StartBlock(RpoNumber rpo); 63 void EndBlock(RpoNumber rpo);
|
D | code-generator.cc | 41 current_block_(RpoNumber::Invalid()), in CodeGenerator() 246 bool CodeGenerator::IsNextInAssemblyOrder(RpoNumber block) const { in IsNextInAssemblyOrder() 340 RpoNumber true_rpo = i.InputRpo(instr->InputCount() - 2); in AssembleInstruction() 341 RpoNumber false_rpo = i.InputRpo(instr->InputCount() - 1); in AssembleInstruction() 506 RpoNumber handler_rpo = i.InputRpo(instr->InputCount() - 1); in RecordCallPosition()
|
D | live-range-separator.cc | 79 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in SplinterLiveRange()
|
D | instruction-selector.cc | 75 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions() 79 StartBlock(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions() 83 EndBlock(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions() 90 void InstructionSelector::StartBlock(RpoNumber rpo) { in StartBlock() 101 void InstructionSelector::EndBlock(RpoNumber rpo) { in EndBlock() 750 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in VisitBlock() 1580 ->InstructionBlockAt(RpoNumber::FromInt(current_block_->rpo_number())) in VisitPhi()
|
D | register-allocator.cc | 50 RpoNumber index = block->loop_header(); in GetContainingLoop() 1667 for (const RpoNumber& succ : block->successors()) { in MeetRegisterConstraintsForLastInstructionInBlock() 1679 for (const RpoNumber& succ : block->successors()) { in MeetRegisterConstraintsForLastInstructionInBlock() 1851 for (const RpoNumber& succ : block->successors()) { in ComputeLiveOut() 2271 code()->InstructionBlockAt(RpoNumber::FromInt(block_id)); in BuildLiveRanges() 2393 for (RpoNumber pred_index : block->predecessors()) { in IntervalPredecessorsCoveredByRange() 3518 for (const RpoNumber& pred : block->predecessors()) { in ResolveControlFlow() 3734 ZoneSet<std::pair<RpoNumber, int>> done_moves(temp_zone); in CommitSpillsInDeferredBlocks() 3745 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in CommitSpillsInDeferredBlocks() 3747 for (const RpoNumber& pred : spill_block->predecessors()) { in CommitSpillsInDeferredBlocks() [all …]
|
D | instruction-selector-impl.h | 196 Constant(RpoNumber::FromInt(block->rpo_number()))); in Label()
|
D | graph-visualizer.cc | 432 RpoNumber::FromInt(current->rpo_number())); in PrintSchedule()
|
D | register-allocator.h | 621 void AddBlockRequiringSpillOperand(RpoNumber block_id) { in AddBlockRequiringSpillOperand()
|
D | pipeline.cc | 1309 ZoneVector<RpoNumber> result(temp_zone); in Run()
|
/external/v8/test/cctest/compiler/ |
D | test-jump-threading.cc | 20 rpo_number_(RpoNumber::FromInt(0)), in TestCode() 25 RpoNumber rpo_number_; 81 rpo_number_ = RpoNumber::FromInt(rpo_number_.ToInt() + 1); in End() 84 return sequence_.AddImmediate(Constant(RpoNumber::FromInt(num))); in UseRpo() 89 InstructionBlock(main_zone(), rpo_number_, RpoNumber::Invalid(), in Start() 90 RpoNumber::Invalid(), deferred, false); in Start() 111 ZoneVector<RpoNumber> result(&local_zone); in VerifyForwarding() 611 ZoneVector<RpoNumber> vector(code.main_zone()); in ApplyForwarding() 613 vector.push_back(RpoNumber::FromInt(forward[i])); in ApplyForwarding()
|
D | test-instruction.cc | 88 RpoNumber RpoFor(BasicBlock* block) { in RpoFor() 89 return RpoNumber::FromInt(block->rpo_number()); in RpoFor()
|
/external/v8/test/unittests/compiler/ |
D | instruction-sequence-unittest.h | 21 typedef RpoNumber Rpo;
|