summaryrefslogtreecommitdiff
path: root/mlir/lib/Transforms/Utils/FoldUtils.cpp
AgeCommit message (Expand)Author
2025-09-27[MLIR] Improve in-place folding to iterate until fixed-point (#160615)Mehdi Amini
2025-08-05Avoid unnecessary erasing of constant Locs (#151573)Majid Dadashi
2025-01-11[mlir] Migrate away from PointerUnion::{is,get} (NFC) (#122591)Kazu Hirata
2024-11-08[mlir][IR][NFC] Cleanup insertion point API usage (#115415)Matthias Springer
2023-12-21[MLIR] Erase location of folded constants (#75415)Billy Zhu
2023-12-20[mlir] Require folders to produce Values of same type (#75887)Matthias Springer
2023-12-13Revert "[MLIR] Fuse locations of merged constants (#74670)"Fangrui Song
2023-12-13[MLIR][NFC] Add fast path to fused loc flattening. (#75312)Benjamin Chetioui
2023-12-12[MLIR] Flatten fused locations when merging constants. (#75218)Benjamin Chetioui
2023-12-11[MLIR] Fuse locations of merged constants (#74670)Billy Zhu
2023-07-20[mlir] Remove some code duplication between `Builders.cpp` and `FoldUtils.cpp`Matthias Springer
2023-07-20[mlir][IR] Implement proper folder for `IsCommutative` traitMatthias Springer
2023-05-26[mlir] Move casting calls from methods to function callsTres Popp
2023-03-22[mlir][Transforms][NFC] Improve builder/listener API of OperationFolderMatthias Springer
2023-02-23[mlir][IR] Use Listener for IR callbacks in OperationFolderMatthias Springer
2022-04-07Reland [GreedPatternRewriter] Preprocess constants while building worklist wh...River Riddle
2022-04-01Revert "[GreedPatternRewriter] Preprocess constants while building worklist w...Mehdi Amini
2022-03-31[GreedPatternRewriter] Preprocess constants while building worklist when not ...River Riddle
2021-12-20Fix clang-tidy issues in mlir/ (NFC)Mehdi Amini
2021-10-13[MLIR] Replace std ops with arith dialect opsMogball
2021-09-08[Canonicalize] Don't call isBeforeInBlock in OperationFolder::tryToFold.Chris Lattner
2021-08-23[mlir][FoldUtils] Ensure the created constant dominates the replaced opRiver Riddle
2021-05-24[GreedyPatternRewriter] Introduce a config object that allows controlling int...Chris Lattner
2021-05-17Merge with mainline.Chris Lattner
2021-03-25Revert "[Canonicalizer] Process regions top-down instead of bottom up & reuse...Uday Bondhugula
2021-03-20[Canonicalizer] Process regions top-down instead of bottom up & reuse existin...Chris Lattner
2021-03-15Revert "[Canonicalizer] Process regions top-down instead of bottom up & reuse...Alex Zinenko
2021-03-14[m_Constant] Check #operands/results before hasTrait()Chris Lattner
2021-03-14[Canonicalizer] Process regions top-down instead of bottom up & reuse existin...Chris Lattner
2021-02-09[mlir][IR] Remove the concept of `OperationProperties`River Riddle
2021-02-04Make the folder more robust against op fold() methods that generate a type mi...Mehdi Amini
2021-01-08[mlir] NFC: fix trivial typosKazuaki Ishizaki
2020-12-11Revert "Revert "[mlir] Start splitting the `tensor` dialect out of `std`.""Sean Silva
2020-12-11Revert "[mlir] Start splitting the `tensor` dialect out of `std`."Sean Silva
2020-12-11[mlir] Start splitting the `tensor` dialect out of `std`.Sean Silva
2020-12-10[mlir] Remove the dependency on StandardOps from FoldUtilsRiver Riddle
2020-08-13Merge OpFolderDialectInterface with DialectFoldInterface (NFC)Mehdi Amini
2020-04-21[mlir][Transforms] Add pass to perform sparse conditional constant propagationRiver Riddle
2020-04-11[MLIR] Handle in-place folding properly in greedy pattern rewrite driverUday Bondhugula
2020-03-23[mlir] Fix unsafe create operation in GreedyPatternRewriterMaheshRavishankar
2020-03-20[MLIR] Fix op folding to not run pre-replace when not constant foldingUday Bondhugula
2020-03-12[mlir][SideEffects] Replace HasNoSideEffect with the memory effect interfaces.River Riddle
2020-03-12[mlir] Add a new `ConstantLike` trait to better identify operations that repr...River Riddle
2020-02-21Move StandardOps/Ops.h to StandardOps/IR/Ops.hRob Suderman
2020-02-10[MLIR] Allow non-binary operations to be commutativeStephen Neuendorffer
2020-01-26Mass update the MLIR license header to mention "Part of the LLVM project"Mehdi Amini
2020-01-11[mlir] NFC: Remove Value::operator* and Value::operator-> now that Value is p...River Riddle
2019-12-23NFC: Replace ValuePtr with Value and remove it now that Value is value-typed.River Riddle
2019-12-23Adjust License.txt file to use the LLVM licenseMehdi Amini
2019-12-22NFC: Introduce new ValuePtr/ValueRef typedefs to simplify the transition to V...River Riddle