llvm-project/mlir/lib/IR
Lei Zhang 3766332533 Change impl::printBinaryOp() to consider operand and result type
The operand and result types of binary ops are not necessarily the
same. For those binary ops, we cannot print in the short-form assembly.

Enhance impl:::printBinaryOp to consider operand and result types
to select which assembly form to use.

PiperOrigin-RevId: 229608142
2019-03-29 15:23:28 -07:00
..
AffineExpr.cpp Introduce AffineExpr::compose(AffineMap) 2019-03-29 15:03:36 -07:00
AffineExprDetail.h [MLIR] Sketch AffineExpr value type 2019-03-29 13:25:42 -07:00
AffineMap.cpp Simplify compositions of AffineApply 2019-03-29 15:11:56 -07:00
AffineMapDetail.h Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
AsmPrinter.cpp Provide dialect hooks for defining named aliases for AffineMap/IntegerSet/Type. 2019-03-29 15:08:55 -07:00
AttributeDetail.h Split the standard types from builtin types and move them into separate source files(StandardTypes.cpp/h). After this cl only FunctionType and IndexType are builtin types, but IndexType will likely become a standard type when the ml/cfgfunc merger is done. Mechanical NFC. 2019-03-29 14:54:07 -07:00
AttributeListStorage.h Delicately re-layer Operation, Statement, and OperationStmt, reworking 2019-03-29 14:41:05 -07:00
Attributes.cpp Emit unsupported error when parsing a DenseElementAttr with an integer type of greater than 64 bits. 2019-03-29 15:14:23 -07:00
Block.cpp Add a Block::dropAllReferences to drop all references from held instructions and call it when clearing the block. This fixes a bug where ForInst/IfInst instructions may still have references to values while being destroyed. 2019-03-29 15:13:39 -07:00
Builders.cpp Const fold splat vectors/tensors in standard add, sub, and mul ops 2019-03-29 15:09:55 -07:00
BuiltinOps.cpp Minor code cleanup - NFC. 2019-03-29 15:19:41 -07:00
Dialect.cpp Rename OperationPrefix to Namespace in Dialect. This is important as dialects will soon be able to define more than just operations. 2019-03-29 14:51:22 -07:00
Function.cpp Add a Block::dropAllReferences to drop all references from held instructions and call it when clearing the block. This fixes a bug where ForInst/IfInst instructions may still have references to values while being destroyed. 2019-03-29 15:13:39 -07:00
Instruction.cpp If an instruction contains blocks, IfInst/ForInst, make sure to drop references held by those blocks when dropping references for the instruction. 2019-03-29 15:15:23 -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 Support NameLoc and CallSiteLoc for mlir::Location 2019-03-29 14:37:34 -07:00
LocationDetail.h Support NameLoc and CallSiteLoc for mlir::Location 2019-03-29 14:37:34 -07:00
MLIRContext.cpp Move the storage of uniqued TypeStorage objects into TypeUniquer and give each context a unique TypeUniquer instance. 2019-03-29 15:19:56 -07:00
Module.cpp Implement initial support for function attributes, including parser, printer, 2019-03-29 13:02:44 -07:00
Operation.cpp Change impl::printBinaryOp() to consider operand and result type 2019-03-29 15:23:28 -07:00
PatternMatch.cpp Standardize naming of statements -> instructions, revisting the code base to be 2019-03-29 14:44:30 -07:00
StandardTypes.cpp Add support for types belonging to unknown dialects. This allows for types to be round tripped even if the dialect that defines them is not linked in. These types will be represented by a new "UnknownType" that uniques them based upon the dialect namespace and raw string type data. 2019-03-29 15:01:11 -07:00
TypeDetail.h Change derived type storage objects to define an 'operator==(const KeyTy &)' instead of converting to the KeyTy. This allows for handling cases where the KeyTy does not provide an equality operator on itself. 2019-03-29 15:19:11 -07:00
Types.cpp Add support for types belonging to unknown dialects. This allows for types to be round tripped even if the dialect that defines them is not linked in. These types will be represented by a new "UnknownType" that uniques them based upon the dialect namespace and raw string type data. 2019-03-29 15:01:11 -07:00
Value.cpp Drop all uses of the ForInst induction variable before deleting ForInst 2019-03-29 15:00:26 -07:00