MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / isKnownPredicate

Method isKnownPredicate

lib/Analysis/DependenceAnalysis.cpp:938–980  ·  view source on GitHub ↗

A wrapper around SCEV::isKnownPredicate. Looks for cases where we're interested in comparing for equality. If both X and Y have been identically sign or zero extended, it strips off the (confusing) extensions before invoking SCEV::isKnownPredicate. Perhaps, someday, the ScalarEvolution package will be similarly updated. If SCEV::isKnownPredicate can't prove the predicate, we try simple subtractio

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

getMinusSCEVMethod · 0.80
isKnownNonPositiveMethod · 0.80
getOperandMethod · 0.45
getTypeMethod · 0.45
isZeroMethod · 0.45
isKnownNonZeroMethod · 0.45
isKnownNonNegativeMethod · 0.45
isKnownPositiveMethod · 0.45
isKnownNegativeMethod · 0.45

Tested by

no test coverage detected