Giter Site home page Giter Site logo

rafaenoor / ruee Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 47 KB

RUEE is an attempt to implement the passes in CS701 http://pages.cs.wisc.edu/~fischer/cs701.f08/proj3.llvm.html

CMake 1.44% C++ 32.10% HTML 18.44% C 4.08% LLVM 38.54% Python 5.40%

ruee's Introduction

RUEE

RUEE uses LLVM-6.0 and CMake to build the Shared Object files. To use RUEE you would need to export environment variables:

export LLVM_CC_NAME=clang-6.0 
export LLVM_CXX_NAME=clang++-6.0  
export LLVM_LINK_NAME=llvm-link-6.0  
export LLVM_DIS_NAME=llvm-dis-6.0  
export LLVM_AR_NAME=llvm-ar-6.0  
export LLVM_AS_NAME=llvm-as-6.0  
export LLVM_LD_NAME=llvm-ld-6.0  
export LLVM_LLC_NAME=llc-6.0  
export LLVM_OPT_NAME=opt-6.0  
export LLVM_NM_NAME=llvm-nm-6.0  
export RUEE_HOME=/path/to/ruee/directory/  

A sample .env file has been provided and can be used by: source ./.env

Build

To build the RUEE tool, export the above environment variables then:

mkdir build && cd build
cmake ../
make -j4

Usage

Once the RUEE tool has been built, it can be used via the python wrapper in tool/ruee.py
python3 tool/ruee.py {path/to/bc/file} {path/to/workdir/}

For example:
RUEE_HOME$: python3 tool/ruee.py test/testsA/testA.bc workdir/testA

RUEE is an attempt to implement the passes in CS701 http://pages.cs.wisc.edu/~fischer/cs701.f08/proj3.llvm.html. It is a work-in-progress .

ruee's People

Contributors

rafaenoor avatar

Stargazers

Jiefeng Li avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.