llvm-project/mlir/lib/IR
Dominik Grewe 1e09f0a972 Preserve function argument locations.
Previously the optional locations of function arguments were dropped in
`parseFunctionArgumentList`. This CL adds another output argument to the
function through which they are now returned. The values are then plumbed
through as an array of optional locations in the various places.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D117604
2022-01-20 00:01:12 +00:00
..
AffineExpr.cpp Apply clang-tidy fixes for performance-for-range-copy to MLIR (NFC) 2022-01-02 22:19:56 +00:00
AffineExprDetail.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
AffineMap.cpp Apply clang-tidy fixes for performance-for-range-copy to MLIR (NFC) 2022-01-02 22:19:56 +00:00
AffineMapDetail.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
AsmPrinter.cpp [mlir] Don't print `// no predecessors` on entry blocks 2022-01-19 15:57:58 -08:00
AttributeDetail.h Apply clang-tidy fixes for llvm-qualified-auto to MLIR (NFC) 2022-01-14 02:26:26 +00:00
Attributes.cpp [mlir] Convert NamedAttribute to be a class 2021-11-18 05:39:29 +00:00
Block.cpp Fix clang-tidy issues in mlir/ (NFC) 2021-12-20 20:25:01 +00:00
Builders.cpp [mlir] Finish removing Identifier from the C++ API 2022-01-12 11:58:23 -08:00
BuiltinAttributeInterfaces.cpp [mlir] Refactor ElementsAttr's value access API 2021-11-09 00:15:08 +00:00
BuiltinAttributes.cpp Revert "Define a `cppAccessorType` to const-ref in APFloatParameter and update ODS emitter to use it for verifier signatures" 2022-01-03 06:32:50 +00:00
BuiltinDialect.cpp [mlir] Convert OpTrait::FunctionLike to FunctionOpInterface 2022-01-18 20:56:53 -08:00
BuiltinTypeInterfaces.cpp [mlir] Refactor ShapedType into an interface 2022-01-12 14:12:09 -08:00
BuiltinTypes.cpp [mlir] Convert OpTrait::FunctionLike to FunctionOpInterface 2022-01-18 20:56:53 -08:00
CMakeLists.txt [mlir] Convert OpTrait::FunctionLike to FunctionOpInterface 2022-01-18 20:56:53 -08:00
Diagnostics.cpp Use more references in MLIR Diagnostic handling (NFC) 2022-01-18 06:45:04 +00:00
Dialect.cpp Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC) 2022-01-02 01:45:18 +00:00
Dominance.cpp [Dominators] Rewrite the dominator implementation for efficiency. NFC. 2021-06-01 14:46:37 -07:00
FunctionImplementation.cpp Preserve function argument locations. 2022-01-20 00:01:12 +00:00
FunctionInterfaces.cpp [mlir] Convert OpTrait::FunctionLike to FunctionOpInterface 2022-01-18 20:56:53 -08:00
IntegerSet.cpp [MLIR] Use a shared uniquer for affine maps and integer sets. 2021-12-02 23:49:32 +01:00
IntegerSetDetail.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
Location.cpp [mlir] Retain metadata for single loc fusedloc 2022-01-04 15:37:33 -08:00
MLIRContext.cpp [mlir] Optimize OperationName construction and usage 2022-01-13 21:14:36 -08:00
Operation.cpp Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC) 2022-01-02 01:45:18 +00:00
OperationSupport.cpp [mlir] Optimize OperationName construction and usage 2022-01-13 21:14:36 -08:00
PatternMatch.cpp [mlir:PDL] Fix bugs in PDLPatternModule merging 2021-12-10 19:38:43 +00:00
Region.cpp Preserve argument locations when cloning a region. 2022-01-16 21:17:23 +00:00
RegionKindInterface.cpp
SubElementInterfaces.cpp [mlir] Add new SubElementAttr/SubElementType Interfaces 2021-06-10 17:23:07 -07:00
SymbolTable.cpp Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
TensorEncoding.cpp [mlir][tensors] Introduce attribute interface/attribute for tensor encoding 2021-04-26 18:31:54 -07:00
TypeDetail.h Apply clang-tidy fixes for llvm-qualified-auto to MLIR (NFC) 2022-01-14 02:26:26 +00:00
TypeRange.cpp [mlir][IR] Refactor the internal implementation of Value 2021-03-03 14:33:37 -08:00
TypeUtilities.cpp [mlir] Optimize usage of llvm::mapped_iterator 2021-11-11 03:26:29 +00:00
Types.cpp [mlir][NFC] Move several small methods from .cpp to .h to allow more aggressive inlining 2021-06-23 00:52:26 +00:00
Value.cpp [mlir][NFC] Split the non-templated bits out of IROperand into a base class 2021-06-02 12:48:37 -07:00
Verifier.cpp Apply clang-tidy fixes for performance-for-range-copy to MLIR (NFC) 2022-01-02 22:19:56 +00:00
Visitors.cpp [MLIR] Introduce generic visitors. 2022-01-14 09:15:27 -08:00