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

Function EvaluateExpression

lib/Analysis/ScalarEvolution.cpp:6381–6424  ·  view source on GitHub ↗

EvaluateExpression - Given an expression that passes the getConstantEvolvingPHI predicate, evaluate its value assuming the PHI node in the loop has the value PHIVal. If we can't fold this expression for some reason, return null.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

MatchMethod · 0.85
PrintFailureInfoMethod · 0.85

Calls 7

canConstantEvolveFunction · 0.85
lookupMethod · 0.45
getNumOperandsMethod · 0.45
getOperandMethod · 0.45
getPredicateMethod · 0.45
isVolatileMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected