Lines Matching defs:DepMatrix
88 static void printDepMatrix(CharMatrix &DepMatrix) {
89 for (auto &Row : DepMatrix) {
97 static bool populateDependencyMatrix(CharMatrix &DepMatrix, unsigned Level,
186 DepMatrix.push_back(Dep);
196 static void interChangeDependencies(CharMatrix &DepMatrix, unsigned FromIndx,
198 for (unsigned I = 0, E = DepMatrix.size(); I < E; ++I)
199 std::swap(DepMatrix[I][ToIndx], DepMatrix[I][FromIndx]);
217 static bool isLegalToInterChangeLoops(CharMatrix &DepMatrix,
220 unsigned NumRows = DepMatrix.size();
226 Cur = DepMatrix[Row];
290 CharMatrix &DepMatrix);
349 CharMatrix &DepMatrix,
361 CharMatrix &DepMatrix);
981 CharMatrix &DepMatrix) {
982 if (!isLegalToInterChangeLoops(DepMatrix, InnerLoopId, OuterLoopId)) {
1169 unsigned InnerLoopId, unsigned OuterLoopId, CharMatrix &DepMatrix) {
1170 for (auto &Row : DepMatrix) {
1186 return std::optional<bool>(!DepMatrix.empty());
1191 unsigned OuterLoopId, CharMatrix &DepMatrix,
1208 isProfitableForVectorization(InnerLoopId, OuterLoopId, DepMatrix);