Lab6: Implement DominatorTree-based natural loop discovery and loop-invariant code motion hoisting pass
This commit is contained in:
@@ -39,6 +39,7 @@ bool RunConstFold(Function* func, Context& ctx);
|
||||
bool RunDCE(Function* func);
|
||||
bool RunCFGSimplify(Function* func);
|
||||
bool RunCSE(Function* func);
|
||||
bool RunLICM(Function* func);
|
||||
|
||||
// Run the optimization pipeline on a Function or Module
|
||||
void RunOptimizationPasses(Module& module);
|
||||
|
||||
Reference in New Issue
Block a user