Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Init.h
Go to the documentation of this file.
1//===-- Init.h -- Proteus initialization state --===//
2//
3// Part of the Proteus Project, under the Apache License v2.0 with LLVM
4// Exceptions. See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef PROTEUS_INIT_H
10#define PROTEUS_INIT_H
11
12#include <string>
13
14namespace proteus {
15
16[[deprecated("it is a no-op and will be removed in a future version.")]]
17void init();
18[[deprecated("it is a no-op and will be removed in a future version.")]]
19void finalize();
20
22
23void registerJITPassPlugin(const std::string &PluginPath);
24void registerJITPassPlugin(const std::string &PluginPath,
25 const std::string &PassPipeline);
26void registerJITPassPlugin(const std::string &PluginPath,
27 const std::string &PassPipeline,
28 JITPassPluginPosition Position);
30
31void enable();
32void disable();
33
34} // namespace proteus
35
36#endif
Definition MemoryCache.h:27
void init()
Definition Init.cpp:21
void registerJITPassPlugin(const std::string &PluginPath)
Definition Init.cpp:24
void disable()
Definition Init.cpp:50
void enable()
Definition Init.cpp:43
JITPassPluginPosition
Definition Init.h:21
void clearJITPassPlugins()
Definition Init.cpp:41
void finalize()
Definition Init.cpp:22