MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
split_apply.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"
7
8namespace mim::plug::gpu::phase {
9
10class SplitApply : public RWPhase {
11public:
14 , split_phase(world, "splitoff_kernels_in_split_apply") {}
15
16 void start() final;
17
18private:
19 SplitOffKernels split_phase;
20};
21
22} // namespace mim::plug::gpu::phase
flags_t annex() const
Definition phase.h:81
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition phase.h:431
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:40
void start() final
RWBase::start() and then swaps the two worlds.
SplitApply(World &world, flags_t annex)
Definition split_apply.h:12
u64 flags_t
Definition types.h:39