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

References

lib/CodeGen/IfConversion.cpp
  284       return Cycle > 0 && TII->isProfitableToIfCvt(BB, Cycle, Extra,
  310           CommonBytes += TII->getInstSizeInBytes(I);
  314           CommonBytes += TII->getInstSizeInBytes(I);
  324             BranchBytes += TII->predictBranchSizeForIfCvt(I);
  327             CommonBytes += TII->getInstSizeInBytes(I);
  333             BranchBytes += TII->predictBranchSizeForIfCvt(I);
  336             CommonBytes += TII->getInstSizeInBytes(I);
  342             BranchBytes += TII->predictBranchSizeForIfCvt(I);
  372         unsigned ExtraPredicateBytes = TII->extraSizeToPredicateInstructions(
  386                    TII->isProfitableToIfCvt(
  443   TII = ST.getInstrInfo();
  450   if (!TII) return false;
  460         MF, TII, ST.getRegisterInfo(),
  602         MF, TII, MF.getSubtarget().getRegisterInfo(),
  624   if (!TII->reverseBranchCondition(BBI.BrCond)) {
  625     TII->removeBranch(*BBI.BB);
  626     TII->insertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl);
  657         !TII->isProfitableToDupForIfCvt(*TrueBBI.BB, TrueBBI.NonPredSize,
  698     if (!TII->isProfitableToDupForIfCvt(*TrueBBI.BB, Size, Prediction))
  752     if (TII->DefinesPredicate(*TIB, PredDefs))
 1024       !TII->analyzeBranch(*BBI.BB, BBI.TrueBB, BBI.FalseBB, BBI.BrCond);
 1033       !TII->reverseBranchCondition(RevCond);
 1103     bool isPredicated = TII->isPredicated(MI);
 1117       unsigned ExtraPredCost = TII->getPredicationCost(MI);
 1142     if (TII->DefinesPredicate(MI, PredDefs))
 1145     if (!TII->isPredicable(MI)) {
 1180   if (BBI.Predicate.size() && !TII->SubsumesPredicate(Pred, BBI.Predicate))
 1191       if (TII->reverseBranchCondition(Cond))
 1194     if (TII->reverseBranchCondition(RevPred) ||
 1195         !TII->SubsumesPredicate(Cond, RevPred))
 1280     bool CanRevCond = !TII->reverseBranchCondition(RevCond);
 1552     if (TII->reverseBranchCondition(Cond))
 1566   BBI.NonPredSize -= TII->removeBranch(*BBI.BB);
 1586     InsertUncondBranch(*BBI.BB, NextMBB, TII);
 1638     if (TII->reverseBranchCondition(Cond))
 1678   BBI.NonPredSize -= TII->removeBranch(*BBI.BB);
 1686     CvtBBI->NonPredSize -= TII->removeBranch(CvtMBB);
 1700     if (TII->reverseBranchCondition(RevCond))
 1716     TII->insertBranch(*BBI.BB, CvtBBI->FalseBB, nullptr, RevCond, dl);
 1735       InsertUncondBranch(*BBI.BB, NextMBB, TII);
 1791   if (TII->reverseBranchCondition(RevCond))
 1811   BBI.NonPredSize -= TII->removeBranch(*BBI.BB);
 1909     BBI2->NonPredSize -= TII->removeBranch(*BBI2->BB);
 1940   if (TII->isProfitableToUnpredicate(MBB1, MBB2)) {
 1985     bool BB1Predicated = BBI1T != MBB1.end() && TII->isPredicated(*BBI1T);
 1986     bool BB2NonPredicated = BBI2T != MBB2.end() && !TII->isPredicated(*BBI2T);
 2026   TII->insertBranch(*BBI.BB, TrueBBI.TrueBB, TrueBBI.FalseBB,
 2077     if (TI != BBI.BB->end() && TII->isPredicated(*TI))
 2094       InsertUncondBranch(*BBI.BB, *TailBB, TII);
 2135     if (I.isDebugInstr() || TII->isPredicated(I))
 2147     if (!TII->PredicateInstruction(I, Cond)) {
 2189     unsigned ExtraPredCost = TII->getPredicationCost(I);
 2195     if (!TII->isPredicated(I) && !MI->isDebugInstr()) {
 2196       if (!TII->PredicateInstruction(*MI, Cond)) {
 2249   if (FromTI != FromMBB.end() && !TII->isPredicated(*FromTI))