mini-llvm 0.1.0
Loading...
Searching...
No Matches
FunctionTransform.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
9
10namespace mini_llvm::ir {
11
13public:
14 virtual bool runOnFunction(Function &F) = 0;
15 bool runOnModule(Module &M) override;
16};
17
18} // namespace mini_llvm::ir
#define MINI_LLVM_EXPORT
Definition Compiler.h:17
Definition FunctionTransform.h:12
virtual bool runOnFunction(Function &F)=0
bool runOnModule(Module &M) override
Definition Function.h:34
Definition Module.h:22
Definition Argument.h:13