MimIR
0.5-dev
MimIR is my Intermediate Representation
Toggle main menu visibility
Loading...
Searching...
No Matches
lam_spec.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
mim/phase.h
"
4
5
namespace
mim
{
6
7
/// Specializes a Lam at its call site by inlining all Pi-typed (i.e. higher-order) arguments.
8
class
LamSpec
:
public
RWPhase
{
9
public
:
10
using
RWPhase::RWPhase
;
11
12
private
:
13
const
Def
*
rewrite_imm_App
(
const
App
*)
final
;
14
};
15
16
}
// namespace mim
mim::App
Definition
lam.h:215
mim::Def
Base class for all Defs.
Definition
def.h:289
mim::LamSpec
Specializes a Lam at its call site by inlining all Pi-typed (i.e. higher-order) arguments.
Definition
lam_spec.h:8
mim::LamSpec::RWPhase
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition
phase.h:334
mim::LamSpec::rewrite_imm_App
const Def * rewrite_imm_App(const App *) final
Definition
lam_spec.cpp:9
mim::RWPhase::RWPhase
RWPhase(World &world, std::string name, Analysis *analysis=nullptr)
Definition
phase.h:334
mim
Definition
ast.h:16
phase.h
include
mim
phase
lam_spec.h
Generated by
1.18.0