Polyvariance
In program analysis, a polyvariant or context-sensitive analysis analyzes each function multiple times—typically once at each call site—to improve the precision of the analysis. Polyvariance is common in data-flow and pointer analyses.
Forms of polyvariance include:
- Call-site sensitivity
- The Cartesian product algorithm
- Object sensitivity
- Type sensitivity