32 void enter()
override;
36 const Def* rewrite_def(
const Def* def);
39 const Def* rewrite_def_(
const Def* def);
42 Lam* reshape_lam(
Lam* def);
45 const Def* reshape_type(
const Def* T);
47 const Def* reshape(
const Def* def);
49 const Def* reshape(
const Def* def,
const Def* target);
RWPass(PassMan &man, std::string_view name)
void enter() override
Fall-through to rewrite_def which falls through to rewrite_lam.
Reshape(PassMan &man, Mode mode)
std::deque< const Def * > DefQueue
DefMap< const Def * > Def2Def
Vector< const Def * > DefVec