Lines Matching refs:DepMatrix
76 static void printDepMatrix(CharMatrix &DepMatrix) { in printDepMatrix() argument
77 for (auto &Row : DepMatrix) { in printDepMatrix()
85 static bool populateDependencyMatrix(CharMatrix &DepMatrix, unsigned Level, in populateDependencyMatrix() argument
160 DepMatrix.push_back(Dep); in populateDependencyMatrix()
161 if (DepMatrix.size() > MaxMemInstrCount) { in populateDependencyMatrix()
175 static void interChangeDependencies(CharMatrix &DepMatrix, unsigned FromIndx, in interChangeDependencies() argument
177 for (unsigned I = 0, E = DepMatrix.size(); I < E; ++I) in interChangeDependencies()
178 std::swap(DepMatrix[I][ToIndx], DepMatrix[I][FromIndx]); in interChangeDependencies()
196 static bool isLegalToInterChangeLoops(CharMatrix &DepMatrix, in isLegalToInterChangeLoops() argument
199 unsigned NumRows = DepMatrix.size(); in isLegalToInterChangeLoops()
205 Cur = DepMatrix[Row]; in isLegalToInterChangeLoops()
249 CharMatrix &DepMatrix);
308 CharMatrix &DepMatrix,
320 CharMatrix &DepMatrix);
945 CharMatrix &DepMatrix) { in canInterchangeLoops() argument
946 if (!isLegalToInterChangeLoops(DepMatrix, InnerLoopId, OuterLoopId)) { in canInterchangeLoops()
1133 unsigned InnerLoopId, unsigned OuterLoopId, CharMatrix &DepMatrix) { in isProfitableForVectorization() argument
1134 for (auto &Row : DepMatrix) { in isProfitableForVectorization()
1150 return std::optional<bool>(!DepMatrix.empty()); in isProfitableForVectorization()
1155 unsigned OuterLoopId, CharMatrix &DepMatrix, in isProfitable() argument
1172 isProfitableForVectorization(InnerLoopId, OuterLoopId, DepMatrix); in isProfitable()