MimIR
0.3-dev
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
remove_double_syncs.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
mim/phase.h
"
4
5
#include "
mim/plug/gpu/gpu.h
"
6
7
namespace
mim::plug::gpu::phase
{
8
9
class
RemoveDoubleSyncs
:
public
RWPhase
{
10
public
:
11
using
Super
=
RWPhase
;
12
13
RemoveDoubleSyncs
(
World
&
world
,
flags_t
annex
)
14
:
Super
(
world
,
annex
) {}
15
16
private
:
17
const
Def
*
rewrite_imm_App
(
const
App
*)
final
;
18
};
19
20
}
// namespace mim::plug::gpu::phase
mim::App
Definition
lam.h:224
mim::Def
Base class for all Defs.
Definition
def.h:261
mim::Phase::annex
flags_t annex() const
Definition
phase.h:81
mim::RWPhase::RWPhase
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition
phase.h:316
mim::RWPhase::world
World & world()=delete
Hides both and forbids direct access.
mim::World
The World represents the whole program and manages creation of MimIR nodes (Defs).
Definition
world.h:36
mim::plug::gpu::phase::RemoveDoubleSyncs::Super
RWPhase Super
Definition
remove_double_syncs.h:11
mim::plug::gpu::phase::RemoveDoubleSyncs::rewrite_imm_App
const Def * rewrite_imm_App(const App *) final
Definition
remove_double_syncs.cpp:9
mim::plug::gpu::phase::RemoveDoubleSyncs::RemoveDoubleSyncs
RemoveDoubleSyncs(World &world, flags_t annex)
Definition
remove_double_syncs.h:13
gpu.h
mim::plug::gpu::phase
Definition
mem_checks.h:7
mim::flags_t
u64 flags_t
Definition
types.h:39
phase.h
include
mim
plug
gpu
phase
remove_double_syncs.h
Generated by
1.16.1