14 #ifndef LLVM_ASSEMBLY_PARSER_H
15 #define LLVM_ASSEMBLY_PARSER_H
33 const std::string &Filename,
45 const char *AsmString,
Module * ParseAssembly(MemoryBuffer *F, Module *M, SMDiagnostic &Err, LLVMContext &Context)
Parse LLVM Assembly from a MemoryBuffer. This function always takes ownership of the MemoryBuffer...
Module * ParseAssemblyString(const char *AsmString, Module *M, SMDiagnostic &Error, LLVMContext &Context)
Parse LLVM Assembly from a string.
Module * ParseAssemblyFile(const std::string &Filename, SMDiagnostic &Error, LLVMContext &Context)
Parse LLVM Assembly from a file.