#ifndef _JIT_H #define _JIT_H //LLVM includes #include "llvm/IR/LegacyPassManager.h" #include "llvm/Transforms/Scalar.h" // Local includes #include "KaleidoscopeJIT.h" #include "Ast.h" namespace jit { struct JITObjects { public: static std::unique_ptr TheFPM; static std::unique_ptr TheJIT; static std::map> FunctionProtos; }; void InitializeModuleAndPassManager(void); Function *getFunction(std::string Name); } #endif