Lines Matching refs:ToBBI
213 void CopyAndPredicateBlock(BBInfo &ToBBI, BBInfo &FromBBI,
216 void MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI, bool AddEdges = true);
1576 void IfConverter::CopyAndPredicateBlock(BBInfo &ToBBI, BBInfo &FromBBI, in CopyAndPredicateBlock() argument
1579 MachineFunction &MF = *ToBBI.BB->getParent(); in CopyAndPredicateBlock()
1588 ToBBI.BB->insert(ToBBI.BB->end(), MI); in CopyAndPredicateBlock()
1589 ToBBI.NonPredSize++; in CopyAndPredicateBlock()
1593 ToBBI.ExtraCost += NumCycles-1; in CopyAndPredicateBlock()
1594 ToBBI.ExtraCost2 += ExtraPredCost; in CopyAndPredicateBlock()
1625 ToBBI.BB->addSuccessor(Succ); in CopyAndPredicateBlock()
1629 ToBBI.Predicate.append(FromBBI.Predicate.begin(), FromBBI.Predicate.end()); in CopyAndPredicateBlock()
1630 ToBBI.Predicate.append(Cond.begin(), Cond.end()); in CopyAndPredicateBlock()
1632 ToBBI.ClobbersPred |= FromBBI.ClobbersPred; in CopyAndPredicateBlock()
1633 ToBBI.IsAnalyzed = false; in CopyAndPredicateBlock()
1643 void IfConverter::MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI, bool AddEdges) { in MergeBlocks() argument
1647 ToBBI.BB->splice(ToBBI.BB->end(), in MergeBlocks()
1661 if (AddEdges && !ToBBI.BB->isSuccessor(Succ)) in MergeBlocks()
1662 ToBBI.BB->addSuccessor(Succ); in MergeBlocks()
1669 ToBBI.Predicate.append(FromBBI.Predicate.begin(), FromBBI.Predicate.end()); in MergeBlocks()
1672 ToBBI.NonPredSize += FromBBI.NonPredSize; in MergeBlocks()
1673 ToBBI.ExtraCost += FromBBI.ExtraCost; in MergeBlocks()
1674 ToBBI.ExtraCost2 += FromBBI.ExtraCost2; in MergeBlocks()
1679 ToBBI.ClobbersPred |= FromBBI.ClobbersPred; in MergeBlocks()
1680 ToBBI.HasFallThrough = FromBBI.HasFallThrough; in MergeBlocks()
1681 ToBBI.IsAnalyzed = false; in MergeBlocks()