Skip to content

RickLuiken/5SIB0-Group5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loop unroll pass

Find the loop unroll factors for HLS C programs. Based on COMBA.

Requirements

  • LLVM 10.0 or higher
  • CMake 2.8 or higher

Building

The following can be used to build a shared library (.so) plugin for the LLVM opt tool:

  • Create a new folder build:
mkdir build
cd build
  • Create the build system and build the plugin (Make is used):
cmake .. -DLLVM_ROOT=/mnt/h/llvm/build
make

Testing

Testing can be done (from the build folder) using:

opt -load-pass-plugin ./lib/LoopUnrollPass.so -passes=loopunroll -disable-output ../test/test.ll

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •