Rangeanalysis: Rename SsaBound.getAVariable to getVariable.

This commit is contained in:
Anders Schack-Mulligen
2023-11-01 11:58:06 +01:00
parent 48291dd32d
commit 048a7c4e42
4 changed files with 9 additions and 9 deletions

View File

@@ -345,7 +345,7 @@ signature module BoundSig<LocationSig Location, Semantic Sem, DeltaSig D> {
class SemZeroBound extends SemBound;
class SemSsaBound extends SemBound {
Sem::SsaVariable getAVariable();
Sem::SsaVariable getVariable();
}
}
@@ -917,7 +917,7 @@ module RangeStage<
or
boundedPhi(inp, b, d, upper, fromBackEdge0, origdelta, reason)
or
b.(SemSsaBound).getAVariable() = inp and
b.(SemSsaBound).getVariable() = inp and
d = D::fromFloat(0) and
(upper = true or upper = false) and
fromBackEdge0 = false and
@@ -967,7 +967,7 @@ module RangeStage<
Sem::SsaPhiNode phi, Sem::SsaVariable inp, Sem::SsaReadPositionPhiInputEdge edge, boolean upper
) {
exists(D::Delta d, SemSsaBound phibound |
phibound.getAVariable() = phi and
phibound.getVariable() = phi and
boundedPhiInp(phi, inp, edge, phibound, d, upper, _, _, _) and
(
upper = true and D::toFloat(d) <= 0