mini-llvm 0.1.0
Loading...
Searching...
No Matches
IRReader.h File Reference
#include <optional>
#include <string>
#include <vector>
#include "mini-llvm/common/Diagnostic.h"
#include "mini-llvm/ir/Module.h"
#include "mini-llvm/utils/Compiler.h"
Include dependency graph for IRReader.h:

Go to the source code of this file.

Namespaces

namespace  mini_llvm
namespace  mini_llvm::ir

Functions

MINI_LLVM_EXPORT std::optional< Modulemini_llvm::ir::parseModule (const char *source)
std::optional< Modulemini_llvm::ir::parseModule (const std::string &source)
MINI_LLVM_EXPORT std::optional< Modulemini_llvm::ir::parseModule (const char *source, std::vector< Diagnostic > &diags)
std::optional< Modulemini_llvm::ir::parseModule (const std::string &source, std::vector< Diagnostic > &diags)