Lines Matching refs:Dups
176 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups,
179 bool FalseBranch, unsigned &Dups,
453 bool IfConverter::ValidSimple(BBInfo &TrueBBI, unsigned &Dups, in ValidSimple() argument
455 Dups = 0; in ValidSimple()
467 Dups = TrueBBI.NonPredSize; in ValidSimple()
480 bool FalseBranch, unsigned &Dups, in ValidTriangle() argument
482 Dups = 0; in ValidTriangle()
505 Dups = Size; in ValidTriangle()
788 unsigned Dups = 0; in AnalyzeBlock() local
796 if (CanRevCond && ValidDiamond(TrueBBI, FalseBBI, Dups, Dups2) && in AnalyzeBlock()
797 MeetIfcvtSizeLimit(*TrueBBI.BB, (TrueBBI.NonPredSize - (Dups + Dups2) + in AnalyzeBlock()
799 *FalseBBI.BB, (FalseBBI.NonPredSize - (Dups + Dups2) + in AnalyzeBlock()
812 Tokens.push_back(new IfcvtToken(BBI, ICDiamond, TNeedSub|FNeedSub, Dups, in AnalyzeBlock()
817 if (ValidTriangle(TrueBBI, FalseBBI, false, Dups, Prediction) && in AnalyzeBlock()
828 Tokens.push_back(new IfcvtToken(BBI, ICTriangle, TNeedSub, Dups)); in AnalyzeBlock()
832 if (ValidTriangle(TrueBBI, FalseBBI, true, Dups, Prediction) && in AnalyzeBlock()
836 Tokens.push_back(new IfcvtToken(BBI, ICTriangleRev, TNeedSub, Dups)); in AnalyzeBlock()
840 if (ValidSimple(TrueBBI, Dups, Prediction) && in AnalyzeBlock()
851 Tokens.push_back(new IfcvtToken(BBI, ICSimple, TNeedSub, Dups)); in AnalyzeBlock()
857 if (ValidTriangle(FalseBBI, TrueBBI, false, Dups, in AnalyzeBlock()
863 Tokens.push_back(new IfcvtToken(BBI, ICTriangleFalse, FNeedSub, Dups)); in AnalyzeBlock()
867 if (ValidTriangle(FalseBBI, TrueBBI, true, Dups, in AnalyzeBlock()
873 Tokens.push_back(new IfcvtToken(BBI, ICTriangleFRev, FNeedSub, Dups)); in AnalyzeBlock()
877 if (ValidSimple(FalseBBI, Dups, Prediction.getCompl()) && in AnalyzeBlock()
882 Tokens.push_back(new IfcvtToken(BBI, ICSimpleFalse, FNeedSub, Dups)); in AnalyzeBlock()