llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
8 #include "core/insts.h"
9 #include "core/inst_visitor.h"
38 bool VisitJumpCondInst(JumpCondInst &i)
override;
40 bool VisitSwitchInst(SwitchInst &i)
override;
42 bool VisitSelectInst(SelectInst &i)
override;
44 bool VisitStoreInst(StoreInst &i)
override;
46 bool VisitInst(
Inst &i)
override {
return false; }
Definition: pass_manager.h:74
Definition: undef_elim.h:22
UndefElimPass(PassManager *passManager)
Initialises the pass.
Definition: undef_elim.h:28
bool Run(Prog &prog) override
Runs the pass.
Definition: undef_elim.cpp:26
static const char * kPassID
Pass identifier.
Definition: undef_elim.h:25
const char * GetPassName() const override
Returns the name of the pass.
Definition: undef_elim.cpp:20
Definition: inst_visitor.h:15