Lines Matching refs:CvtBBI
1021 BBInfo *CvtBBI = &TrueBBI; in IfConvertSimple() local
1026 std::swap(CvtBBI, NextBBI); in IfConvertSimple()
1028 if (CvtBBI->IsDone || in IfConvertSimple()
1029 (CvtBBI->CannotBeCopied && CvtBBI->BB->pred_size() > 1)) { in IfConvertSimple()
1032 CvtBBI->IsAnalyzed = false; in IfConvertSimple()
1043 InitPredRedefs(CvtBBI->BB, Redefs, TRI); in IfConvertSimple()
1046 if (CvtBBI->BB->pred_size() > 1) { in IfConvertSimple()
1050 CopyAndPredicateBlock(BBI, *CvtBBI, Cond, Redefs); in IfConvertSimple()
1052 PredicateBlock(*CvtBBI, CvtBBI->BB->end(), Cond, Redefs); in IfConvertSimple()
1056 MergeBlocks(BBI, *CvtBBI); in IfConvertSimple()
1082 CvtBBI->IsDone = true; in IfConvertSimple()
1093 BBInfo *CvtBBI = &TrueBBI; in IfConvertTriangle() local
1099 std::swap(CvtBBI, NextBBI); in IfConvertTriangle()
1101 if (CvtBBI->IsDone || in IfConvertTriangle()
1102 (CvtBBI->CannotBeCopied && CvtBBI->BB->pred_size() > 1)) { in IfConvertTriangle()
1105 CvtBBI->IsAnalyzed = false; in IfConvertTriangle()
1114 if (ReverseBranchCondition(*CvtBBI)) { in IfConvertTriangle()
1117 for (MachineBasicBlock::pred_iterator PI = CvtBBI->BB->pred_begin(), in IfConvertTriangle()
1118 E = CvtBBI->BB->pred_end(); PI != E; ++PI) { in IfConvertTriangle()
1134 InitPredRedefs(CvtBBI->BB, Redefs, TRI); in IfConvertTriangle()
1137 bool HasEarlyExit = CvtBBI->FalseBB != NULL; in IfConvertTriangle()
1138 if (CvtBBI->BB->pred_size() > 1) { in IfConvertTriangle()
1142 CopyAndPredicateBlock(BBI, *CvtBBI, Cond, Redefs, true); in IfConvertTriangle()
1145 CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB); in IfConvertTriangle()
1146 PredicateBlock(*CvtBBI, CvtBBI->BB->end(), Cond, Redefs); in IfConvertTriangle()
1150 MergeBlocks(BBI, *CvtBBI, false); in IfConvertTriangle()
1155 SmallVector<MachineOperand, 4> RevCond(CvtBBI->BrCond.begin(), in IfConvertTriangle()
1156 CvtBBI->BrCond.end()); in IfConvertTriangle()
1159 TII->InsertBranch(*BBI.BB, CvtBBI->FalseBB, NULL, RevCond, dl); in IfConvertTriangle()
1160 BBI.BB->addSuccessor(CvtBBI->FalseBB); in IfConvertTriangle()
1191 CvtBBI->IsDone = true; in IfConvertTriangle()