CRIMSON integration with COMSAT
This commit is contained in:
parent
7525926489
commit
399b54f35c
|
@ -6,6 +6,9 @@
|
||||||
*
|
*
|
||||||
* Last edited: June 1, 2017
|
* Last edited: June 1, 2017
|
||||||
* Author: Shail Dave
|
* Author: Shail Dave
|
||||||
|
*
|
||||||
|
* Last edited: Mar 25 2022
|
||||||
|
* Author: Vinh TA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Parser.h"
|
#include "Parser.h"
|
||||||
|
@ -143,13 +146,17 @@ bool Parser::ParseDFG(DFG* myDFG)
|
||||||
{
|
{
|
||||||
myDFG->make_Arc(node1, node2, arcID++, distance, MemoryDep, operandorder);
|
myDFG->make_Arc(node1, node2, arcID++, distance, MemoryDep, operandorder);
|
||||||
}
|
}
|
||||||
|
else if (!strcmp(edge_type, "LCE")){
|
||||||
|
node1->set_node_mode(2);
|
||||||
|
node2->set_node_mode(1);
|
||||||
|
cout << "ParseDFG: parsing loop control edge\n Node1: " << node1->getName() << " - Node2: " << node2->getName() << endl;
|
||||||
|
//cout << "Skipping LCE - node1: " << node1->getName() << " - node2: " << node2->getName() << endl;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//allow live-in as true-data dependency to perform register allocation
|
//allow live-in as true-data dependency to perform register allocation
|
||||||
myDFG->make_Arc(node1, node2, arcID++, distance, TrueDep, operandorder);
|
myDFG->make_Arc(node1, node2, arcID++, distance, TrueDep, operandorder);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
// Author: Mahdi Hamzeh
|
// Author: Mahesh
|
||||||
|
|
||||||
// Last edited: 4 March 2017
|
|
||||||
// Author: Shail Dave
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
//#include "RAMP.h"
|
//#include "RAMP.h"
|
||||||
|
@ -26,7 +23,7 @@ int schedule_id=0;
|
||||||
int map_id=0;
|
int map_id=0;
|
||||||
|
|
||||||
ofstream debugfile;
|
ofstream debugfile;
|
||||||
std::string debugfilename = "debugfile";
|
std::string debugfilename = "FalconCrimson_debug.txt";
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue