Home
last modified time | relevance | path

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

/external/v8/src/compiler/
Djump-threading.cc67 RpoNumber current = block->rpo_number(); in ComputeForwarding()
75 block->rpo_number().ToInt()); in ComputeForwarding()
77 RpoNumber fw = block->rpo_number(); in ComputeForwarding()
114 int next = 1 + block->rpo_number().ToInt(); in ComputeForwarding()
153 int block_num = block->rpo_number().ToInt(); in ApplyForwarding()
189 if (!skip[block->rpo_number().ToInt()]) ao++; in ApplyForwarding()
195 if (!skip[block->rpo_number().ToInt()]) ao++; in ApplyForwarding()
Dschedule.cc71 void BasicBlock::set_rpo_number(int32_t rpo_number) { in set_rpo_number() argument
72 rpo_number_ = rpo_number; in set_rpo_number()
410 if (!pred->deferred() && (pred->rpo_number() < block->rpo_number())) { in PropagateDeferredMark()
457 if (block->rpo_number() == -1) { in operator <<()
460 os << "--- BLOCK B" << block->rpo_number(); in operator <<()
468 if (predecessor->rpo_number() == -1) { in operator <<()
471 os << "B" << predecessor->rpo_number(); in operator <<()
497 if (successor->rpo_number() == -1) { in operator <<()
500 os << "B" << successor->rpo_number(); in operator <<()
Dinstruction.cc620 InstructionBlock::InstructionBlock(Zone* zone, RpoNumber rpo_number, in InstructionBlock() argument
626 ao_number_(rpo_number), in InstructionBlock()
627 rpo_number_(rpo_number), in InstructionBlock()
638 size_t InstructionBlock::PredecessorIndexOf(RpoNumber rpo_number) const { in PredecessorIndexOf()
642 if (*i == rpo_number) break; in PredecessorIndexOf()
650 return RpoNumber::FromInt(block->rpo_number()); in GetRpo()
656 return RpoNumber::FromInt(block->loop_end()->rpo_number()); in GetLoopEndRpo()
685 os << "B" << block->rpo_number(); in operator <<()
692 os << " loop blocks: [" << block->rpo_number() << ", " << block->loop_end() in operator <<()
736 size_t rpo_number = 0; in InstructionBlocksFor() local
[all …]
Dscheduler.cc698 if (child->rpo_number() == unvisited) { in Push()
736 CHECK_EQ(kBlockUnvisited1, schedule_->start()->rpo_number()); in ComputeAndInsertSpecialRPO()
759 if (succ->rpo_number() == kBlockVisited1) continue; in ComputeAndInsertSpecialRPO()
760 if (succ->rpo_number() == kBlockOnStack) { in ComputeAndInsertSpecialRPO()
769 DCHECK(succ->rpo_number() == kBlockUnvisited1); in ComputeAndInsertSpecialRPO()
806 if (block->rpo_number() == kBlockOnStack) { in ComputeAndInsertSpecialRPO()
833 if (succ->rpo_number() == kBlockOnStack) continue; in ComputeAndInsertSpecialRPO()
834 if (succ->rpo_number() == kBlockVisited2) continue; in ComputeAndInsertSpecialRPO()
835 DCHECK(succ->rpo_number() == kBlockUnvisited2); in ComputeAndInsertSpecialRPO()
994 os << std::setw(5) << "B" << block->rpo_number() << ":"; in PrintRPO()
[all …]
Dgraph-visualizer.cc272 void PrintBlockProperty(const char* name, int rpo_number);
337 void GraphC1Visualizer::PrintBlockProperty(const char* name, int rpo_number) { in PrintBlockProperty() argument
339 os_ << name << " \"B" << rpo_number << "\"\n"; in PrintBlockProperty()
422 PrintBlockProperty("name", current->rpo_number()); in PrintSchedule()
429 os_ << " \"B" << predecessor->rpo_number() << "\""; in PrintSchedule()
436 os_ << " \"B" << successor->rpo_number() << "\""; in PrintSchedule()
447 PrintBlockProperty("dominator", current->dominator()->rpo_number()); in PrintSchedule()
454 RpoNumber::FromInt(current->rpo_number())); in PrintSchedule()
524 os_ << -1 - current->rpo_number() << " Goto"; in PrintSchedule()
528 os_ << " B" << successor->rpo_number(); in PrintSchedule()
Dregister-allocator-verifier.cc328 RpoNumber current_block_id = block->rpo_number(); in CreateForBlock()
475 RpoNumber old_block = old->origin()->rpo_number(); in ValidateFinalAssessment()
531 ValidateUse(block->rpo_number(), block_assessments, op, in VerifyGapMoves()
556 assessments_[block->rpo_number()] = block_assessments; in VerifyGapMoves()
558 auto todo_iter = outstanding_assessments_.find(block->rpo_number()); in VerifyGapMoves()
568 ValidateFinalAssessment(block->rpo_number(), op, block_assessments, in VerifyGapMoves()
575 ValidatePendingAssessment(block->rpo_number(), op, block_assessments, in VerifyGapMoves()
Dframe-elider.cc156 InstructionBlock* FrameElider::InstructionBlockAt(RpoNumber rpo_number) const { in InstructionBlockAt()
157 return code_->InstructionBlockAt(rpo_number); in InstructionBlockAt()
Dverifier.cc1470 node->id(), node->op()->mnemonic(), block->rpo_number(), j, in CheckInputsDominate()
1483 node->id(), node->op()->mnemonic(), block->rpo_number(), in CheckInputsDominate()
1504 CHECK_GE(predecessor->rpo_number(), 0); in Run()
1508 CHECK_GE(successor->rpo_number(), 0); in Run()
1517 CHECK_EQ(static_cast<int>(b), block->rpo_number()); in Run()
1525 CHECK_LT(dom->rpo_number(), block->rpo_number()); in Run()
1551 CHECK_GE(block->rpo_number(), 0); in Run()
1552 CHECK_EQ(block, rpo_order->at(block->rpo_number())); in Run()
1578 block->rpo_number(), idom->rpo_number()); in Run()
1616 block->rpo_number(), idom->rpo_number()); in Run()
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()
Dframe-elider.h31 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const;
Dschedule.h140 int32_t rpo_number() const { return rpo_number_; } in NON_EXPORTED_BASE()
141 void set_rpo_number(int32_t rpo_number); in NON_EXPORTED_BASE()
Dinstruction.h1347 InstructionBlock(Zone* zone, RpoNumber rpo_number, RpoNumber loop_header, in NON_EXPORTED_BASE()
1374 RpoNumber rpo_number() const { return rpo_number_; } in NON_EXPORTED_BASE()
1386 size_t PredecessorIndexOf(RpoNumber rpo_number) const; in NON_EXPORTED_BASE()
1474 InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) { in NON_EXPORTED_BASE()
1475 return instruction_blocks_->at(rpo_number.ToSize()); in NON_EXPORTED_BASE()
1483 const InstructionBlock* InstructionBlockAt(RpoNumber rpo_number) const { in NON_EXPORTED_BASE()
1484 return instruction_blocks_->at(rpo_number.ToSize()); in NON_EXPORTED_BASE()
Dregister-allocator.cc1847 size_t block_index = block->rpo_number().ToSize(); in ComputeLiveOut()
1860 if (succ <= block->rpo_number()) continue; in ComputeLiveOut()
1867 size_t index = successor->PredecessorIndexOf(block->rpo_number()); in ComputeLiveOut()
2264 DCHECK_EQ(predecessor_block->rpo_number(), predecessor); in ProcessPhis()
2267 if (predecessor >= block->rpo_number()) continue; in ProcessPhis()
2374 for (int i = block->rpo_number().ToInt() + 1; i < block->loop_end().ToInt(); in ProcessLoopHeader()
2532 return block->rpo_number() < next_block->rpo_number(); in NextIntervalStartsInDifferentBlocks()
2663 loop->rpo_number().ToInt() <= start_block->rpo_number().ToInt()) { in FindOptimalSplitPos()
3746 return block->predecessors()[0].IsNext(block->rpo_number()); in CanEagerlyResolveControlFlow()
3756 BitVector* live = live_in_sets[block->rpo_number().ToInt()]; in ResolveControlFlow()
[all …]
Deffect-control-linearizer.cc55 return map_[std::make_pair(from->rpo_number(), to->rpo_number())]; in For()
59 return map_.at(std::make_pair(from->rpo_number(), to->rpo_number())); in For()
126 if (pred->rpo_number() >= block->rpo_number()) { in HasIncomingBackEdges()
Dinstruction-selector-impl.h224 Constant(RpoNumber::FromInt(block->rpo_number()))); in Label()
Dcode-generator.cc130 current_block_ = block->rpo_number(); in GenerateCode()
138 buffer, "-- B%d start%s%s%s%s", block->rpo_number().ToInt(), in GenerateCode()
Dinstruction-selector.cc82 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions()
89 StartBlock(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions()
94 EndBlock(RpoNumber::FromInt(block->rpo_number())); in SelectInstructions()
902 sequence()->InstructionBlockAt(RpoNumber::FromInt(block->rpo_number())); in VisitBlock()
2287 ->InstructionBlockAt(RpoNumber::FromInt(current_block_->rpo_number())) in VisitPhi()
/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()