• Home
  • Raw
  • Download

Lines Matching refs:symbolPos

285 static bool isDivisibleBySymbol(AffineExpr expr, unsigned symbolPos,  in isDivisibleBySymbol()  argument
299 return (expr.cast<AffineSymbolExpr>().getPosition() == symbolPos); in isDivisibleBySymbol()
303 return isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, opKind) && in isDivisibleBySymbol()
304 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, opKind); in isDivisibleBySymbol()
313 return isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, in isDivisibleBySymbol()
315 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, in isDivisibleBySymbol()
321 return isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, opKind) || in isDivisibleBySymbol()
322 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, opKind); in isDivisibleBySymbol()
337 return isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, expr.getKind()); in isDivisibleBySymbol()
346 static AffineExpr symbolicDivide(AffineExpr expr, unsigned symbolPos, in symbolicDivide() argument
365 expr.getKind(), symbolicDivide(binaryExpr.getLHS(), symbolPos, opKind), in symbolicDivide()
366 symbolicDivide(binaryExpr.getRHS(), symbolPos, opKind)); in symbolicDivide()
373 symbolicDivide(binaryExpr.getLHS(), symbolPos, expr.getKind()), in symbolicDivide()
374 symbolicDivide(binaryExpr.getRHS(), symbolPos, expr.getKind())); in symbolicDivide()
379 if (!isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, opKind)) in symbolicDivide()
381 symbolicDivide(binaryExpr.getRHS(), symbolPos, opKind); in symbolicDivide()
382 return symbolicDivide(binaryExpr.getLHS(), symbolPos, opKind) * in symbolicDivide()
391 symbolicDivide(binaryExpr.getLHS(), symbolPos, expr.getKind()), in symbolicDivide()
431 unsigned symbolPos = symbolExpr.getPosition(); in simplifySemiAffine() local
432 if (!isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, expr.getKind())) in simplifySemiAffine()
436 return symbolicDivide(sLHS, symbolPos, expr.getKind()); in simplifySemiAffine()