Compare commits
20 Commits
42044b60f1
...
egormayoro
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7390d96b1f | ||
| a1e12f5c1c | |||
|
|
cad8c0913d | ||
|
|
bde804cff6 | ||
|
|
589680a78b | ||
|
|
88bac54901 | ||
|
|
0d4d2b78d8 | ||
|
|
bbac07202d | ||
|
|
9325723e69 | ||
|
|
18ac53f342 | ||
|
|
0bec2c6527 | ||
| aa56778be1 | |||
|
|
0a484e77de | ||
|
|
4818884d48 | ||
|
|
e172678e1b | ||
|
|
0a977146a7 | ||
|
|
0b50e0630a | ||
|
|
980ddeeac7 | ||
| 788eeda22e | |||
|
|
4a9cba7b96 |
Submodule projects/dvm updated: 13d113d343...ab99430aee
Submodule projects/libpredictor updated: d08cb25cc6...7e57477dfa
@@ -17,7 +17,7 @@ using std::fstream;
|
||||
static long int getNextTag()
|
||||
{
|
||||
static long int INTERVAL_TAG = 0;
|
||||
return INTERVAL_TAG++;
|
||||
return -(INTERVAL_TAG++);
|
||||
}
|
||||
|
||||
//Debug funcs
|
||||
@@ -413,7 +413,7 @@ static void findIntervals(SpfInterval *interval, map<int, int> &labelsRef, map<i
|
||||
inter->lineFile = std::make_pair(currentSt->lineNumber(), currentSt->fileName());
|
||||
inter->parent = interval;
|
||||
inter->exit_levels.push_back(0);
|
||||
inter->tag = getNextTag();
|
||||
inter->tag = currentSt->lineNumber();//getNextTag();
|
||||
interval->nested.push_back(inter);
|
||||
|
||||
findIntervals(inter, labelsRef, gotoStmts, currentSt);
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
|
||||
#include "range_structures.h"
|
||||
#include "region.h"
|
||||
|
||||
#include "..\Transformations\ExpressionSubstitution\expr_transform.h"
|
||||
#include "SgUtils.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "Utils/leak_detector.h"
|
||||
#include "Utils/leak_detector.h"
|
||||
|
||||
#pragma comment(linker, "/STACK:536870912") // 512 МБ
|
||||
|
||||
@@ -943,7 +943,7 @@ static bool runAnalysis(SgProject &project, const int curr_regime, const bool ne
|
||||
}
|
||||
}
|
||||
else if (curr_regime == MOVE_OPERATORS)
|
||||
moveOperators(file, loopGraph, fullIR, countOfTransform);
|
||||
moveOperators(file, fullIR, countOfTransform);
|
||||
else if (curr_regime == PRIVATE_REMOVING_ANALYSIS)
|
||||
{
|
||||
auto itFound = loopGraph.find(file->filename());
|
||||
|
||||
@@ -1089,6 +1089,8 @@ static int clean(const string& funcName, SgStatement* funcSt, const map<string,
|
||||
}
|
||||
|
||||
SgGotoStmt* gotoSt = new SgGotoStmt(*contLab);
|
||||
if (st->label())
|
||||
gotoSt->setLabel(*st->label());
|
||||
st->insertStmtBefore(*gotoSt, *st->controlParent());
|
||||
|
||||
toDelete.push_back(st);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
||||
#include "../../GraphLoop/graph_loops.h"
|
||||
#include "../../CFGraph/CFGraph.h"
|
||||
|
||||
void moveOperators(SgFile *file, std::map<std::string, std::vector<LoopGraph*>>& loopGraph, const std::map<FuncInfo*, std::vector<SAPFOR::BasicBlock*>>& FullIR, int& countOfTransform);
|
||||
void moveOperators(SgFile* file, const std::map<FuncInfo*, std::vector<SAPFOR::BasicBlock*>>& FullIR, int& countOfTransform);
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#define VERSION_SPF "2467"
|
||||
#define VERSION_SPF "2472"
|
||||
|
||||
Reference in New Issue
Block a user