Lines Matching defs:isCurrentLoop
48 /// parameter `isCurrentLoop` when expression just became invariant.
49 static bool isInvariantAffine(AffineExpr a, LoopId curr, bool &isCurrentLoop) {
54 isCurrentLoop = true;
62 return isInvariantAffine(binOp.getLHS(), curr, isCurrentLoop) &&
63 isInvariantAffine(binOp.getRHS(), curr, isCurrentLoop);
699 bool isCurrentLoop = curr == 0; // for scalar tensors
702 if (!isInvariantAffine(a, curr, /*out*/ isCurrentLoop))
706 if (!isCurrentLoop)
1073 bool isCurrentLoop = false;
1075 if (isInvariantAffine(exp, curr + 1, /*out*/ isCurrentLoop) &&
1076 isCurrentLoop) {