Lines Matching refs:BBState
566 class BBState {
595 BBState() : TopDownPathCount(0), BottomUpPathCount(0) { }
654 void InitFromPred(const BBState &Other);
655 void InitFromSucc(const BBState &Other);
656 void MergePred(const BBState &Other);
657 void MergeSucc(const BBState &Other);
690 const unsigned BBState::OverflowOccurredValue = 0xffffffff;
693 void BBState::InitFromPred(const BBState &Other) {
698 void BBState::InitFromSucc(const BBState &Other) {
705 void BBState::MergePred(const BBState &Other) {
749 void BBState::MergeSucc(const BBState &Other) {
1040 for(BBState::ptr_const_iterator I = (_states)._direction##_ptr_begin(), \
1113 DenseMap<const BasicBlock *, BBState> &BBStates,
1114 BBState &MyStates) const;
1118 BBState &MyStates);
1120 DenseMap<const BasicBlock *, BBState> &BBStates,
1124 BBState &MyStates);
1126 DenseMap<const BasicBlock *, BBState> &BBStates,
1129 DenseMap<const BasicBlock *, BBState> &BBStates,
1139 bool ConnectTDBUTraversals(DenseMap<const BasicBlock *, BBState> &BBStates,
1152 bool PerformCodePlacement(DenseMap<const BasicBlock *, BBState> &BBStates,
1629 DenseMap<const BasicBlock *, BBState> &BBStates,
1630 BBState &MyStates) const {
1633 for (BBState::ptr_iterator I = MyStates.top_down_ptr_begin(),
1658 const DenseMap<const BasicBlock *, BBState>::iterator BBI =
1724 BBState &MyStates) {
1822 BBState::ptr_iterator I = MyStates.findPtrBottomUpState(
1835 for (BBState::ptr_iterator MI = MyStates.bottom_up_ptr_begin(),
1917 DenseMap<const BasicBlock *, BBState> &BBStates,
1923 BBState &MyStates = BBStates[BB];
1927 BBState::edge_iterator SI(MyStates.succ_begin()),
1931 DenseMap<const BasicBlock *, BBState>::iterator I = BBStates.find(Succ);
1963 for (BBState::edge_iterator PI(MyStates.pred_begin()),
1980 BBState &MyStates) {
2068 for (BBState::ptr_iterator MI = MyStates.top_down_ptr_begin(),
2129 DenseMap<const BasicBlock *, BBState> &BBStates,
2133 BBState &MyStates = BBStates[BB];
2137 BBState::edge_iterator PI(MyStates.pred_begin()),
2141 DenseMap<const BasicBlock *, BBState>::iterator I = BBStates.find(Pred);
2182 DenseMap<const BasicBlock *, BBState> &BBStates) {
2193 BBState &MyStates = BBStates[EntryBB];
2211 BBState &SuccStates = BBStates[SuccBB];
2232 SmallVector<std::pair<BasicBlock *, BBState::edge_iterator>, 16> PredStack;
2235 BBState &MyStates = BBStates[ExitBB];
2245 BBState::edge_iterator PE = BBStates[PredStack.back().first].pred_end();
2261 DenseMap<const BasicBlock *, BBState> &BBStates,
2361 ObjCARCOpt::ConnectTDBUTraversals(DenseMap<const BasicBlock *, BBState>
2422 const BBState &NRRBBState = BBStates[NewRetainRelease->getParent()];
2423 unsigned PathCount = BBState::OverflowOccurredValue;
2426 assert(PathCount != BBState::OverflowOccurredValue &&
2457 const BBState &RIPBBState = BBStates[RIP->getParent()];
2458 PathCount = BBState::OverflowOccurredValue;
2461 assert(PathCount != BBState::OverflowOccurredValue &&
2505 const BBState &NRRBBState = BBStates[NewReleaseRetain->getParent()];
2506 unsigned PathCount = BBState::OverflowOccurredValue;
2509 assert(PathCount != BBState::OverflowOccurredValue &&
2525 const BBState &RIPBBState = BBStates[RIP->getParent()];
2527 PathCount = BBState::OverflowOccurredValue;
2530 assert(PathCount != BBState::OverflowOccurredValue &&
2598 ObjCARCOpt::PerformCodePlacement(DenseMap<const BasicBlock *, BBState>
2839 DenseMap<const BasicBlock *, BBState> BBStates;