o.nikitin_private_arrays #58
Submodule projects/dvm updated: a711f8ebfd...ca44a63d14
@@ -508,13 +508,13 @@ AccessingSet AccessingSet::Diff(const AccessingSet& secondSet) const
|
|||||||
return uncovered;
|
return uncovered;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator!=(const ArrayDimension& lhs, const ArrayDimension& rhs)
|
static bool operator!=(const ArrayDimension& lhs, const ArrayDimension& rhs)
|
||||||
{
|
{
|
||||||
return !(lhs.start == rhs.start && lhs.step == rhs.step && lhs.tripCount == rhs.tripCount);
|
return !(lhs.start == rhs.start && lhs.step == rhs.step && lhs.tripCount == rhs.tripCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool operator!=(const AccessingSet& lhs, const AccessingSet& rhs)
|
static bool operator!=(const AccessingSet& lhs, const AccessingSet& rhs)
|
||||||
{
|
{
|
||||||
for (size_t i = 0; i < lhs.allElements.size(); i++)
|
for (size_t i = 0; i < lhs.allElements.size(); i++)
|
||||||
{
|
{
|
||||||
@@ -529,7 +529,7 @@ bool operator!=(const AccessingSet& lhs, const AccessingSet& rhs)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator!=(const ArrayAccessingIndexes& lhs, const ArrayAccessingIndexes& rhs)
|
static bool operator!=(const ArrayAccessingIndexes& lhs, const ArrayAccessingIndexes& rhs)
|
||||||
{
|
{
|
||||||
if(lhs.size() != rhs.size())
|
if(lhs.size() != rhs.size())
|
||||||
{
|
{
|
||||||
@@ -628,7 +628,7 @@ Region::Region(LoopGraph* loop, vector<SAPFOR::BasicBlock*>& Blocks)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SolveDataFlowIteratively(Region* DFG)
|
static void SolveDataFlowIteratively(Region* DFG)
|
||||||
{
|
{
|
||||||
unordered_set<Region*> worklist(DFG->getBasickBlocks());
|
unordered_set<Region*> worklist(DFG->getBasickBlocks());
|
||||||
do
|
do
|
||||||
@@ -661,7 +661,7 @@ void SolveDataFlowIteratively(Region* DFG)
|
|||||||
while (!worklist.empty());
|
while (!worklist.empty());
|
||||||
}
|
}
|
||||||
|
|
||||||
void SolveDataFlow(Region* DFG)
|
static void SolveDataFlow(Region* DFG)
|
||||||
{
|
{
|
||||||
SolveDataFlowIteratively(DFG);
|
SolveDataFlowIteratively(DFG);
|
||||||
for (Region* subRegion : DFG->getSubRegions())
|
for (Region* subRegion : DFG->getSubRegions())
|
||||||
|
|||||||
Reference in New Issue
Block a user