Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/src/compiler/backend/
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 ZoneVector<RpoNumber>* result, in ComputeForwarding()
64 ZoneStack<RpoNumber> stack(local_zone); in ComputeForwarding()
[all …]
Dspill-placer.cc32 RpoNumber top_start_block_number = top_start_block->rpo_number(); in Add()
61 RpoNumber start_block = in Add()
79 RpoNumber end_block = in Add()
94 RpoNumber block_number = block->rpo_number(); in Add()
245 first_block_ = RpoNumber::Invalid(); in ClearData()
246 last_block_ = RpoNumber::Invalid(); in ClearData()
249 void SpillPlacer::ExpandBoundsToInclude(RpoNumber block) { in ExpandBoundsToInclude()
265 RpoNumber top_start_block) { in SetSpillRequired()
282 void SpillPlacer::SetDefinition(RpoNumber block, int vreg) { in SetDefinition()
292 RpoNumber block_id = RpoNumber::FromInt(i); in FirstBackwardPass()
[all …]
Dspill-placer.h116 void ExpandBoundsToInclude(RpoNumber block);
119 RpoNumber top_start_block);
121 void SetDefinition(RpoNumber block, int vreg);
162 RpoNumber first_block_ = RpoNumber::Invalid();
163 RpoNumber last_block_ = RpoNumber::Invalid();
Dinstruction.cc615 InstructionBlock::InstructionBlock(Zone* zone, RpoNumber rpo_number, in InstructionBlock()
616 RpoNumber loop_header, RpoNumber loop_end, in InstructionBlock()
617 RpoNumber dominator, bool deferred, in InstructionBlock()
622 ao_number_(RpoNumber::Invalid()), in InstructionBlock()
636 size_t InstructionBlock::PredecessorIndexOf(RpoNumber rpo_number) const { in PredecessorIndexOf()
645 static RpoNumber GetRpo(const BasicBlock* block) { in GetRpo()
646 if (block == nullptr) return RpoNumber::Invalid(); in GetRpo()
647 return RpoNumber::FromInt(block->rpo_number()); in GetRpo()
650 static RpoNumber GetLoopEndRpo(const BasicBlock* block) { in GetLoopEndRpo()
651 if (!block->IsLoopHeader()) return RpoNumber::Invalid(); in GetLoopEndRpo()
[all …]
Dinstruction.h1058 class RpoNumber final {
1061 RpoNumber() : index_(kInvalidRpoNumber) {} in RpoNumber() function
1072 static RpoNumber FromInt(int index) { return RpoNumber(index); } in FromInt()
1073 static RpoNumber Invalid() { return RpoNumber(kInvalidRpoNumber); } in Invalid()
1075 bool IsNext(const RpoNumber other) const { in IsNext()
1080 RpoNumber Next() const { in Next()
1082 return RpoNumber(index_ + 1); in Next()
1086 bool operator==(RpoNumber other) const { return index_ == other.index_; }
1087 bool operator!=(RpoNumber other) const { return index_ != other.index_; }
1088 bool operator>(RpoNumber other) const { return index_ > other.index_; }
[all …]
Dframe-elider.cc50 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction()
68 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction()
104 for (RpoNumber& pred : block->predecessors()) { in PropagateIntoBlock()
124 for (RpoNumber& succ : block->successors()) { in PropagateIntoBlock()
148 InstructionBlock* FrameElider::InstructionBlockAt(RpoNumber rpo_number) const { in InstructionBlockAt()
Dcode-generator.h148 Label* GetLabel(RpoNumber rpo) { return &labels_[rpo.ToSize()]; } in GetLabel()
206 bool IsNextInAssemblyOrder(RpoNumber block) const;
227 RpoNumber ComputeBranchInfo(BranchInfo* branch, Instruction* instr);
244 void AssembleArchJump(RpoNumber target);
245 void AssembleArchJumpRegardlessOfAssemblyOrder(RpoNumber target);
256 void AssembleArchBinarySearchSwitchRange(Register input, RpoNumber def_block,
415 RpoNumber current_block_;
Djump-threading.h20 static bool ComputeForwarding(Zone* local_zone, ZoneVector<RpoNumber>* result,
26 ZoneVector<RpoNumber> const& forwarding,
Dregister-allocator-verifier.h282 void ValidatePendingAssessment(RpoNumber block_id, InstructionOperand op,
286 void ValidateUse(RpoNumber block_id, BlockAssessments* current_assessments,
293 ZoneMap<RpoNumber, BlockAssessments*> assessments_;
294 ZoneMap<RpoNumber, DelayedAssessments*> outstanding_assessments_;
Dmid-tier-register-allocator.h58 const InstructionBlock* GetBlock(const RpoNumber rpo_number);
81 BlockState& block_state(RpoNumber rpo_number);
Dmid-tier-register-allocator.cc155 BlockState& MidTierRegisterAllocationData::block_state(RpoNumber rpo_number) { in block_state()
160 RpoNumber rpo_number) { in GetBlock()
258 void AddBlock(RpoNumber block, MidTierRegisterAllocationData* data) { in AddBlock()
420 for (RpoNumber pred_rpo : phi_block->predecessors()) { in SpillRange()
712 for (const RpoNumber& succ : current_block->successors()) { in EmitGapMoveFromOutputToSpillSlot()
1093 for (RpoNumber predecessor : phi_block->predecessors()) { in SpillPhiGapMove()
1402 RpoNumber deferred_block,
1428 void CloneStateFrom(RpoNumber successor);
1442 RpoNumber successor, RegisterState* succ_state);
1746 void SinglePassRegisterAllocator::CloneStateFrom(RpoNumber successor) { in CloneStateFrom()
[all …]
Dregister-allocator-verifier.cc386 RpoNumber current_block_id = block->rpo_number(); in CreateForBlock()
401 for (RpoNumber pred_id : block->predecessors()) { in CreateForBlock()
435 RpoNumber block_id, InstructionOperand op, in ValidatePendingAssessment()
446 ZoneSet<RpoNumber> seen(&local_zone); in ValidatePendingAssessment()
474 for (RpoNumber pred : origin->predecessors()) { in ValidatePendingAssessment()
525 RpoNumber block_id, BlockAssessments* current_assessments, in ValidateUse()
Dcode-generator.cc63 current_block_(RpoNumber::Invalid()), in CodeGenerator()
417 Register input, RpoNumber def_block, std::pair<int32_t, Label*>* begin, in AssembleArchBinarySearchSwitchRange()
435 void CodeGenerator::AssembleArchJump(RpoNumber target) { in AssembleArchJump()
504 bool CodeGenerator::IsNextInAssemblyOrder(RpoNumber block) const { in IsNextInAssemblyOrder()
676 RpoNumber CodeGenerator::ComputeBranchInfo(BranchInfo* branch, in ComputeBranchInfo()
680 RpoNumber true_rpo = i.InputRpo(instr->InputCount() - 2); in ComputeBranchInfo()
681 RpoNumber false_rpo = i.InputRpo(instr->InputCount() - 1); in ComputeBranchInfo()
696 return RpoNumber::Invalid(); in ComputeBranchInfo()
737 RpoNumber target = ComputeBranchInfo(&branch, instr); in AssembleInstruction()
963 RpoNumber handler_rpo = i.InputRpo(instr->InputCount() - 1); in RecordCallPosition()
Dinstruction-scheduler.h39 V8_EXPORT_PRIVATE void StartBlock(RpoNumber rpo);
40 V8_EXPORT_PRIVATE void EndBlock(RpoNumber rpo);
Dmove-optimizer.cc146 for (RpoNumber& pred_id : block->predecessors()) { in Run()
377 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge()
399 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge()
475 for (RpoNumber& pred_index : block->predecessors()) { in OptimizeMerge()
Dframe-elider.h29 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const;
Dcode-generator-impl.h99 RpoNumber InputRpo(size_t index) { in InputRpo()
133 RpoNumber ToRpoNumber(InstructionOperand* op) { in ToRpoNumber()
Dregister-allocator.cc39 RpoNumber index = block->loop_header(); in GetContainingLoop()
1687 for (const RpoNumber& succ : block->successors()) { in MeetRegisterConstraintsForLastInstructionInBlock()
1700 for (const RpoNumber& succ : block->successors()) { in MeetRegisterConstraintsForLastInstructionInBlock()
1901 for (const RpoNumber& succ : block->successors()) { in ComputeLiveOut()
2377 for (RpoNumber predecessor : block->predecessors()) { in ProcessPhis()
2500 code()->InstructionBlockAt(RpoNumber::FromInt(block_id)); in BuildLiveRanges()
2633 for (RpoNumber pred_index : block->predecessors()) { in IntervalPredecessorsCoveredByRange()
2666 code()->InstructionBlockAt(RpoNumber::FromInt(block_id)); in BuildBundles()
3265 RpoNumber LinearScanAllocator::ChooseOneOfTwoPredecessorStates( in ChooseOneOfTwoPredecessorStates()
3349 for (RpoNumber pred : current_block->predecessors()) { in ComputeStateFromManyPredecessors()
[all …]
Dinstruction-scheduler.cc91 void InstructionScheduler::StartBlock(RpoNumber rpo) { in StartBlock()
101 void InstructionScheduler::EndBlock(RpoNumber rpo) { in EndBlock()
Dregister-allocator.h335 void RememberSpillState(RpoNumber block, in RememberSpillState()
340 ZoneVector<LiveRange*>& GetSpillState(RpoNumber block) { in GetSpillState()
1012 RpoNumber block_id, const TopTierRegisterAllocationData* data) { in AddBlockRequiringSpillOperand()
1471 RpoNumber predecessor);
1472 RpoNumber ChooseOneOfTwoPredecessorStates(InstructionBlock* current_block,
/third_party/node/deps/v8/src/compiler/backend/arm/
Dunwinding-info-writer-arm.cc37 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
/third_party/node/deps/v8/src/compiler/backend/arm64/
Dunwinding-info-writer-arm64.cc41 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
/third_party/node/deps/v8/src/compiler/backend/ppc/
Dunwinding-info-writer-ppc.cc38 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
/third_party/node/deps/v8/src/compiler/backend/s390/
Dunwinding-info-writer-s390.cc37 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()
/third_party/node/deps/v8/src/compiler/backend/x64/
Dunwinding-info-writer-x64.cc42 for (const RpoNumber& successor : block->successors()) { in EndInstructionBlock()

12