Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/IR/
DAffineExpr.cpp489 auto lhsConst = lhs.dyn_cast<AffineConstantExpr>(); in simplifyAdd() local
492 if (lhsConst && rhsConst) in simplifyAdd()
493 return getAffineConstantExpr(lhsConst.getValue() + rhsConst.getValue(), in simplifyAdd()
597 auto lhsConst = lhs.dyn_cast<AffineConstantExpr>(); in simplifyMul() local
600 if (lhsConst && rhsConst) in simplifyMul()
601 return getAffineConstantExpr(lhsConst.getValue() * rhsConst.getValue(), in simplifyMul()
667 auto lhsConst = lhs.dyn_cast<AffineConstantExpr>(); in simplifyFloorDiv() local
674 if (lhsConst) in simplifyFloorDiv()
676 floorDiv(lhsConst.getValue(), rhsConst.getValue()), lhs.getContext()); in simplifyFloorDiv()
723 auto lhsConst = lhs.dyn_cast<AffineConstantExpr>(); in simplifyCeilDiv() local
[all …]