Lines Matching refs:Dups
190 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups,
193 bool FalseBranch, unsigned &Dups,
472 bool IfConverter::ValidSimple(BBInfo &TrueBBI, unsigned &Dups, in ValidSimple() argument
474 Dups = 0; in ValidSimple()
486 Dups = TrueBBI.NonPredSize; in ValidSimple()
499 bool FalseBranch, unsigned &Dups, in ValidTriangle() argument
501 Dups = 0; in ValidTriangle()
524 Dups = Size; in ValidTriangle()
808 unsigned Dups = 0; in AnalyzeBlock() local
816 if (CanRevCond && ValidDiamond(TrueBBI, FalseBBI, Dups, Dups2) && in AnalyzeBlock()
817 MeetIfcvtSizeLimit(*TrueBBI.BB, (TrueBBI.NonPredSize - (Dups + Dups2) + in AnalyzeBlock()
819 *FalseBBI.BB, (FalseBBI.NonPredSize - (Dups + Dups2) + in AnalyzeBlock()
832 Tokens.push_back(new IfcvtToken(BBI, ICDiamond, TNeedSub|FNeedSub, Dups, in AnalyzeBlock()
837 if (ValidTriangle(TrueBBI, FalseBBI, false, Dups, Prediction) && in AnalyzeBlock()
848 Tokens.push_back(new IfcvtToken(BBI, ICTriangle, TNeedSub, Dups)); in AnalyzeBlock()
852 if (ValidTriangle(TrueBBI, FalseBBI, true, Dups, Prediction) && in AnalyzeBlock()
856 Tokens.push_back(new IfcvtToken(BBI, ICTriangleRev, TNeedSub, Dups)); in AnalyzeBlock()
860 if (ValidSimple(TrueBBI, Dups, Prediction) && in AnalyzeBlock()
871 Tokens.push_back(new IfcvtToken(BBI, ICSimple, TNeedSub, Dups)); in AnalyzeBlock()
877 if (ValidTriangle(FalseBBI, TrueBBI, false, Dups, in AnalyzeBlock()
883 Tokens.push_back(new IfcvtToken(BBI, ICTriangleFalse, FNeedSub, Dups)); in AnalyzeBlock()
887 if (ValidTriangle(FalseBBI, TrueBBI, true, Dups, in AnalyzeBlock()
893 Tokens.push_back(new IfcvtToken(BBI, ICTriangleFRev, FNeedSub, Dups)); in AnalyzeBlock()
897 if (ValidSimple(FalseBBI, Dups, Prediction.getCompl()) && in AnalyzeBlock()
902 Tokens.push_back(new IfcvtToken(BBI, ICSimpleFalse, FNeedSub, Dups)); in AnalyzeBlock()