wjfjfm / vegen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To build

You need cmake to build VeGen. VeGen depends on LLVM, and therefore you will also need the same compiler that you used to compile LLVM to build VeGen for ABI compatibility.

export CXX=<the same c++ compiler you used to build llvm>
mkdir build
cd build
cmake $path_to_vegen

To use

After building VeGen, you can in principle use vegen-clang and vegen-clang++ as a drop-in replacement for clang.

Directory structure

/gslp (gslp stands for Generalized SLP) contains the vectorization heuristic and the code generation implementation. /sema contains the semantics handling logic. /gslp/target-sema and gslp/target-wrappers contains the code generated from /sema.

About

License:MIT License


Languages

Language:C 77.4%Language:C++ 21.1%Language:Python 1.4%Language:LLVM 0.1%Language:CMake 0.0%Language:Shell 0.0%