zhxchen17 / llescape

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llescape

Prerequisites

  1. CMake
  2. Ninja build system

Build Project

Run build.sh should build the whole project.

$ ./build.sh

Depending on the machine, it could take 10 - 40 mintues to compile the project (including LLVM).

Implementation

The source code for escape analysis is placed under the directory llvm/lib/Transforms/Escape/.

Run Analysis

Test Files

Test files are under the directory ./tests.

Intraprocedural Analysis

Run ./analyze.sh [test file name (without extension name)] should execute the intraprocedual analysis. For exmaple:

$ ./analyze.sh local

Interprocedural Analysis

Run ./analyze.sh [test file name (without extension name)] -module should execute the interprocedual analysis. For example:

$ ./analyze.sh global -module

About


Languages

Language:LLVM 49.2%Language:C++ 31.8%Language:Assembly 17.8%Language:Python 0.4%Language:C 0.3%Language:CMake 0.2%Language:OCaml 0.2%Language:Go 0.1%Language:Shell 0.0%Language:HTML 0.0%Language:Perl 0.0%Language:Roff 0.0%Language:Vim Script 0.0%Language:CSS 0.0%Language:Batchfile 0.0%Language:Emacs Lisp 0.0%Language:Objective-C 0.0%Language:Dockerfile 0.0%Language:PHP 0.0%Language:Swift 0.0%Language:Logos 0.0%