Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

LLVM Static Analysis for Program Characterization and Memory Reuse Profile Estimation (2311.12883v1)

Published 20 Nov 2023 in cs.SE, cs.PF, and cs.PL

Abstract: Profiling various application characteristics, including the number of different arithmetic operations performed, memory footprint, etc., dynamically is time- and space-consuming. On the other hand, static analysis methods, although fast, can be less accurate. This paper presents an LLVM-based probabilistic static analysis method that accurately predicts different program characteristics and estimates the reuse distance profile of a program by analyzing the LLVM IR file in constant time, regardless of program input size. We generate the basic-block-level control flow graph of the target application kernel and determine basic-block execution counts by solving the linear balance equation involving the adjacent basic blocks' transition probabilities. Finally, we represent the kernel memory accesses in a bracketed format and employ a recursive algorithm to calculate the reuse distance profile. The results show that our approach can predict application characteristics accurately compared to another LLVM-based dynamic code analysis tool, Byfl.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Atanu Barai (8 papers)
  2. Nandakishore Santhi (17 papers)
  3. Abdur Razzak (3 papers)
  4. Stephan Eidenbenz (57 papers)
  5. Abdel-Hameed A. Badawy (26 papers)
Citations (1)

Summary

We haven't generated a summary for this paper yet.