llvm-project/mlir/lib/Transforms/Utils
Kazu Hirata 1a36588ec6 [mlir] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-03 18:50:27 -08:00
..
CMakeLists.txt [mlir] Remove `Transforms/SideEffectUtils.h` and move the methods into `Interface/SideEffectInterfaces.h`. 2022-11-15 20:07:35 +00:00
CommutativityUtils.cpp [mlir] Remove redundaunt return statements (NFC) 2022-08-07 00:16:13 -07:00
ControlFlowSinkUtils.cpp [mlir] Refactor LICM into a utility 2022-04-16 00:37:07 +00:00
DialectConversion.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
FoldUtils.cpp Reland [GreedPatternRewriter] Preprocess constants while building worklist when not processing top down 2022-04-07 11:31:42 -07:00
GreedyPatternRewriteDriver.cpp [mlir] GreedyPatternRewriter: Reprocess modified ops 2022-11-18 11:43:44 +01:00
InliningUtils.cpp [mlir] Move the Builtin FuncOp to the Func dialect 2022-03-16 17:07:03 -07:00
LoopInvariantCodeMotionUtils.cpp [mlir] Remove `Transforms/SideEffectUtils.h` and move the methods into `Interface/SideEffectInterfaces.h`. 2022-11-15 20:07:35 +00:00
RegionUtils.cpp [mlir] Add support for operation-produced successor arguments in BranchOpInterface 2022-04-08 08:28:16 +02:00
TopologicalSortUtils.cpp [mlir][transforms] TopologicalSort: Support ops from different blocks 2022-10-13 10:36:06 +09:00