llvm_DFGPass
llvm_DFGPass copied to clipboard
llvm Data Flow Graph dump
llvm_DFGPass
llvm Data Flow Graph dump
This is a dynamic LLVM Pass which is to give the basicblocks id and profile the ids.
Build the pass by doing that:
-
create a folder by
mkdir build
-
cd the build folder and build it:
cd build && cmake ../
-
make the project:
make
execute by the Pass
opt -load /the/path/of/libDFGPass.so -DFGPass /the/path/of/llvm/IR/file
then there are the outputs.