2022-12-14 00:16:59 +00:00
|
|
|
#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() {
|
|
|
|
}
|