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 /compiler_and_linker/unsorted/IroUnrollLoop.c | |
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 'compiler_and_linker/unsorted/IroUnrollLoop.c')
-rw-r--r-- | compiler_and_linker/unsorted/IroUnrollLoop.c | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/compiler_and_linker/unsorted/IroUnrollLoop.c b/compiler_and_linker/unsorted/IroUnrollLoop.c index e69de29..f5c4fb0 100644 --- a/compiler_and_linker/unsorted/IroUnrollLoop.c +++ b/compiler_and_linker/unsorted/IroUnrollLoop.c @@ -0,0 +1,95 @@ +#include "compiler/IroUnrollLoop.h" +#include "compiler/IroUtil.h" + +// forward decls +static void IRO_FindLoops_Unroll(void); + +void IRO_LoopUnroller(void) { + VectorPhaseCalledFromUnroll = 1; + IRO_FindLoops_Unroll(); + IRO_CheckForUserBreak(); +} + +static void IRO_FindLoops_Unroll(void) { +} + +static void CheckConstant() { +} + +static void UnrollWhileLoopBody() { +} + +static void PatternMatchLoop() { +} + +static void UnrollWhileLoop() { +} + +void IRO_IterateForLoopBody() { +} + +void IRO_LinearizeForLoopPostLoop() { +} + +static void UnrollForLoop() { +} + +static void UnrollStandardLoop() { +} + +static void LoopUnroll() { +} + +static void IsLoopUnrollable() { +} + +void BuildEarlyLoopExitTest() { +} + +void BuildLoopExitTest() { +} + +void IsIterationCountConstant() { +} + +static void IsDifferenceOfTermsConstant() { +} + +void NoOpBlock() { +} + +void IRO_TestConstantIterationCount() { +} + +void BuildOrigIterationCount() { +} + +static void BuildOrigIterationCount_DoWhile() { +} + +void BuildNewFinalvalue() { +} + +static void BuildPreAlignTemp() { +} + +static void BuildNewFinalvalue_DoWhile() { +} + +static void BuildUnrolledFinalvalue_DoWhile() { +} + +void BuildUnrolledBodyEntryTest() { +} + +void ChangeInductionReference() { +} + +void UpdateInductionIncrement() { +} + +void GenInitialAssignment() { +} + +void GenNewInduction() { +} |