Lines Matching refs:tii
148 if (!TII->isUnpredicatedTerminator(I))
175 const TargetInstrInfo *tii,
178 if (!tii) return false;
182 TII = tii;
199 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true))
397 TII->ReplaceTailWithBranchTo(OldInst, NewDest);
411 if (!TII->isLegalToSplitMBBAt(CurMBB, BBI1))
459 const TargetInstrInfo *TII) {
466 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
469 if (!TII->ReverseBranchCondition(Cond)) {
470 TII->RemoveBranch(*CurMBB);
471 TII->InsertBranch(*CurMBB, SuccBB, NULL, Cond, dl);
476 TII->InsertBranch(*CurMBB, SuccBB, NULL,
639 FixTail(CurMBB, SuccBB, TII);
895 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) {
900 if (TII->ReverseBranchCondition(NewCond))
933 TII->RemoveBranch(*PBB);
936 TII->InsertBranch(*PBB, (TBB == IBB) ? FBB : TBB, 0, NewCond, dl);
957 FixTail(MergePotentials.begin()->getBlock(), IBB, TII);
1099 TII->AnalyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true);
1110 TII->RemoveBranch(PrevBB);
1113 TII->InsertBranch(PrevBB, PriorTBB, 0, PriorCond, dl);
1158 TII->RemoveBranch(PrevBB);
1168 TII->RemoveBranch(PrevBB);
1169 TII->InsertBranch(PrevBB, PriorTBB, 0, PriorCond, dl);
1180 if (!TII->ReverseBranchCondition(NewPriorCond)) {
1182 TII->RemoveBranch(PrevBB);
1183 TII->InsertBranch(PrevBB, PriorFBB, 0, NewPriorCond, dl);
1215 if (!TII->ReverseBranchCondition(NewPriorCond)) {
1220 TII->RemoveBranch(PrevBB);
1221 TII->InsertBranch(PrevBB, MBB, 0, NewPriorCond, dl);
1236 bool CurUnAnalyzable= TII->AnalyzeBranch(*MBB, CurTBB, CurFBB, CurCond, true);
1248 if (!TII->ReverseBranchCondition(NewCond)) {
1250 TII->RemoveBranch(*MBB);
1251 TII->InsertBranch(*MBB, CurFBB, CurTBB, NewCond, dl);
1267 TII->RemoveBranch(*MBB);
1307 TII->RemoveBranch(PrevBB);
1308 TII->InsertBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, pdl);
1329 bool NewCurUnAnalyzable = TII->AnalyzeBranch(*PMBB, NewCurTBB,
1333 TII->RemoveBranch(*PMBB);
1335 TII->InsertBranch(*PMBB, NewCurTBB, 0, NewCurCond, pdl);
1355 TII->InsertBranch(*MBB, CurTBB, 0, CurCond, dl);
1379 !TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)
1395 TII->InsertBranch(*MBB, NextBB, 0, CurCond, DebugLoc());
1431 !TII->AnalyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) &&
1481 const TargetInstrInfo *TII,
1486 if (!TII->isUnpredicatedTerminator(Loc))
1543 if (!PI->isSafeToMove(TII, 0, DontMoveAcrossStore) ||
1544 TII->isPredicated(PI))
1579 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true) || !TBB || Cond.empty())
1597 findHoistingInsertPosAndDeps(MBB, TII, TRI, Uses, Defs);
1625 if (TII->isPredicated(TIB))
1682 if (!TIB->isSafeToMove(TII, 0, DontMoveAcrossStore))