forked from NUDT-compiler/nudt-compiler-cpp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
733 B
27 lines
733 B
#pragma once
|
|
|
|
namespace ir {
|
|
|
|
class Module;
|
|
|
|
void RunMem2Reg(Module& module);
|
|
bool RunConstFold(Module& module);
|
|
bool RunConstProp(Module& module);
|
|
bool RunFunctionInlining(Module& module);
|
|
bool RunTailRecursionElim(Module& module);
|
|
bool RunArithmeticSimplify(Module& module);
|
|
bool RunCSE(Module& module);
|
|
bool RunGVN(Module& module);
|
|
bool RunLoadStoreElim(Module& module);
|
|
bool RunDCE(Module& module);
|
|
bool RunCFGSimplify(Module& module);
|
|
bool RunLICM(Module& module);
|
|
bool RunLoopMemoryPromotion(Module& module);
|
|
bool RunLoopUnswitch(Module& module);
|
|
bool RunLoopStrengthReduction(Module& module);
|
|
bool RunLoopUnroll(Module& module);
|
|
bool RunLoopFission(Module& module);
|
|
void RunIRPassPipeline(Module& module);
|
|
|
|
} // namespace ir
|