CRIMSON integration with COMSAT

This commit is contained in:
VinhTA-Computer-Master 2022-09-15 01:41:25 -07:00 committed by GitHub
parent 7525926489
commit 399b54f35c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View File

@ -6,6 +6,9 @@
*
* Last edited: June 1, 2017
* Author: Shail Dave
*
* Last edited: Mar 25 2022
* Author: Vinh TA
*/
#include "Parser.h"
@ -143,13 +146,17 @@ bool Parser::ParseDFG(DFG* myDFG)
{
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
{
//allow live-in as true-data dependency to perform register allocation
myDFG->make_Arc(node1, node2, arcID++, distance, TrueDep, operandorder);
}
}
}
else

View File

@ -1,7 +1,4 @@
// Author: Mahdi Hamzeh
// Last edited: 4 March 2017
// Author: Shail Dave
// Author: Mahesh
#include <math.h>
//#include "RAMP.h"
@ -26,7 +23,7 @@ int schedule_id=0;
int map_id=0;
ofstream debugfile;
std::string debugfilename = "debugfile";
std::string debugfilename = "FalconCrimson_debug.txt";
int main(int argc, char *argv[])
{