cleaning up LLVM code