Skip to content

HaoMengHIT/llvm-pred

 
 

Repository files navigation

llvm-pred

A set of Pass and functions to help analysis program's performance model.

build

if gcc doesn't support c++11 ,can use clang

$ export CC=clang
$ export CXX=clang++
$ mkdir build;cd build
$ cmake .. -DLLVM_RECOMMAND_VERSION="3.4"
$ make

use LLVM_RECOMMAND_VERSION to change llvm version directly

script

  • drawline.py : used to draw lines from value profiling
  • dirdiff.sh : compare two dir's llvmprof.out file and report whether they are same

unit test

we provide some unit test in unit dir. to compile them, you need google test and google mock

$ cmake .. -DUNIT_TEST=On
$ make
$ cd unit
$ ./unit_test

documents

we provide documents on wiki pages, you can use git submodule to sync them into doc folder.

$ git submodule init
$ git submodule update

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.1%
  • LLVM 1.8%
  • CMake 0.5%
  • Python 0.3%
  • Shell 0.2%
  • C 0.1%