llvm-project/mlir/lib/IR
River Riddle d097cc6119 Add support for parsing/printing the trailing type of a dialect attribute.
This cl standardizes the printing of the type of dialect attributes to work the same as other attribute kinds. The type of dialect attributes will trail the dialect specific portion:

`#` dialect-namespace `<` attr-data `>` `:` type

The attribute parsing hooks on Dialect have been updated to take an optionally null expected type for the attribute. This matches the respective parseAttribute hooks in the OpAsmParser.

PiperOrigin-RevId: 258661298
2019-07-19 11:39:04 -07:00
..
AffineExpr.cpp More general subview calculation in tiling 2019-07-03 14:36:42 -07:00
AffineExprDetail.h AffineExpr: factor uniqu'ing out of MLIRContext.cpp 2019-06-01 19:53:43 -07:00
AffineMap.cpp More general subview calculation in tiling 2019-07-03 14:36:42 -07:00
AffineMapDetail.h Remove "size" property of affine maps. 2019-06-01 20:09:02 -07:00
AsmPrinter.cpp Rename FunctionAttr to SymbolRefAttr. 2019-07-12 08:43:42 -07:00
AttributeDetail.h Add support for parsing/printing the trailing type of a dialect attribute. 2019-07-19 11:39:04 -07:00
Attributes.cpp Add support for parsing/printing the trailing type of a dialect attribute. 2019-07-19 11:39:04 -07:00
Block.cpp Refactor the conversion of block argument types in DialectConversion. 2019-07-19 11:38:45 -07:00
Builders.cpp Remove the 'region' field from OpBuilder. 2019-07-12 17:42:41 -07:00
CMakeLists.txt Link MLIRSupport to IR in OSS 2019-05-06 08:20:38 -07:00
Diagnostics.cpp NFC: Don't print the location of a diagnostic if it is unknown. 2019-07-12 17:43:08 -07:00
Dialect.cpp Add support for parsing/printing the trailing type of a dialect attribute. 2019-07-19 11:39:04 -07:00
Function.cpp Update the dialect attribute verifiers related to functions. 2019-07-12 08:43:55 -07:00
IntegerSet.cpp Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
IntegerSetDetail.h Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
Location.cpp NFC: Uniformize the return of the LocationAttr 'get' methods to 'Location'. 2019-06-25 16:57:56 -07:00
LocationDetail.h Refactor the location classes to be attributes instead of separate IR classes. 2019-06-22 09:17:51 -07:00
MLIRContext.cpp Rename FunctionAttr to SymbolRefAttr. 2019-07-12 08:43:42 -07:00
Module.cpp Update ModuleOp::create(...) to take a Location instead of a context. 2019-07-10 10:11:00 -07:00
Operation.cpp FuncOp::eraseBody: drop all references before erasing blocks 2019-07-12 08:43:35 -07:00
OperationSupport.cpp gpu::LaunchOp: canonicalize away constant kernel arguments 2019-07-01 17:03:03 -07:00
PatternMatch.cpp Add an overload to 'PatternRewriter::inlineRegionBefore' that accepts a parent region for the insertion position. This allows for inlining the given region into the end of another region. 2019-06-22 09:15:21 -07:00
Region.cpp Refactor the conversion of block argument types in DialectConversion. 2019-07-19 11:38:45 -07:00
StandardTypes.cpp Move the emitError/Warning/Remark utility methods out of MLIRContext and into the mlir namespace. 2019-06-25 21:32:23 -07:00
SymbolTable.cpp Generalize the symbol table functionality of ModuleOp into a trait 'OpTrait::SymbolTable'. 2019-07-08 22:31:56 -07:00
TypeDetail.h Make MemRefType subclass ShapedType 2019-06-01 20:12:40 -07:00
Types.cpp Add support for SPIR-V Struct Types. Current support is limited to 2019-07-02 16:43:36 -07:00
Value.cpp NFC: Rename Function to FuncOp. 2019-07-10 10:10:53 -07:00