Restore LLVM 3.4 functions