mini-llvm
0.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
GlobalValueTransform.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
3
#pragma once
4
5
#include "
mini-llvm/mc/GlobalValue.h
"
6
#include "
mini-llvm/mc/Module.h
"
7
#include "
mini-llvm/opt/mc/ModuleTransform.h
"
8
#include "
mini-llvm/utils/Compiler.h
"
9
10
namespace
mini_llvm::mc
{
11
12
class
MINI_LLVM_EXPORT
GlobalValueTransform
:
public
ModuleTransform
{
13
public
:
14
virtual
bool
runOnGlobalValue
(
GlobalValue
&G) = 0;
15
bool
runOnModule
(
Module
&M)
override
;
16
};
17
18
}
// namespace mini_llvm::mc
Compiler.h
MINI_LLVM_EXPORT
#define MINI_LLVM_EXPORT
Definition
Compiler.h:17
mini_llvm::mc::GlobalValueTransform
Definition
GlobalValueTransform.h:12
mini_llvm::mc::GlobalValueTransform::runOnGlobalValue
virtual bool runOnGlobalValue(GlobalValue &G)=0
mini_llvm::mc::GlobalValueTransform::runOnModule
bool runOnModule(Module &M) override
mini_llvm::mc::GlobalValue
Definition
GlobalValue.h:21
mini_llvm::mc::ModuleTransform::ModuleTransform
ModuleTransform()=default
mini_llvm::mc::Module
Definition
Module.h:16
GlobalValue.h
ModuleTransform.h
Module.h
mini_llvm::mc
Definition
Directive.h:8
include
mini-llvm
opt
mc
GlobalValueTransform.h
Generated by
1.17.0