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,
1009 DenseMap<const BasicBlock *, BBState> &BBStates, in CheckForCFGHazards()
1010 BBState &MyStates) const { in CheckForCFGHazards()
1038 const DenseMap<const BasicBlock *, BBState>::iterator BBI = in CheckForCFGHazards()
1102 BBState &MyStates) { in VisitInstructionBottomUp()
1193 DenseMap<const BasicBlock *, BBState> &BBStates, in VisitBottomUp()
1199 BBState &MyStates = BBStates[BB]; in VisitBottomUp()
1203 BBState::edge_iterator SI(MyStates.succ_begin()), in VisitBottomUp()
1207 DenseMap<const BasicBlock *, BBState>::iterator I = BBStates.find(Succ); in VisitBottomUp()
1238 for (BBState::edge_iterator PI(MyStates.pred_begin()), in VisitBottomUp()
1253 BBState &MyStates) { in VisitInstructionTopDown()
1322 DenseMap<const BasicBlock *, BBState> &BBStates, in VisitTopDown()
1326 BBState &MyStates = BBStates[BB]; in VisitTopDown()
1330 BBState::edge_iterator PI(MyStates.pred_begin()), in VisitTopDown()
1334 DenseMap<const BasicBlock *, BBState>::iterator I = BBStates.find(Pred); in VisitTopDown()
1368 DenseMap<const BasicBlock *, BBState> &BBStates) { in ComputePostOrders()
1379 BBState &MyStates = BBStates[EntryBB]; in ComputePostOrders()
1397 BBState &SuccStates = BBStates[SuccBB]; in ComputePostOrders()
1418 SmallVector<std::pair<BasicBlock *, BBState::edge_iterator>, 16> PredStack; in ComputePostOrders()
1420 BBState &MyStates = BBStates[&ExitBB]; in ComputePostOrders()
1430 BBState::edge_iterator PE = BBStates[PredStack.back().first].pred_end(); in ComputePostOrders()
1445 DenseMap<const BasicBlock *, BBState> &BBStates, in Visit()
1532 DenseMap<const BasicBlock *, BBState> &BBStates, in PairUpRetainsAndReleases()
1584 const BBState &NRRBBState = BBStates[NewRetainRelease->getParent()]; in PairUpRetainsAndReleases()
1585 unsigned PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1588 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1615 const BBState &RIPBBState = BBStates[RIP->getParent()]; in PairUpRetainsAndReleases()
1616 PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1619 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1658 const BBState &NRRBBState = BBStates[NewReleaseRetain->getParent()]; in PairUpRetainsAndReleases()
1659 unsigned PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1662 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1674 const BBState &RIPBBState = BBStates[RIP->getParent()]; in PairUpRetainsAndReleases()
1676 PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1679 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1738 DenseMap<const BasicBlock *, BBState> &BBStates, in PerformCodePlacement()
1976 DenseMap<const BasicBlock *, BBState> BBStates; in OptimizeSequences()