计算机科学 > 程序设计语言
[提交于 2024年1月19日]
标题:Optimization of the Context-Free Language Reachability Matrix-Based Algorithm
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Various static analysis problems are reformulated as instances of the Context-Free Language Reachability (CFL-r) problem. One promising way to make solving CFL-r more practical for large-scale interprocedural graphs is to reduce CFL-r to linear algebra operations on sparse matrices, as they are efficiently executed on modern hardware. In this work, we present five optimizations for a matrix-based CFL-r algorithm that utilize the specific properties of both the underlying semiring and the widely-used linear algebra library SuiteSparse:GraphBlas. Our experimental results show that these optimizations result in orders of magnitude speedup, with the optimized matrix-based CFL-r algorithm consistently outperforming state-of-the-art CFL-r solvers across four considered static analyses.
提交历史
来自:Ilia Muravev[v1] 2024年1月19日 星期五 21:04:45 UTC