mini-llvm
0.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
UnreachableBlockElimination.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
3
#pragma once
4
5
#include "
mini-llvm/mir/Function.h
"
6
#include "
mini-llvm/opt/mir/FunctionTransform.h
"
7
#include "
mini-llvm/utils/Compiler.h
"
8
9
namespace
mini_llvm::mir
{
10
11
class
MINI_LLVM_EXPORT
UnreachableBlockElimination
final :
public
FunctionTransform
{
12
public
:
13
bool
runOnFunction
(
Function
&F)
override
;
14
};
15
16
}
// namespace mini_llvm::mir
Compiler.h
MINI_LLVM_EXPORT
#define MINI_LLVM_EXPORT
Definition
Compiler.h:17
mini_llvm::mir::FunctionTransform
Definition
FunctionTransform.h:12
mini_llvm::mir::Function
Definition
Function.h:21
mini_llvm::mir::UnreachableBlockElimination
Definition
UnreachableBlockElimination.h:11
mini_llvm::mir::UnreachableBlockElimination::runOnFunction
bool runOnFunction(Function &F) override
FunctionTransform.h
Function.h
mini_llvm::mir
Definition
BasicBlock.h:22
include
mini-llvm
opt
mir
passes
UnreachableBlockElimination.h
Generated by
1.17.0