llvm-project/mlir/lib/IR
River Riddle c234b65cef [mlir][OpFormat] Add support for emitting newlines from the custom format of an operation
This revision adds a new `printNewline` hook to OpAsmPrinter that allows for printing a newline within the custom format of an operation, that is then indented to the start of the operation. Support for the declarative assembly format is also added, in the form of a `\n` literal.

Differential Revision: https://reviews.llvm.org/D93151
2020-12-14 12:00:43 -08:00
..
AffineExpr.cpp [mlir] Remove the use of "kinds" from Attributes and Types 2020-08-18 16:20:14 -07:00
AffineExprDetail.h [mlir] Remove the use of "kinds" from Attributes and Types 2020-08-18 16:20:14 -07:00
AffineMap.cpp [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h 2020-12-03 18:02:11 -08:00
AffineMapDetail.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
AsmPrinter.cpp [mlir][OpFormat] Add support for emitting newlines from the custom format of an operation 2020-12-14 12:00:43 -08:00
AttributeDetail.h [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h 2020-12-03 18:02:11 -08:00
Attributes.cpp [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h 2020-12-03 18:02:11 -08:00
Block.cpp [mlir][PDL] Add support for PDL bytecode and expose PDL support to OwningRewritePatternList 2020-12-01 15:05:50 -08:00
Builders.cpp [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h 2020-12-03 18:02:11 -08:00
BuiltinAttributes.cpp [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h 2020-12-03 18:02:11 -08:00
BuiltinDialect.cpp [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00
BuiltinTypes.cpp [mlir][ArmNeon][RFC] Add a Neon dialect 2020-12-11 13:49:40 +00:00
CMakeLists.txt [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h 2020-12-03 18:02:11 -08:00
Diagnostics.cpp [mlir][Attribute] Remove usages of Attribute::getKind 2020-08-07 13:43:25 -07:00
Dialect.cpp Remove global dialect registration 2020-10-24 00:35:55 +00:00
Dominance.cpp [mlir] Fix post-dominance between blocks of different regions. 2020-11-11 11:20:53 -08:00
FunctionImplementation.cpp [MLIR] Fix parseFunctionLikeOp() to fail parsing empty regions 2020-12-04 09:09:59 -08:00
FunctionSupport.cpp [MLIR] Move eraseArguments and eraseResults to FunctionLike 2020-11-03 16:53:46 -07:00
IntegerSet.cpp [MLIR][NFC] drop some unnecessary includes 2020-03-27 09:17:27 +05:30
IntegerSetDetail.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
Location.cpp [mlir] Remove the use of "kinds" from Attributes and Types 2020-08-18 16:20:14 -07:00
LocationDetail.h [mlir][NFC] Refactor ClassID into a TypeID class. 2020-04-10 23:52:33 -07:00
MLIRContext.cpp [mlir][IR] Remove references to BuiltinOps from IR/ 2020-12-03 15:47:01 -08:00
Operation.cpp [mlir][IR] Move the storage for results to before the Operation instead of after. 2020-12-04 21:01:42 -08:00
OperationSupport.cpp [mlir][IR] Move the storage for results to before the Operation instead of after. 2020-12-04 21:01:42 -08:00
PatternMatch.cpp [mlir][PDL] Add support for PDL bytecode and expose PDL support to OwningRewritePatternList 2020-12-01 15:05:50 -08:00
Region.cpp [NFC] Add getArgumentTypes() to Region 2020-07-28 18:27:42 -07:00
RegionKindInterface.cpp [MLIR] Add RegionKindInterface 2020-07-15 14:27:05 -07:00
SymbolTable.cpp [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
TypeDetail.h [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00
TypeRange.cpp [mlir] Add an assertion on creating an Operation with null result types 2020-11-19 22:28:38 +01:00
TypeUtilities.cpp [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00
Types.cpp [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00
Value.cpp [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00
Verifier.cpp [MLIR] Flag no-terminator error on the last operation of non-empty blocks 2020-11-09 09:42:11 -08:00
Visitors.cpp [MLIR] Support walks over regions and blocks 2020-11-04 12:50:05 +00:00