MimIR
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
7namespace mim::plug::gpu::phase {
8
9class RemoveDoubleSyncs : public RWPhase {
10public:
11 using Super = RWPhase;
12
15
16private:
17 const Def* rewrite_imm_App(const App*) final;
18};
19
20} // namespace mim::plug::gpu::phase
Base class for all Defs.
Definition def.h:261
flags_t annex() const
Definition phase.h:81
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition phase.h:316
World & world()=delete
Hides both and forbids direct access.
The World represents the whole program and manages creation of MimIR nodes (Defs).
Definition world.h:36
const Def * rewrite_imm_App(const App *) final
RemoveDoubleSyncs(World &world, flags_t annex)
u64 flags_t
Definition types.h:39