Lines Matching refs:BBState
181 class BBState { class
208 BBState() : TopDownPathCount(0), BottomUpPathCount(0) { } in BBState() function in __anon26f503160111::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,
1010 DenseMap<const BasicBlock *, BBState> &BBStates, in CheckForCFGHazards()
1011 BBState &MyStates) const { in CheckForCFGHazards()
1039 const DenseMap<const BasicBlock *, BBState>::iterator BBI = in CheckForCFGHazards()
1103 BBState &MyStates) { in VisitInstructionBottomUp()
1194 DenseMap<const BasicBlock *, BBState> &BBStates, in VisitBottomUp()
1200 BBState &MyStates = BBStates[BB]; in VisitBottomUp()
1204 BBState::edge_iterator SI(MyStates.succ_begin()), in VisitBottomUp()
1208 DenseMap<const BasicBlock *, BBState>::iterator I = BBStates.find(Succ); in VisitBottomUp()
1239 for (BBState::edge_iterator PI(MyStates.pred_begin()), in VisitBottomUp()
1254 BBState &MyStates) { in VisitInstructionTopDown()
1323 DenseMap<const BasicBlock *, BBState> &BBStates, in VisitTopDown()
1327 BBState &MyStates = BBStates[BB]; in VisitTopDown()
1331 BBState::edge_iterator PI(MyStates.pred_begin()), in VisitTopDown()
1335 DenseMap<const BasicBlock *, BBState>::iterator I = BBStates.find(Pred); in VisitTopDown()
1369 DenseMap<const BasicBlock *, BBState> &BBStates) { in ComputePostOrders()
1380 BBState &MyStates = BBStates[EntryBB]; in ComputePostOrders()
1398 BBState &SuccStates = BBStates[SuccBB]; in ComputePostOrders()
1419 SmallVector<std::pair<BasicBlock *, BBState::edge_iterator>, 16> PredStack; in ComputePostOrders()
1421 BBState &MyStates = BBStates[&ExitBB]; in ComputePostOrders()
1431 BBState::edge_iterator PE = BBStates[PredStack.back().first].pred_end(); in ComputePostOrders()
1446 DenseMap<const BasicBlock *, BBState> &BBStates, in Visit()
1529 DenseMap<const BasicBlock *, BBState> &BBStates, in PairUpRetainsAndReleases()
1579 const BBState &NRRBBState = BBStates[NewRetainRelease->getParent()]; in PairUpRetainsAndReleases()
1580 unsigned PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1583 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1610 const BBState &RIPBBState = BBStates[RIP->getParent()]; in PairUpRetainsAndReleases()
1611 PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1614 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1651 const BBState &NRRBBState = BBStates[NewReleaseRetain->getParent()]; in PairUpRetainsAndReleases()
1652 unsigned PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1655 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1667 const BBState &RIPBBState = BBStates[RIP->getParent()]; in PairUpRetainsAndReleases()
1669 PathCount = BBState::OverflowOccurredValue; in PairUpRetainsAndReleases()
1672 assert(PathCount != BBState::OverflowOccurredValue && in PairUpRetainsAndReleases()
1731 DenseMap<const BasicBlock *, BBState> &BBStates, in PerformCodePlacement()
1969 DenseMap<const BasicBlock *, BBState> BBStates; in OptimizeSequences()