chigraph  master
Systems programming language written for beginners in LLVM
BitcodeParser.cpp File Reference
#include "chi/BitcodeParser.hpp"
#include "chi/LLVMVersion.hpp"
#include "chi/Support/Result.hpp"
#include <llvm/Bitcode/BitcodeReader.h>
#include <llvm/IR/Module.h>
#include <llvm/Support/MemoryBuffer.h>
+ Include dependency graph for BitcodeParser.cpp:

Go to the source code of this file.

Namespaces

 chi
 The namespace where chigraph lives.
 

Functions

Result chi::parseBitcodeFile (const boost::filesystem::path &file, llvm::LLVMContext &ctx, std::unique_ptr< llvm::Module > *toFill)
 Parse a bitcode file. More...
 
Result chi::parseBitcodeString (const std::string &bitcode, llvm::LLVMContext &ctx, std::unique_ptr< llvm::Module > *toFill)