Lines Matching refs:binaryExpr
302 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in isDivisibleBySymbol() local
303 return isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, opKind) && in isDivisibleBySymbol()
304 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, opKind); in isDivisibleBySymbol()
312 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in isDivisibleBySymbol() local
313 return isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, in isDivisibleBySymbol()
315 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, in isDivisibleBySymbol()
320 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in isDivisibleBySymbol() local
321 return isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, opKind) || in isDivisibleBySymbol()
322 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, opKind); in isDivisibleBySymbol()
334 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in isDivisibleBySymbol() local
337 return isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, expr.getKind()); in isDivisibleBySymbol()
363 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in symbolicDivide() local
365 expr.getKind(), symbolicDivide(binaryExpr.getLHS(), symbolPos, opKind), in symbolicDivide()
366 symbolicDivide(binaryExpr.getRHS(), symbolPos, opKind)); in symbolicDivide()
370 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in symbolicDivide() local
373 symbolicDivide(binaryExpr.getLHS(), symbolPos, expr.getKind()), in symbolicDivide()
374 symbolicDivide(binaryExpr.getRHS(), symbolPos, expr.getKind())); in symbolicDivide()
378 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in symbolicDivide() local
379 if (!isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, opKind)) in symbolicDivide()
380 return binaryExpr.getLHS() * in symbolicDivide()
381 symbolicDivide(binaryExpr.getRHS(), symbolPos, opKind); in symbolicDivide()
382 return symbolicDivide(binaryExpr.getLHS(), symbolPos, opKind) * in symbolicDivide()
383 binaryExpr.getRHS(); in symbolicDivide()
388 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in symbolicDivide() local
391 symbolicDivide(binaryExpr.getLHS(), symbolPos, expr.getKind()), in symbolicDivide()
392 binaryExpr.getRHS()); in symbolicDivide()
411 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in simplifySemiAffine() local
413 simplifySemiAffine(binaryExpr.getLHS()), in simplifySemiAffine()
414 simplifySemiAffine(binaryExpr.getRHS())); in simplifySemiAffine()
424 AffineBinaryOpExpr binaryExpr = expr.cast<AffineBinaryOpExpr>(); in simplifySemiAffine() local
425 AffineExpr sLHS = simplifySemiAffine(binaryExpr.getLHS()); in simplifySemiAffine()
426 AffineExpr sRHS = simplifySemiAffine(binaryExpr.getRHS()); in simplifySemiAffine()
428 simplifySemiAffine(binaryExpr.getRHS()).dyn_cast<AffineSymbolExpr>(); in simplifySemiAffine()
432 if (!isDivisibleBySymbol(binaryExpr.getLHS(), symbolPos, expr.getKind())) in simplifySemiAffine()