Lines Matching refs:BlockToChain
138 BlockToChainMapType &BlockToChain; member in __anond3af580f0211::BlockChain
146 BlockChain(BlockToChainMapType &BlockToChain, MachineBasicBlock *BB) in BlockChain() argument
147 : Blocks(1, BB), BlockToChain(BlockToChain), LoopPredecessors(0) { in BlockChain()
149 BlockToChain[BB] = this; in BlockChain()
173 assert(!BlockToChain[BB]); in merge()
175 BlockToChain[BB] = this; in merge()
186 assert(BlockToChain[ChainBB] == Chain && "Incoming blocks not in chain"); in merge()
187 BlockToChain[ChainBB] = this; in merge()
249 DenseMap<MachineBasicBlock *, BlockChain *> BlockToChain; member in __anond3af580f0311::MachineBlockPlacement
354 BlockChain &SuccChain = *BlockToChain[Succ]; in markChainSuccessors()
408 BlockChain *SuccChain = BlockToChain[Succ]; in selectBestSuccessor()
443 BlockToChain[Pred] == &Chain) in selectBestSuccessor()
460 BlockChain &SuccChain = *BlockToChain[Succ]; in selectBestSuccessor()
476 BlockToChain[Pred] == &Chain) in selectBestSuccessor()
523 return BlockToChain.lookup(BB) == &Chain; in selectBestCandidateBlock()
530 BlockChain &SuccChain = *BlockToChain[MBB]; in selectBestCandidateBlock()
563 if (BlockToChain[&*I] != &PlacedChain) { in getFirstUnplacedBlock()
568 return *BlockToChain[&*I]->begin(); in getFirstUnplacedBlock()
579 assert(BlockToChain[BB] == &Chain); in buildChain()
588 assert(BlockToChain[BB] == &Chain); in buildChain()
612 BlockChain &SuccChain = *BlockToChain[BestSucc]; in buildChain()
643 BlockChain &HeaderChain = *BlockToChain[L.getHeader()]; in findBestLoopTop()
700 BlockChain &HeaderChain = *BlockToChain[L.getHeader()]; in findBestLoopExit()
715 BlockChain &Chain = *BlockToChain[MBB]; in findBestLoopExit()
733 BlockChain &SuccChain = *BlockToChain[Succ]; in findBestLoopExit()
812 BlockChain *PredChain = BlockToChain[Pred]; in rotateLoop()
826 BlockChain *SuccChain = BlockToChain[Succ]; in rotateLoop()
878 BlockChain *PredChain = BlockToChain[Pred]; in rotateLoopWithProfile()
900 BlockChain *SuccChain = BlockToChain[Succ]; in rotateLoopWithProfile()
1060 BlockChain &LoopChain = *BlockToChain[LoopTop]; in buildLoopChains()
1070 BlockChain &Chain = *BlockToChain[LoopBB]; in buildLoopChains()
1076 assert(BlockToChain[ChainBB] == &Chain); in buildLoopChains()
1078 if (BlockToChain[Pred] == &Chain || !LoopBlockSet.count(Pred)) in buildLoopChains()
1136 new (ChainAllocator.Allocate()) BlockChain(BlockToChain, BB); in buildCFGChains()
1188 BlockChain &Chain = *BlockToChain[&MBB]; in buildCFGChains()
1194 assert(BlockToChain[ChainBB] == &Chain); in buildCFGChains()
1196 if (BlockToChain[Pred] == &Chain) in buildCFGChains()
1206 BlockChain &FunctionChain = *BlockToChain[&F.front()]; in buildCFGChains()
1387 assert(BlockToChain.empty()); in runOnMachineFunction()
1391 BlockToChain.clear(); in runOnMachineFunction()