mini-llvm 0.1.0
Loading...
Searching...
No Matches
PassManager.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
7
8namespace mini_llvm::ir {
9
11public:
12 explicit PassManager(int pointerSize)
13 : pointerSize_(pointerSize) {}
14
15 void run(Module &M) const;
16
17private:
18 int pointerSize_;
19};
20
21} // namespace mini_llvm::ir
#define MINI_LLVM_EXPORT
Definition Compiler.h:17
Definition Module.h:22
void run(Module &M) const
PassManager(int pointerSize)
Definition PassManager.h:12
Definition Argument.h:13