3 #ifndef CHI_C_COMPILER_HPP 4 #define CHI_C_COMPILER_HPP 8 #include <boost/filesystem/path.hpp> 9 #include <boost/utility/string_view.hpp> 22 Result
compileCToLLVM(
const boost::filesystem::path& ctollvmPath, llvm::LLVMContext& llvmContext,
23 std::vector<std::string> arguments, boost::string_view inputCCode,
24 std::unique_ptr<llvm::Module>* toFill);
28 #endif // CHI_C_COMPILER_HPP Forward declares all the chigraph data types.
Result compileCToLLVM(const boost::filesystem::path &ctollvmPath, llvm::LLVMContext &llvmContext, std::vector< std::string > arguments, boost::string_view inputCCode, std::unique_ptr< llvm::Module > *toFill)
Use chi-ctollvm to compile C source code to a llvm module It also uses stdCIncludePaths to find basic...
The namespace where chigraph lives.