llvm-project/mlir/lib/Conversion/LLVMCommon
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] (NFC) Clean up bazel and CMake target names 2022-06-13 16:24:15 +00:00
ConversionTarget.cpp [mlir] replace llvm.mlir.cast with unrealized_conversion_cast 2021-07-16 15:14:09 +02:00
LoweringOptions.cpp
MemRefBuilder.cpp Merge kDynamicSize and kDynamicSentinel into one constant. 2022-11-21 13:01:26 +00:00
MemRefDescriptor.h
Pattern.cpp Merge kDynamicSize and kDynamicSentinel into one constant. 2022-11-21 13:01:26 +00:00
StructBuilder.cpp [mlir][LLVMIR] "Modernize" Insert/ExtractValueOp 2022-08-10 12:51:11 -04:00
TypeConverter.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
VectorPattern.cpp [mlir][arith] Initial support for fastmath flag attributes in the Arithmetic dialect (v2) 2022-10-26 11:56:16 -07:00