Home
last modified time | relevance | path

Searched refs:rpo_number (Results 1 – 22 of 22) sorted by relevance

/external/v8/src/compiler/
Djump-threading.cc81 RpoNumber current = block->rpo_number(); in ComputeForwarding()
89 block->rpo_number().ToInt()); in ComputeForwarding()
90 RpoNumber fw = block->rpo_number(); in ComputeForwarding()
128 int next = 1 + block->rpo_number().ToInt(); in ComputeForwarding()
168 int block_num = block->rpo_number().ToInt(); in ApplyForwarding()
205 if (!skip[block->rpo_number().ToInt()]) ao++; in ApplyForwarding()
211 if (!skip[block->rpo_number().ToInt()]) ao++; in ApplyForwarding()
Dschedule.cc74 void BasicBlock::set_rpo_number(int32_t rpo_number) { in set_rpo_number() argument
75 rpo_number_ = rpo_number; in set_rpo_number()
466 if (!pred->deferred() && (pred->rpo_number() < block->rpo_number())) { in PropagateDeferredMark()
513 if (block->rpo_number() == -1) { in operator <<()
516 os << "--- BLOCK B" << block->rpo_number(); in operator <<()
524 if (predecessor->rpo_number() == -1) { in operator <<()
527 os << "B" << predecessor->rpo_number(); in operator <<()
551 if (successor->rpo_number() == -1) { in operator <<()
554 os << "B" << successor->rpo_number(); in operator <<()
Dinstruction.cc635 InstructionBlock::InstructionBlock(Zone* zone, RpoNumber rpo_number, in InstructionBlock() argument
641 ao_number_(rpo_number), in InstructionBlock()
642 rpo_number_(rpo_number), in InstructionBlock()
653 size_t InstructionBlock::PredecessorIndexOf(RpoNumber rpo_number) const { in PredecessorIndexOf()
657 if (*i == rpo_number) break; in PredecessorIndexOf()
665 return RpoNumber::FromInt(block->rpo_number()); in GetRpo()
671 return RpoNumber::FromInt(block->loop_end()->rpo_number()); in GetLoopEndRpo()
700 os << "B" << block->rpo_number(); in operator <<()
707 os << " loop blocks: [" << block->rpo_number() << ", " << block->loop_end() in operator <<()
749 size_t rpo_number = 0; in InstructionBlocksFor() local
[all …]
Dgraph-visualizer.cc424 void PrintBlockProperty(const char* name, int rpo_number);
489 void GraphC1Visualizer::PrintBlockProperty(const char* name, int rpo_number) { in PrintBlockProperty() argument
491 os_ << name << " \"B" << rpo_number << "\"\n"; in PrintBlockProperty()
573 PrintBlockProperty("name", current->rpo_number()); in PrintSchedule()
580 os_ << " \"B" << predecessor->rpo_number() << "\""; in PrintSchedule()
587 os_ << " \"B" << successor->rpo_number() << "\""; in PrintSchedule()
598 PrintBlockProperty("dominator", current->dominator()->rpo_number()); in PrintSchedule()
605 RpoNumber::FromInt(current->rpo_number())); in PrintSchedule()
675 os_ << -1 - current->rpo_number() << " Goto"; in PrintSchedule()
679 os_ << " B" << successor->rpo_number(); in PrintSchedule()
[all …]
Dscheduler.cc728 if (child->rpo_number() == unvisited) { in Push()
766 CHECK_EQ(kBlockUnvisited1, schedule_->start()->rpo_number()); in ComputeAndInsertSpecialRPO()
789 if (succ->rpo_number() == kBlockVisited1) continue; in ComputeAndInsertSpecialRPO()
790 if (succ->rpo_number() == kBlockOnStack) { in ComputeAndInsertSpecialRPO()
799 DCHECK_EQ(kBlockUnvisited1, succ->rpo_number()); in ComputeAndInsertSpecialRPO()
836 if (block->rpo_number() == kBlockOnStack) { in ComputeAndInsertSpecialRPO()
863 if (succ->rpo_number() == kBlockOnStack) continue; in ComputeAndInsertSpecialRPO()
864 if (succ->rpo_number() == kBlockVisited2) continue; in ComputeAndInsertSpecialRPO()
865 DCHECK_EQ(kBlockUnvisited2, succ->rpo_number()); in ComputeAndInsertSpecialRPO()
1022 os << std::setw(5) << "B" << block->rpo_number() << ":"; in PrintRPO()
[all …]
Dframe-elider.cc156 InstructionBlock* FrameElider::InstructionBlockAt(RpoNumber rpo_number) const { in InstructionBlockAt()
157 return code_->InstructionBlockAt(rpo_number); in InstructionBlockAt()
Dregister-allocator-verifier.cc337 RpoNumber current_block_id = block->rpo_number(); in CreateForBlock()
515 ValidateUse(block->rpo_number(), block_assessments, op, in VerifyGapMoves()
540 assessments_[block->rpo_number()] = block_assessments; in VerifyGapMoves()
542 auto todo_iter = outstanding_assessments_.find(block->rpo_number()); in VerifyGapMoves()
556 ValidatePendingAssessment(block->rpo_number(), op, block_assessments, in VerifyGapMoves()
Dlive-range-separator.cc84 int first_block_nr = first_block->rpo_number().ToInt(); in SplinterLiveRange()
85 int last_block_nr = last_block->rpo_number().ToInt(); in SplinterLiveRange()
Dverifier.cc1844 node->id(), node->op()->mnemonic(), block->rpo_number(), j, in CheckInputsDominate()
1856 node->id(), node->op()->mnemonic(), block->rpo_number(), ctl->id(), in CheckInputsDominate()
1877 CHECK_GE(predecessor->rpo_number(), 0); in Run()
1881 CHECK_GE(successor->rpo_number(), 0); in Run()
1890 CHECK_EQ(static_cast<int>(b), block->rpo_number()); in Run()
1898 CHECK_LT(dom->rpo_number(), block->rpo_number()); in Run()
1924 CHECK_GE(block->rpo_number(), 0); in Run()
1925 CHECK_EQ(block, rpo_order->at(block->rpo_number())); in Run()
1950 FATAL("Block B%d is not dominated by B%d", block->rpo_number(), in Run()
1951 idom->rpo_number()); in Run()
[all …]
Dframe-elider.h31 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const;
Dschedule.h148 int32_t rpo_number() const { return rpo_number_; } in NON_EXPORTED_BASE()
149 void set_rpo_number(int32_t rpo_number); in NON_EXPORTED_BASE()
Dinstruction.h1375 InstructionBlock(Zone* zone, RpoNumber rpo_number, RpoNumber loop_header, in NON_EXPORTED_BASE()
1402 RpoNumber rpo_number() const { return rpo_number_; } in NON_EXPORTED_BASE()
1414 size_t PredecessorIndexOf(RpoNumber rpo_number) const; in NON_EXPORTED_BASE()
1503 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) { in NON_EXPORTED_BASE()
1504 return instruction_blocks_->at(rpo_number.ToSize()); in NON_EXPORTED_BASE()
1512 const InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const { in NON_EXPORTED_BASE()
1513 return instruction_blocks_->at(rpo_number.ToSize()); in NON_EXPORTED_BASE()
Dregister-allocator.cc1853 size_t block_index = block->rpo_number().ToSize(); in ComputeLiveOut()
1866 if (succ <= block->rpo_number()) continue; in ComputeLiveOut()
1873 size_t index = successor->PredecessorIndexOf(block->rpo_number()); in ComputeLiveOut()
2270 DCHECK_EQ(predecessor_block->rpo_number(), predecessor); in ProcessPhis()
2273 if (predecessor >= block->rpo_number()) continue; in ProcessPhis()
2380 for (int i = block->rpo_number().ToInt() + 1; i < block->loop_end().ToInt(); in ProcessLoopHeader()
2544 return block->rpo_number() < next_block->rpo_number(); in NextIntervalStartsInDifferentBlocks()
2677 loop->rpo_number().ToInt() <= start_block->rpo_number().ToInt()) { in FindOptimalSplitPos()
3729 return block->predecessors()[0].IsNext(block->rpo_number()); in CanEagerlyResolveControlFlow()
3739 BitVector* live = live_in_sets[block->rpo_number().ToInt()]; in ResolveControlFlow()
[all …]
Dbasic-block-instrumentor.cc76 data->SetBlockRpoNumber(block_number, block->rpo_number()); in Instrument()
Dcode-generator.cc197 block_starts_[block->rpo_number().ToInt()] = tasm()->pc_offset(); in AssembleCode()
200 current_block_ = block->rpo_number(); in AssembleCode()
208 buffer, "-- B%d start%s%s%s%s", block->rpo_number().ToInt(), in AssembleCode()
336 if (branch.false_label == GetLabel(block->rpo_number())) { in TryInsertBranchPoisoning()
Dinstruction-selector-impl.h285 Constant(RpoNumber::FromInt(block->rpo_number()))); in Label()
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()
1117 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in VisitBlock()
2621 ->InstructionBlockAt(RpoNumber::FromInt(current_block_->rpo_number())) in VisitPhi()
Deffect-control-linearizer.cc60 return map_[std::make_pair(from->rpo_number(), to->rpo_number())]; in For()
64 return map_.at(std::make_pair(from->rpo_number(), to->rpo_number())); in For()
143 if (pred->rpo_number() >= block->rpo_number()) { in HasIncomingBackEdges()
Dpipeline.cc1676 out << "\"" << block->rpo_number() << "\": [" << block->code_start() << ", " in operator <<()
/external/v8/src/compiler/arm/
Dunwinding-info-writer-arm.cc18 DCHECK_LT(block->rpo_number().ToInt(), in BeginInstructionBlock()
21 block_initial_states_[block->rpo_number().ToInt()]; in BeginInstructionBlock()
/external/v8/src/compiler/arm64/
Dunwinding-info-writer-arm64.cc18 DCHECK_LT(block->rpo_number().ToInt(), in BeginInstructionBlock()
21 block_initial_states_[block->rpo_number().ToInt()]; in BeginInstructionBlock()
/external/v8/src/compiler/x64/
Dunwinding-info-writer-x64.cc18 DCHECK_LT(block->rpo_number().ToInt(), in BeginInstructionBlock()
21 block_initial_states_[block->rpo_number().ToInt()]; in BeginInstructionBlock()