Home
last modified time | relevance | path

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

12

/external/v8/src/compiler/
Djump-threading.cc21 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 …]
Dinstruction.h997 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 …]
Dframe-elider.cc53 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()
Dinstruction.cc635 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 …]
Dcode-generator.h106 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_;
Djump-threading.h20 static bool ComputeForwarding(Zone* local_zone, ZoneVector<RpoNumber>& result,
26 ZoneVector<RpoNumber>& forwarding,
Dregister-allocator-verifier.h251 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_;
Dregister-allocator-verifier.cc337 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()
Dinstruction-scheduler.h33 void StartBlock(RpoNumber rpo);
34 void EndBlock(RpoNumber rpo);
Dcode-generator.cc55 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 …]
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()
Dframe-elider.h31 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const;
Dcode-generator-impl.h96 RpoNumber InputRpo(size_t index) { in InputRpo()
126 RpoNumber ToRpoNumber(InstructionOperand* op) { in ToRpoNumber()
Dinstruction-scheduler.cc92 void InstructionScheduler::StartBlock(RpoNumber rpo) { in StartBlock()
103 void InstructionScheduler::EndBlock(RpoNumber rpo) { in EndBlock()
Dlive-range-separator.cc88 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in SplinterLiveRange()
Dregister-allocator.cc57 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 …]
Dinstruction-selector.h283 void StartBlock(RpoNumber rpo);
284 void EndBlock(RpoNumber rpo);
Dinstruction-selector.cc96 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()
Dinstruction-selector-impl.h285 Constant(RpoNumber::FromInt(block->rpo_number()))); in Label()
Dregister-allocator.h621 void AddBlockRequiringSpillOperand(RpoNumber block_id) { in AddBlockRequiringSpillOperand()
Dgraph-visualizer.cc605 RpoNumber::FromInt(current->rpo_number())); in PrintSchedule()
Dpipeline.cc1880 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.cc45 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