Add Dominator tree builder and interprocedural analysis

This commit is contained in:
2025-04-15 12:23:32 +03:00
committed by Alexander
parent 4eb057731f
commit 537d60222f
5 changed files with 289 additions and 55 deletions

View File

@@ -1895,9 +1895,7 @@ static bool runAnalysis(SgProject &project, const int curr_regime, const bool ne
runRenameSymbols(&project, commonBlocks);
else if (curr_regime == FIND_PARAMETERS)
{
performRDSubst(fullIR, commonBlocks, &project);
parametersOfProject = findParameters(fullIR, declaredArrays);
performRDSubst(fullIR, commonBlocks, &project);
findParameters(parametersOfProject, fullIR, declaredArrays);
}
else if (curr_regime == BUILD_IR)
{