reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/BranchFolding.cpp
  188   TII = tii;
  203     if (!TII->analyzeBranch(MBB, TBB, FBB, Cond, true))
  442       BuildMI(OldMBB, OldInst, DL, TII->get(TargetOpcode::IMPLICIT_DEF), Reg);
  446   TII->ReplaceTailWithBranchTo(OldInst, &NewDest);
  453   if (!TII->isLegalToSplitMBBAt(CurMBB, BBI1))
  780       FixTail(CurMBB, SuccBB, TII);
  941         BuildMI(*Pred, InsertBefore, DL, TII->get(TargetOpcode::IMPLICIT_DEF),
 1174       if (!TII->analyzeBranch(*PBB, TBB, FBB, Cond, true)) {
 1179           if (TII->reverseBranchCondition(NewCond))
 1192           TII->removeBranch(*PBB);
 1195             TII->insertBranch(*PBB, (TBB == IBB) ? FBB : TBB, nullptr,
 1217       FixTail(MergePotentials.begin()->getBlock(), IBB, TII);
 1414     salvageDebugInfoFromEmptyBlock(TII, *MBB);
 1448       TII->analyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true);
 1459       TII->removeBranch(PrevBB);
 1462         TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl);
 1507       TII->removeBranch(PrevBB);
 1517       TII->removeBranch(PrevBB);
 1518       TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl);
 1529       if (!TII->reverseBranchCondition(NewPriorCond)) {
 1531         TII->removeBranch(PrevBB);
 1532         TII->insertBranch(PrevBB, PriorFBB, nullptr, NewPriorCond, dl);
 1564         if (!TII->reverseBranchCondition(NewPriorCond)) {
 1569           TII->removeBranch(PrevBB);
 1570           TII->insertBranch(PrevBB, MBB, nullptr, NewPriorCond, dl);
 1588     if (TII->isUnconditionalTailCall(TailCall)) {
 1593           !TII->analyzeBranch(*Pred, PredTBB, PredFBB, PredCond, true);
 1600         if (TII->canMakeTailCallConditional(PredCond, TailCall)) {
 1604           TII->replaceBranchWithTailCall(*Pred, PredCond, TailCall);
 1623       TII->analyzeBranch(*MBB, CurTBB, CurFBB, CurCond, true);
 1635       if (!TII->reverseBranchCondition(NewCond)) {
 1637         TII->removeBranch(*MBB);
 1638         TII->insertBranch(*MBB, CurFBB, CurTBB, NewCond, dl);
 1654       TII->removeBranch(*MBB);
 1685             TII->removeBranch(PrevBB);
 1686             TII->insertBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, pdl);
 1707               bool NewCurUnAnalyzable = TII->analyzeBranch(
 1711                 TII->removeBranch(*PMBB);
 1713                 TII->insertBranch(*PMBB, NewCurTBB, nullptr, NewCurCond, pdl);
 1733       TII->insertBranch(*MBB, CurTBB, nullptr, CurCond, dl);
 1753             !TII->analyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true) &&
 1769             TII->insertBranch(*MBB, NextBB, nullptr, CurCond, DebugLoc());
 1815           !TII->analyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) &&
 1970   if (TII->analyzeBranch(*MBB, TBB, FBB, Cond, true) || !TBB || Cond.empty())
 1988     findHoistingInsertPosAndDeps(MBB, TII, TRI, Uses, Defs);
 2008     if (TII->isPredicated(*TIB))