WIP: testing on big data

This commit is contained in:
2025-05-27 23:34:45 +03:00
parent 6a84171382
commit b137ea5ef3
5 changed files with 86 additions and 19 deletions

View File

@@ -1020,9 +1020,16 @@ static bool runAnalysis(SgProject &project, const int curr_regime, const bool ne
countOfTransform += removeDeadCode(func->funcPointer, allFuncInfo, commonBlocks);
}
else if (curr_regime == BUILD_IR_SSA_FORM)
buildIRSSAForm(fullIR, &ssaFormIR);
{
if (ssaFormIR.size() == 0) {
buildIRSSAForm(fullIR, &ssaFormIR);
}
}
else if (curr_regime == EXPLORE_IR_LOOPS)
exploreLoops(&ssaFormIR);
{
exploreLoops(&ssaFormIR, file_name);
}
else if (curr_regime == TEST_PASS)
{
//test pass