Lines Matching refs:BBState
181 class BBState { class
208 BBState() : TopDownPathCount(0), BottomUpPathCount(0) { } in BBState() function in __anon85f4194d0111::BBState
279 void InitFromPred(const BBState &Other);
280 void InitFromSucc(const BBState &Other);
281 void MergePred(const BBState &Other);
282 void MergeSucc(const BBState &Other);
315 const unsigned BBState::OverflowOccurredValue = 0xffffffff;
320 BBState &BBState) LLVM_ATTRIBUTE_UNUSED;
323 void BBState::InitFromPred(const BBState &Other) { in InitFromPred()
328 void BBState::InitFromSucc(const BBState &Other) { in InitFromSucc()
335 void BBState::MergePred(const BBState &Other) { in MergePred()
378 void BBState::MergeSucc(const BBState &Other) { in MergeSucc()
420 raw_ostream &llvm::operator<<(raw_ostream &OS, BBState &BBInfo) { in operator <<()
495 DenseMap<const BasicBlock *, BBState> &BBStates,
496 BBState &MyStates) const;
499 BBState &MyStates);
501 DenseMap<const BasicBlock *, BBState> &BBStates,
505 BBState &MyStates);
507 DenseMap<const BasicBlock *, BBState> &BBStates,
509 bool Visit(Function &F, DenseMap<const BasicBlock *, BBState> &BBStates,
519 PairUpRetainsAndReleases(DenseMap<const BasicBlock *, BBState> &BBStates,
529 bool PerformCodePlacement(DenseMap<const BasicBlock *, BBState> &BBStates,
1004 DenseMap<const BasicBlock *, BBState> &BBStates, in CheckForCFGHazards()
1005 BBState &MyStates) const { in CheckForCFGHazards()
1033 const DenseMap<const BasicBlock *, BBState>::iterator BBI = in CheckForCFGHazards()
1097 BBState &MyStates) { in VisitInstructionBottomUp()
1188 DenseMap<const BasicBlock *, BBState> &BBStates, in VisitBottomUp()
1194 BBState &MyStates = BBStates[BB]; in VisitBottomUp()
1198 BBState::edge_iterator SI(MyStates.succ_begin()), in VisitBottomUp()
1202 DenseMap<const BasicBlock *, BBState>::iterator I = BBStates.find(Succ); in VisitBottomUp()
1233 for (BBState::edge_iterator PI(MyStates.pred_begin()), in VisitBottomUp()
1248 BBState &MyStates) { in VisitInstructionTopDown()
1317 DenseMap<const BasicBlock *, BBState> &BBStates, in VisitTopDown()
1321 BBState &MyStates = BBStates[BB]; in VisitTopDown()
1325 BBState::edge_iterator PI(MyStates.pred_begin()), in VisitTopDown()
1329 DenseMap<const BasicBlock *, BBState>::iterator I = BBStates.find(Pred); in VisitTopDown()
1365 DenseMap<const BasicBlock *, BBState> &BBStates) { in ComputePostOrders()
1376 BBState &MyStates = BBStates[EntryBB]; in ComputePostOrders()
1394 BBState &SuccStates = BBStates[SuccBB]; in ComputePostOrders()
1415 SmallVector<std::pair<BasicBlock *, BBState::edge_iterator>, 16> PredStack; in ComputePostOrders()
1418 BBState &MyStates = BBStates[ExitBB]; in ComputePostOrders()
1428 BBState::edge_iterator PE = BBStates[PredStack.back().first].pred_end(); in ComputePostOrders()
1443 DenseMap<const BasicBlock *, BBState> &BBStates, in Visit()
1530 DenseMap<const BasicBlock *, BBState> &BBStates, in PairUpRetainsAndReleases()
1582 const BBState &NRRBBState = BBStates[NewRetainRelease->getParent()]; in PairUpRetainsAndReleases()
1583 unsigned PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1586 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1613 const BBState &RIPBBState = BBStates[RIP->getParent()]; in PairUpRetainsAndReleases()
1614 PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1617 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1656 const BBState &NRRBBState = BBStates[NewReleaseRetain->getParent()]; in PairUpRetainsAndReleases()
1657 unsigned PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1660 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1672 const BBState &RIPBBState = BBStates[RIP->getParent()]; in PairUpRetainsAndReleases()
1674 PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1677 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1736 DenseMap<const BasicBlock *, BBState> &BBStates, in PerformCodePlacement()
1974 DenseMap<const BasicBlock *, BBState> BBStates; in OptimizeSequences()