5 #ifndef CHI_BITCODE_PARSER_HPP 6 #define CHI_BITCODE_PARSER_HPP 10 #include <boost/filesystem/path.hpp> 17 std::unique_ptr<llvm::Module>* toFill);
18 Result parseBitcodeString(
const std::string& bitcode, llvm::LLVMContext& ctx,
19 std::unique_ptr<llvm::Module>* toFill);
22 #endif // CHI_BITCODE_PARSER_HPP Result parseBitcodeFile(const boost::filesystem::path &file, llvm::LLVMContext &ctx, std::unique_ptr< llvm::Module > *toFill)
Parse a bitcode file.
Forward declares all the chigraph data types.
The namespace where chigraph lives.
The result object, used for identifiying errors with good diagnostics.