• Home
  • Raw
  • Download

Lines Matching refs:FromBBI

199     void CopyAndPredicateBlock(BBInfo &ToBBI, BBInfo &FromBBI,
203 void MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI, bool AddEdges = true);
1390 void IfConverter::CopyAndPredicateBlock(BBInfo &ToBBI, BBInfo &FromBBI, in CopyAndPredicateBlock() argument
1396 for (MachineBasicBlock::iterator I = FromBBI.BB->begin(), in CopyAndPredicateBlock()
1397 E = FromBBI.BB->end(); I != E; ++I) { in CopyAndPredicateBlock()
1427 std::vector<MachineBasicBlock *> Succs(FromBBI.BB->succ_begin(), in CopyAndPredicateBlock()
1428 FromBBI.BB->succ_end()); in CopyAndPredicateBlock()
1429 MachineBasicBlock *NBB = getNextBlock(FromBBI.BB); in CopyAndPredicateBlock()
1430 MachineBasicBlock *FallThrough = FromBBI.HasFallThrough ? NBB : NULL; in CopyAndPredicateBlock()
1441 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in CopyAndPredicateBlock()
1445 ToBBI.ClobbersPred |= FromBBI.ClobbersPred; in CopyAndPredicateBlock()
1456 void IfConverter::MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI, bool AddEdges) { in MergeBlocks() argument
1458 FromBBI.BB, FromBBI.BB->begin(), FromBBI.BB->end()); in MergeBlocks()
1460 std::vector<MachineBasicBlock *> Succs(FromBBI.BB->succ_begin(), in MergeBlocks()
1461 FromBBI.BB->succ_end()); in MergeBlocks()
1462 MachineBasicBlock *NBB = getNextBlock(FromBBI.BB); in MergeBlocks()
1463 MachineBasicBlock *FallThrough = FromBBI.HasFallThrough ? NBB : NULL; in MergeBlocks()
1470 FromBBI.BB->removeSuccessor(Succ); in MergeBlocks()
1476 if (NBB && !FromBBI.BB->isSuccessor(NBB)) in MergeBlocks()
1477 FromBBI.BB->addSuccessor(NBB); in MergeBlocks()
1479 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in MergeBlocks()
1481 FromBBI.Predicate.clear(); in MergeBlocks()
1483 ToBBI.NonPredSize += FromBBI.NonPredSize; in MergeBlocks()
1484 ToBBI.ExtraCost += FromBBI.ExtraCost; in MergeBlocks()
1485 ToBBI.ExtraCost2 += FromBBI.ExtraCost2; in MergeBlocks()
1486 FromBBI.NonPredSize = 0; in MergeBlocks()
1487 FromBBI.ExtraCost = 0; in MergeBlocks()
1488 FromBBI.ExtraCost2 = 0; in MergeBlocks()
1490 ToBBI.ClobbersPred |= FromBBI.ClobbersPred; in MergeBlocks()
1491 ToBBI.HasFallThrough = FromBBI.HasFallThrough; in MergeBlocks()
1493 FromBBI.IsAnalyzed = false; in MergeBlocks()