llvm-project/mlir/lib/Dialect/Bufferization/Transforms
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
..
BufferDeallocation.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
BufferOptimizations.cpp [MLIR] Update pass declarations to new autogenerated files 2022-08-31 12:28:45 +02:00
BufferResultsToOutParams.cpp Merge kDynamicSize and kDynamicSentinel into one constant. 2022-11-21 13:01:26 +00:00
BufferUtils.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
BufferViewFlowAnalysis.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
Bufferize.cpp [mlir] Use std::nullopt instead of None (NFC) 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
DropEquivalentBufferResults.cpp [mlir] Remove support for non-prefixed accessors 2022-12-02 13:32:36 -08:00
EmptyTensorElimination.cpp [mlir][bufferize][NFC] Consolidate transform header files 2022-11-11 14:33:23 +01:00
EmptyTensorToAllocTensor.cpp [mlir][bufferize][NFC] Consolidate transform header files 2022-11-11 14:33:23 +01:00
FuncBufferizableOpInterfaceImpl.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
OneShotAnalysis.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
OneShotModuleBufferize.cpp [mlir][sparse][bufferization] cleanup bufferization attributes after SparsificationAndBufferizationPass 2022-12-02 23:03:54 +00:00
TensorCopyInsertion.cpp [mlir][bufferization] Make `TensorCopyInsertionPass` a test pass 2022-12-02 15:38:02 +01:00