Searched refs:getBlockID (Results 1 – 15 of 15) sorted by relevance
28 const unsigned DstBlockID = Dst->getBlockID(); in isReachable()37 return reachable[DstBlockID][Src->getBlockID()]; in isReachable()46 ReachableSet &DstReachability = reachable[Dst->getBlockID()]; in mapReachability()58 if (visited[block->getBlockID()]) in mapReachability()60 visited[block->getBlockID()] = true; in mapReachability()65 DstReachability[block->getBlockID()] = true; in mapReachability()
58 unsigned blockID = block->getBlockID(); in enqueue()71 unsigned blockID = PredBlock->getBlockID(); in isDeadCodeRoot()130 if (Reachable[Block->getBlockID()]) in scanBackwards()171 if (Reachable[block->getBlockID()]) in scanBackwards()266 if (!Reachable[Start->getBlockID()]) { in ScanReachableFromBlock()268 Reachable[Start->getBlockID()] = true; in ScanReachableFromBlock()281 unsigned blockID = B->getBlockID(); in ScanReachableFromBlock()320 if (reachable[block->getBlockID()]) in FindUnreachableCode()
115 return *vals[block->getBlockID()]; in getValueVector()162 llvm::errs() << block->getBlockID() << " :"; in printVector()225 if (!Successor || enqueuedBlocks[Successor->getBlockID()]) in enqueueSuccessors()228 enqueuedBlocks[Successor->getBlockID()] = true; in enqueueSuccessors()244 enqueuedBlocks[b->getBlockID()] = false; in dequeue()501 SuccsVisited[block->getBlockID()] = block->succ_size(); in getUninitUse()512 unsigned &SV = SuccsVisited[Pred->getBlockID()]; in getUninitUse()534 unsigned BlockID = Block->getBlockID(); in getUninitUse()544 if (Succ && SuccsVisited[Succ->getBlockID()] >= Succ->succ_size() && in getUninitUse()689 wasAnalyzed[block->getBlockID()] = true; in runOnBlock()[all …]
41 if (block && !enqueuedBlocks[block->getBlockID()]) { in enqueueBlock()42 enqueuedBlocks[block->getBlockID()] = true; in enqueueBlock()82 enqueuedBlocks[b->getBlockID()] = false; in dequeue()556 if (!everAnalyzedBlock[block->getBlockID()]) in computeLiveness()557 everAnalyzedBlock[block->getBlockID()] = true; in computeLiveness()574 return A->getBlockID() < B->getBlockID(); in compare_entries()600 llvm::errs() << "\n[ B" << (*it)->getBlockID() in dumpBlockLiveness()
1271 int CurrBlockID = CurrBlock->getBlockID(); in traverseCFG()1287 int PrevBlockID = (*PI)->getBlockID(); in traverseCFG()1335 Context LoopBegin = BlockInfo[FirstLoopBlock->getBlockID()].EntryContext; in traverseCFG()1342 unsigned exitID = CFGraph->getExit().getBlockID(); in traverseCFG()1354 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlock->getBlockID()]; in findBlockLocations()1387 BlockInfo[(*CurrBlock->pred_begin())->getBlockID()].ExitLoc; in findBlockLocations()1640 const CFGBlockInfo *PredBlockInfo = &BlockInfo[PredBlock->getBlockID()]; in getEdgeLockset()2181 FactSet &InitialLockset = BlockInfo[FirstBlock->getBlockID()].EntrySet; in runAnalysis()2229 int CurrBlockID = CurrBlock->getBlockID(); in runAnalysis()2272 int PrevBlockID = (*PI)->getBlockID(); in runAnalysis()[all …]
3499 std::pair<unsigned, unsigned> P((*I)->getBlockID(), j); in StmtPrinterHelper()3787 Helper->setBlockID(B.getBlockID()); in print_block()3793 OS << "\n [B" << B.getBlockID(); in print_block()3898 OS << " B" << (*I)->getBlockID(); in print_block()3928 OS << " B" << (*I)->getBlockID(); in print_block()
81 reachable.insert(CB->getBlockID()); in checkEndAnalysis()100 if (reachable.count(CB->getBlockID())) in checkEndAnalysis()108 if (!visited.count(CB->getBlockID())) in checkEndAnalysis()112 if (reachable.count(CB->getBlockID())) in checkEndAnalysis()174 visited.insert(CB->getBlockID()); in FindUnreachableEntryPoints()178 if (!reachable.count((*I)->getBlockID())) { in FindUnreachableEntryPoints()181 reachable.insert(CB->getBlockID()); in FindUnreachableEntryPoints()182 if (!visited.count((*I)->getBlockID())) in FindUnreachableEntryPoints()
79 return reachable[block->getBlockID()]; in isReachable()94 llvm::BitVector::reference isReachable = reachable[block->getBlockID()]; in computeReachableBlocks()
93 llvm::errs() << "(" << (*I)->getBlockID() in dump()95 << DT->getNode(*I)->getIDom()->getBlock()->getBlockID() in dump()97 else llvm::errs() << "(" << (*I)->getBlockID() in dump()98 << "," << (*I)->getBlockID() << ")\n"; in dump()161 OS << "BB#" << BB->getBlockID(); in WriteAsOperand()
57 if (VisitedBlockIDs.test(Block->getBlockID())) in insert()59 VisitedBlockIDs.set(Block->getBlockID()); in insert()67 return VisitedBlockIDs.test(Block->getBlockID()); in alreadySet()
179 FunctionSummaries->markVisitedBasicBlock(Entry->getBlockID(), in ExecuteWorkList()290 FunctionSummaries->markVisitedBasicBlock(Blk->getBlockID(), in HandleBlockEdge()327 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance()
1876 << cast<BlockEntrance>(Loc).getBlock()->getBlockID(); in getNodeLabel()1977 Out << "Edge: (B" << E.getSrc()->getBlockID() << ", B" in getNodeLabel()1978 << E.getDst()->getBlockID() << ')'; in getNodeLabel()
197 Block->getBlockID()); in blockCount()
113 if (!live[b.getBlockID()]) { in CheckFallThrough()140 if (!live[B.getBlockID()]) in CheckFallThrough()
495 unsigned getBlockID() const { return BlockID; } in getBlockID() function