MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / ugt

Method ugt

smt/expr.cpp:1748–1759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1746}
1747
1748expr expr::ugt(const expr &rhs) const {
1749 C();
1750 if (rhs.isAllOnes())
1751 return false;
1752
1753 uint64_t n;
1754 if (rhs.isUInt(n)) {
1755 auto ty = sort();
1756 return uge(mkUInt(n, ty) + mkUInt(1, ty));
1757 }
1758 return !ule(rhs);
1759}
1760
1761expr expr::sle(const expr &rhs) const {
1762 if (eq(rhs) || rhs.isSMax())

Callers 13

getTypeConstraintsMethod · 0.80
sizeVarMethod · 0.80
operator==Method · 0.80
mkNonlocalValAxiomsMethod · 0.80
toSMTMethod · 0.80
isConstGlobalMethod · 0.80
isOfBlockMethod · 0.80
isInboundsOfMethod · 0.80
isDereferenceableMethod · 0.80
at_least_same_offsetingFunction · 0.80
isWritableMethod · 0.80
getTypeConstraintsMethod · 0.80

Calls 2

isAllOnesMethod · 0.80
isUIntMethod · 0.80

Tested by

no test coverage detected