e01.org

Polyvariance

In program analysis, a polyvariant or context-sensitive analysis (as opposed to a monovariant or context-insensitive 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 The first two are more often used for dataflow analyses, the latter two are more frequently used for pointer analyses.

In program analysis, a polyvariant or context-sensitive analysis (as opposed to a monovariant or context-insensitive 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 The first two are more often used for dataflow analyses, the latter two are more frequently used for pointer analyses. ===Sources===

References

  1. ^ Palsberg, Jens ; Pavlopoulou, Christina (2001). "From Polyvariant Flow Information to Intersection and Union Types". Proceedings of the 25th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL '98) . 11 (3): 197– 208. CiteSeerX 10.1.1.36.4441 . doi : 10.1017/S095679680100394X . S2CID 16895848 . {{ cite journal }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1169351952, retrieved 2026-11-20 · 1795129200.0
  2. ^ Gilray, Thomas; Adams, Michael D.; Might, Matthew (2016-09-04). "Allocation characterizes polyvariance: A unified methodology for polyvariant control-flow analysis" . Proceedings of the 21st ACM SIGPLAN International Conference on Functional Programming . ICFP 2016. New York, NY, USA: Association for Computing Machinery. pp. 407– 420. doi : 10.1145/2951913.2951936 . ISBN 978-1-4503-4219-3 . S2CID 7768606 . Wikipedia revision 1169351952, retrieved 2026-11-20 · 1795129200.0
  3. ^ a b c Smaragdakis & Balatsouras 2015 . Wikipedia revision 1169351952, retrieved 2026-11-20 · 1795129200.0
  4. Proceedings of the 21st ACM SIGPLAN International Conference on Functional Programming . · 1691449200.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Polyvariance". 1691501770. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1169351952

JSON record · API collection · citation policy