Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/IR/
DAffineExpr.cpp513 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) in simplifyAdd() local
514 return lBin.getLHS() + (lrhs.getValue() + rhsConst.getValue()); in simplifyAdd()
553 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyAdd() local
554 return lBin.getLHS() + rhs + lrhs; in simplifyAdd()
566 auto lrhs = rBinOpExpr.getLHS(); in simplifyAdd() local
570 AffineBinaryOpExpr lrBinOpExpr = lrhs.dyn_cast<AffineBinaryOpExpr>(); in simplifyAdd()
628 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) in simplifyMul() local
629 return lBin.getLHS() * (lrhs.getValue() * rhsConst.getValue()); in simplifyMul()
635 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyMul() local
636 return (lBin.getLHS() * rhs) * lrhs; in simplifyMul()
[all …]