diff options
author | Ash Wolf <ninji@wuffs.org> | 2022-12-14 00:16:59 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2022-12-14 00:16:59 +0000 |
commit | 25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22 (patch) | |
tree | c0ee632aa3752884b996c562622e2ece88216ea4 /includes/compiler/IroUnrollLoop.h | |
parent | 9d2728a5605f651934fe67a6fe6986b3e4a2c011 (diff) | |
download | MWCC-25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22.tar.gz MWCC-25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22.zip |
haha it's been a while since i last committed, hasn't it
Diffstat (limited to '')
-rw-r--r-- | includes/compiler/IroUnrollLoop.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/includes/compiler/IroUnrollLoop.h b/includes/compiler/IroUnrollLoop.h index b48510f..9e08d03 100644 --- a/includes/compiler/IroUnrollLoop.h +++ b/includes/compiler/IroUnrollLoop.h @@ -1,6 +1,22 @@ #ifndef COMPILER_IROUNROLLLOOP_H #define COMPILER_IROUNROLLLOOP_H -#include "compiler/common.h" +#include "compiler/IrOptimizer.h" + +extern void IRO_LoopUnroller(void); +extern void IRO_IterateForLoopBody(); +extern void IRO_LinearizeForLoopPostLoop(); +extern void BuildEarlyLoopExitTest(); +extern void BuildLoopExitTest(); +extern void IsIterationCountConstant(); +extern void NoOpBlock(); +extern void IRO_TestConstantIterationCount(); +extern void BuildOrigIterationCount(); +extern void BuildNewFinalvalue(); +extern void BuildUnrolledBodyEntryTest(); +extern void ChangeInductionReference(); +extern void UpdateInductionIncrement(); +extern void GenInitialAssignment(); +extern void GenNewInduction(); #endif |