界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
设计与创意 · SKILL.md

data-flow-analysis-framework

data-flow-analysis-framework

【设计与创意】Design and implement data-flow analyses for compiler optimization

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: data-flow-analysis-framework description: Design and implement data-flow analyses for compiler optimization allowed-tools:

  • Bash
  • Read
  • Write
  • Edit
  • Glob
  • Grep metadata: specialization: computer-science domain: science category: compiler-optimization phase: 6 graph: domains: [domain:computer-science] specializations: [specialization:theoretical-computer-science] skillAreas: [skill-area:compiler-implementation, skill-area:language-design, skill-area:graph-algorithms] workflows: [workflow:research-grant-lifecycle] roles: [role:research-engineer, role:computational-scientist]

Data Flow Analysis Framework

Purpose

Provides expert guidance on designing and implementing data-flow analyses for compiler optimization and program analysis.

Capabilities

  • Forward/backward analysis specification
  • Lattice definition and verification
  • Transfer function generation
  • Fixpoint computation (worklist algorithm)
  • Analysis soundness verification
  • Interprocedural analysis

Usage Guidelines

  1. Lattice Design: Define abstract domain and lattice
  2. Transfer Functions: Define transfer functions for statements
  3. Analysis Direction: Specify forward or backward
  4. Fixpoint: Implement worklist algorithm
  5. Verification: Verify soundness of analysis

Tools/Libraries

  • LLVM
  • GCC internals
  • Soot
  • WALA
我的收藏