Commit a1fe1f5
committed
[mlir] Add #include <optional> (NFC)
This patch adds #include <optional> to those files containing
llvm::Optional<...> or Optional<...>.
I'll post a separate patch to actually replace llvm::Optional with
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/637161 parent a3e975d commit a1fe1f5
File tree
223 files changed
+223
-0
lines changed- mlir
- examples/toy
- Ch1/include/toy
- Ch2/include/toy
- Ch3/include/toy
- Ch4/include/toy
- Ch5/include/toy
- Ch6/include/toy
- Ch7
- include/toy
- mlir
- include/mlir
- Analysis
- DataFlow
- Presburger
- Conversion/MathToLibm
- Dialect
- Affine
- Analysis
- Bufferization/IR
- Func/Transforms
- GPU/Transforms
- LLVMIR
- Linalg
- Analysis
- IR
- Utils
- MemRef/IR
- SCF/Utils
- SPIRV/IR
- SparseTensor/Utils
- Tosa/Utils
- Transform
- IR
- Utils
- Utils
- Vector/Transforms
- ExecutionEngine
- IR
- Interfaces
- Pass
- Support
- Tools
- PDLL
- AST
- Parser
- mlir-translate
- Transforms
- lib
- Analysis
- DataFlow
- Presburger
- AsmParser
- Bindings/Python
- CAPI
- IR
- Interfaces
- Conversion
- AMDGPUToROCDL
- GPUToSPIRV
- MathToLibm
- MemRefToSPIRV
- SCFToGPU
- VectorToSCF
- Dialect
- AMDGPU/IR
- Affine
- Analysis
- Transforms
- Utils
- Arith/IR
- Bufferization
- IR
- Transforms
- GPU/Transforms
- Index/IR
- LLVMIR/IR
- Linalg
- IR
- Transforms
- Utils
- Math/IR
- MemRef
- IR
- Transforms
- PDL/IR
- SCF/Transforms
- SPIRV
- IR
- Transforms
- SparseTensor
- Transforms
- Utils
- Tensor/IR
- Utils
- Vector/Transforms
- ExecutionEngine
- IR
- Interfaces
- Pass
- Rewrite
- Support
- Target
- LLVMIR
- SPIRV
- Deserialization
- Serialization
- Tools
- PDLL
- AST
- CodeGen
- ODS
- Parser
- lsp-server-support
- mlir-lsp-server
- mlir-pdll-lsp-server
- mlir-translate
- tblgen-lsp-server
- Transforms
- Utils
- test/lib
- Analysis
- DataFlow
- Dialect
- Shape
- Test
- Vector
- Interfaces/TilingInterface
- Transforms
- tools/mlir-tblgen
- unittests
- Analysis/Presburger
- IR
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
223 files changed
+223
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments