Skip to content

Commit 1ba7d6d

Browse files
committed
[Autobackout][FuncReg]Revert of change: 695f6bb
SWSB code refactor Change-Id: I98ce76999e0ffd94583cdb4bf3f991d216369289
1 parent f762f62 commit 1ba7d6d

File tree

4 files changed

+267
-354
lines changed

4 files changed

+267
-354
lines changed

visa/FlowGraph.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -3834,16 +3834,6 @@ void G4_Kernel::emit_asm(std::ostream& output, bool beforeRegAlloc, void * binar
38343834
output << "//.twoSrcBankConflicts: " << fg.G12BCStats.twoSrcBC << "\n";
38353835
output << "//.SIMD8s: " << fg.G12BCStats.simd8 << "\n//\n";
38363836
output << "//.RMWs: " << fg.numRMWs << "\n//\n";
3837-
output << "//.sync.nop number: " << syncInstCount << "\n";
3838-
output << "//.sync.allwr number: " << AWSyncInstCount << "\n";
3839-
output << "//.sync.allrd number: " << ARSyncInstCount << "\n";
3840-
output << "//.sync.all wr number: " << AWSyncAllCount << "\n";
3841-
output << "//.sync.all rd number: " << ARSyncAllCount << "\n";
3842-
output << "//.Token reuse times: " << tokenReuseCount << "\n";
3843-
output << "//.Pruned edge number: " << prunedDepEdges << "\n";
3844-
output << "//.Pruned global edge number: " << prunedGlobalEdgeNum << "\n";
3845-
output << "//.Pruned Diff BB edge number: " << prunedDiffBBEdgeNum << "\n";
3846-
output << "//.Pruned Diff BB Same token edge number: " << prunedDiffBBSameTokenEdgeNum << "\n";
38473837
}
38483838
else
38493839
{

visa/FlowGraph.h

+1-27
Original file line numberDiff line numberDiff line change
@@ -1391,12 +1391,6 @@ class G4_Kernel
13911391
uint32_t mathReuseCount;
13921392
uint32_t ARSyncInstCount;
13931393
uint32_t AWSyncInstCount;
1394-
uint32_t ARSyncAllCount;
1395-
uint32_t AWSyncAllCount;
1396-
uint32_t prunedDepEdges;
1397-
uint32_t prunedGlobalEdgeNum;
1398-
uint32_t prunedDiffBBEdgeNum;
1399-
uint32_t prunedDiffBBSameTokenEdgeNum;
14001394

14011395
uint32_t bank_good_num;
14021396
uint32_t bank_ok_num;
@@ -1427,9 +1421,7 @@ class G4_Kernel
14271421
asmInstCount(0), kernelID(0), tokenInstructionCount(0), tokenReuseCount(0),
14281422
AWTokenReuseCount(0), ARTokenReuseCount(0), AATokenReuseCount(0),
14291423
mathInstCount(0), syncInstCount(0),mathReuseCount(0),
1430-
ARSyncInstCount(0), AWSyncInstCount(0), ARSyncAllCount(0), AWSyncAllCount(0),
1431-
prunedDepEdges(0), prunedGlobalEdgeNum(0), prunedDiffBBEdgeNum(0), prunedDiffBBSameTokenEdgeNum(0),
1432-
bank_good_num(0), bank_ok_num(0),
1424+
ARSyncInstCount(0), AWSyncInstCount(0), bank_good_num(0), bank_ok_num(0),
14331425
bank_bad_num(0), fg(alloc, this, m), major_version(major), minor_version(minor)
14341426
{
14351427
ASSERT_USER(
@@ -1506,24 +1498,6 @@ class G4_Kernel
15061498
void setAWSyncInstCount(int count) {AWSyncInstCount= count; }
15071499
uint32_t getAWSyncInstCount() {return AWSyncInstCount; }
15081500

1509-
void setARSyncAllCount(int count) { ARSyncAllCount = count; }
1510-
uint32_t getARSyncAllCount() { return ARSyncAllCount; }
1511-
1512-
void setAWSyncAllCount(int count) { AWSyncAllCount = count; }
1513-
uint32_t getAWSyncAllCount() { return AWSyncAllCount; }
1514-
1515-
void setPrunedEdgeNum(int num) { prunedDepEdges = num; }
1516-
uint32_t getPrunedEdgeNum() { return prunedDepEdges; }
1517-
1518-
void setPrunedGlobalEdgeNum(int num) { prunedGlobalEdgeNum = num; }
1519-
uint32_t getPrunedGlobalEdgeNum() { return prunedGlobalEdgeNum; }
1520-
1521-
void setPrunedDiffBBEdgeNum(int num) { prunedDiffBBEdgeNum = num; }
1522-
uint32_t getPrunedDiffBBEdgeNum() { return prunedDiffBBEdgeNum; }
1523-
1524-
void setPrunedDiffBBSameTokenEdgeNum(int num) { prunedDiffBBSameTokenEdgeNum = num; }
1525-
uint32_t getPrunedDiffBBSameTokenEdgeNum() { return prunedDiffBBSameTokenEdgeNum; }
1526-
15271501
void setBankGoodNum(int num) {bank_good_num = num; }
15281502
uint32_t getBankGoodNum() {return bank_good_num; }
15291503

0 commit comments

Comments
 (0)