Lines Matching refs:tii
170 if (!TII->isUnpredicatedTerminator(I))
196 const TargetInstrInfo *tii,
199 if (!tii) return false;
203 TII = tii;
220 if (!TII->AnalyzeBranch(MBB, TBB, FBB, Cond, true))
415 TII->ReplaceTailWithBranchTo(OldInst, NewDest);
429 if (!TII->isLegalToSplitMBBAt(CurMBB, BBI1))
485 const TargetInstrInfo *TII) {
492 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
495 if (!TII->ReverseBranchCondition(Cond)) {
496 TII->RemoveBranch(*CurMBB);
497 TII->InsertBranch(*CurMBB, SuccBB, nullptr, Cond, dl);
502 TII->InsertBranch(*CurMBB, SuccBB, nullptr,
684 FixTail(CurMBB, SuccBB, TII);
1001 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) {
1006 if (TII->ReverseBranchCondition(NewCond))
1042 TII->RemoveBranch(*PBB);
1045 TII->InsertBranch(*PBB, (TBB == IBB) ? FBB : TBB, nullptr,
1067 FixTail(MergePotentials.begin()->getBlock(), IBB, TII);
1250 TII->AnalyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true);
1261 TII->RemoveBranch(PrevBB);
1264 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl);
1309 TII->RemoveBranch(PrevBB);
1319 TII->RemoveBranch(PrevBB);
1320 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl);
1331 if (!TII->ReverseBranchCondition(NewPriorCond)) {
1333 TII->RemoveBranch(PrevBB);
1334 TII->InsertBranch(PrevBB, PriorFBB, nullptr, NewPriorCond, dl);
1366 if (!TII->ReverseBranchCondition(NewPriorCond)) {
1371 TII->RemoveBranch(PrevBB);
1372 TII->InsertBranch(PrevBB, MBB, nullptr, NewPriorCond, dl);
1387 bool CurUnAnalyzable= TII->AnalyzeBranch(*MBB, CurTBB, CurFBB, CurCond, true);
1399 if (!TII->ReverseBranchCondition(NewCond)) {
1401 TII->RemoveBranch(*MBB);
1402 TII->InsertBranch(*MBB, CurFBB, CurTBB, NewCond, dl);
1418 TII->RemoveBranch(*MBB);
1449 TII->RemoveBranch(PrevBB);
1450 TII->InsertBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, pdl);
1471 bool NewCurUnAnalyzable = TII->AnalyzeBranch(*PMBB, NewCurTBB,
1475 TII->RemoveBranch(*PMBB);
1477 TII->InsertBranch(*PMBB, NewCurTBB, nullptr, NewCurCond, pdl);
1497 TII->InsertBranch(*MBB, CurTBB, nullptr, CurCond, dl);
1518 !TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)
1534 TII->InsertBranch(*MBB, NextBB, nullptr, CurCond, DebugLoc());
1576 !TII->AnalyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) &&
1634 const TargetInstrInfo *TII,
1639 if (!TII->isUnpredicatedTerminator(Loc))
1701 if (!PI->isSafeToMove(nullptr, DontMoveAcrossStore) || TII->isPredicated(PI))
1735 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true) || !TBB || Cond.empty())
1753 findHoistingInsertPosAndDeps(MBB, TII, TRI, Uses, Defs);
1781 if (TII->isPredicated(TIB))