Lines Matching refs:BBS

505                                   const BasicBlockState *BBS,
519 static void transferBlock(const BasicBlock *BB, BasicBlockState &BBS,
550 BasicBlockState *BBS = new (BSAllocator.Allocate()) BasicBlockState; in GCPtrTracker() local
552 transferInstruction(I, BBS->Cleared, BBS->Contribution); in GCPtrTracker()
553 BlockMap[&BB] = BBS; in GCPtrTracker()
590 BasicBlockState *BBS = Tracker.getBasicBlockState(BB); in verifyFunction() local
591 if (!BBS) in verifyFunction()
596 AvailableValueSet &AvailableSet = BBS->AvailableIn; in verifyFunction()
623 BasicBlockState *BBS = getBasicBlockState(BB); in recalculateBBsStates() local
624 if (!BBS) in recalculateBBsStates()
627 size_t OldInCount = BBS->AvailableIn.size(); in recalculateBBsStates()
632 set_intersect(BBS->AvailableIn, PBBS->AvailableOut); in recalculateBBsStates()
635 assert(OldInCount >= BBS->AvailableIn.size() && "invariant!"); in recalculateBBsStates()
637 bool InputsChanged = OldInCount != BBS->AvailableIn.size(); in recalculateBBsStates()
639 removeValidUnrelocatedDefs(BB, BBS, BBS->Contribution); in recalculateBBsStates()
643 size_t OldOutCount = BBS->AvailableOut.size(); in recalculateBBsStates()
644 transferBlock(BB, *BBS, ContributionChanged); in recalculateBBsStates()
645 if (OldOutCount != BBS->AvailableOut.size()) { in recalculateBBsStates()
646 assert(OldOutCount > BBS->AvailableOut.size() && "invariant!"); in recalculateBBsStates()
653 const BasicBlockState *BBS, in removeValidUnrelocatedDefs() argument
655 assert(&BBS->Contribution == &Contribution && in removeValidUnrelocatedDefs()
657 AvailableValueSet AvailableSet = BBS->AvailableIn; in removeValidUnrelocatedDefs()
748 auto BBS = getBasicBlockState(DTN->getBlock()); in gatherDominatingDefs() local
749 assert(BBS && "immediate dominator cannot be dead for a live block"); in gatherDominatingDefs()
750 const auto &Defs = BBS->Contribution; in gatherDominatingDefs()
756 if (BBS->Cleared) in gatherDominatingDefs()
765 void GCPtrTracker::transferBlock(const BasicBlock *BB, BasicBlockState &BBS, in transferBlock() argument
767 const AvailableValueSet &AvailableIn = BBS.AvailableIn; in transferBlock()
768 AvailableValueSet &AvailableOut = BBS.AvailableOut; in transferBlock()
770 if (BBS.Cleared) { in transferBlock()
773 AvailableOut = BBS.Contribution; in transferBlock()
777 AvailableValueSet Temp = BBS.Contribution; in transferBlock()