Lines Matching defs:Var0
1348 const VariableGEPIndex &Var0 = DecompGEP1.VarIndices[0];
1350 if (Var0.hasNegatedScaleOf(Var1) && Var0.Val.TruncBits == 0 &&
1351 Var0.Val.hasSameCastsAs(Var1.Val) && !AAQI.MayBeCrossIteration &&
1352 isKnownNonEqual(Var0.Val.V, Var1.Val.V, DL, &AC, /* CxtI */ nullptr,
1354 MinAbsVarIndex = Var0.Scale.abs();
1915 const VariableGEPIndex &Var0 = GEP.VarIndices[0], &Var1 = GEP.VarIndices[1];
1917 if (Var0.Val.TruncBits != 0 || !Var0.Val.hasSameCastsAs(Var1.Val) ||
1918 !Var0.hasNegatedScaleOf(Var1) ||
1919 Var0.Val.V->getType() != Var1.Val.V->getType())
1922 // We'll strip off the Extensions of Var0 and Var1 and do another round
1923 // of GetLinearExpression decomposition. In the example above, if Var0
1927 GetLinearExpression(CastedValue(Var0.Val.V), DL, 0, AC, DT);
1934 // We have a hit - Var0 and Var1 only differ by a constant offset!
1936 // If we've been sext'ed then zext'd the maximum difference between Var0 and
1944 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs();