cleanup of unused code in llvm codegen code