Home
last modified time | relevance | path

Searched refs:lBin (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/mlir/lib/IR/
DAffineExpr.cpp511 auto lBin = lhs.dyn_cast<AffineBinaryOpExpr>(); in simplifyAdd() local
512 if (lBin && rhsConst && lBin.getKind() == AffineExprKind::Add) { in simplifyAdd()
513 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) in simplifyAdd()
514 return lBin.getLHS() + (lrhs.getValue() + rhsConst.getValue()); in simplifyAdd()
552 if (lBin && lBin.getKind() == AffineExprKind::Add) { in simplifyAdd()
553 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyAdd()
554 return lBin.getLHS() + rhs + lrhs; in simplifyAdd()
626 auto lBin = lhs.dyn_cast<AffineBinaryOpExpr>(); in simplifyMul() local
627 if (lBin && rhsConst && lBin.getKind() == AffineExprKind::Mul) { in simplifyMul()
628 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) in simplifyMul()
[all …]