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