llvm-project/mlir/lib/IR
Uday Bondhugula 41a8b46007 [MLIR] Fix AffineExpr getLargestKnownDivisor for ceildiv and floordiv
Fix AffineExpr `getLargestKnownDivisor` for ceil/floor div cases.
In these cases, nothing can be inferred on the divisor of the
result.

Add test case for `mod` as well.

Differential Revision: https://reviews.llvm.org/D112523
2021-10-26 16:21:29 +05:30
..
AffineExpr.cpp [MLIR] Fix AffineExpr getLargestKnownDivisor for ceildiv and floordiv 2021-10-26 16:21:29 +05:30
AffineExprDetail.h [mlir] Remove the use of "kinds" from Attributes and Types 2020-08-18 16:20:14 -07:00
AffineMap.cpp [mlir][Linalg] Enable vectorization of explicit broadcasts 2021-10-12 21:08:22 +00: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][RFC] Refactor layout representation in MemRefType 2021-10-19 12:31:15 +03:00
AttributeDetail.h [mlir][IR] Move the remaining builtin attributes to ODS. 2021-03-16 16:31:53 -07:00
Attributes.cpp [mlir][NFC] Move several small methods from .cpp to .h to allow more aggressive inlining 2021-06-23 00:52:26 +00:00
Block.cpp Use early exist and simplify a condition in Block SuccessorRange (NFC) 2021-06-16 19:42:41 +00:00
Builders.cpp [Builder] Eliminate the StringRef/StringAttr forms of getSymbolRefAttr. 2021-08-30 16:05:36 -07:00
BuiltinAttributeInterfaces.cpp [mlir][RFC] Refactor layout representation in MemRefType 2021-10-19 12:31:15 +03:00
BuiltinAttributes.cpp [mlir] fix bugs with NamedAttrList 2021-10-19 01:30:00 +00:00
BuiltinDialect.cpp [mlir] Allow to override type/attr aliases from various hooks 2021-08-06 12:05:31 +03:00
BuiltinTypes.cpp [mlir][RFC] Refactor layout representation in MemRefType 2021-10-19 12:31:15 +03:00
CMakeLists.txt [mlir] Refactor ElementsAttr into an AttrInterface 2021-09-21 01:57:43 +00:00
Diagnostics.cpp [mlir] Add support for specifying printing flags when adding an op to a Diagnostic 2021-10-18 15:07:55 +00:00
Dialect.cpp [mlir:OpAsm] Factor out the common bits of (Op/Dialect)Asm(Parser/Printer) 2021-09-24 20:12:19 +00:00
Dominance.cpp [Dominators] Rewrite the dominator implementation for efficiency. NFC. 2021-06-01 14:46:37 -07:00
FunctionImplementation.cpp Change ASM Op printer to print the operation name in the framework instead of leaving it up to each individual operation 2021-08-31 17:52:40 +00:00
FunctionSupport.cpp [MLIR] Add argument insertion helpers for FunctionLike 2021-07-01 09:18:57 +02: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] Add support for walking locations similarly to Operations 2021-04-15 16:09:34 -07:00
MLIRContext.cpp Use StringRef::contains (NFC) 2021-10-23 20:41:46 -07:00
Operation.cpp [mlir] Add support for specifying printing flags when adding an op to a Diagnostic 2021-10-18 15:07:55 +00:00
OperationSupport.cpp [mlir] Move the Operation use iteration utilities to ResultRange 2021-08-25 09:27:35 +00:00
PatternMatch.cpp [mlir][Pattern] Add better support for using interfaces/traits to match root operations in rewrite patterns 2021-03-23 14:05:33 -07:00
Region.cpp [mlir][NFC] Move several small methods from .cpp to .h to allow more aggressive inlining 2021-06-23 00:52:26 +00:00
RegionKindInterface.cpp [MLIR] Add RegionKindInterface 2020-07-15 14:27:05 -07:00
SubElementInterfaces.cpp [mlir] Add new SubElementAttr/SubElementType Interfaces 2021-06-10 17:23:07 -07:00
SymbolTable.cpp [SymbolRefAttr] Revise SymbolRefAttr to hold a StringAttr. 2021-08-29 21:54:47 -07:00
TensorEncoding.cpp [mlir][tensors] Introduce attribute interface/attribute for tensor encoding 2021-04-26 18:31:54 -07:00
TypeDetail.h [mlir] Compare elements directly rather than creating pair first 2021-03-24 14:39:11 -07:00
TypeRange.cpp [mlir][IR] Refactor the internal implementation of Value 2021-03-03 14:33:37 -08:00
TypeUtilities.cpp [mlir] Correct verifyCompatibleShapes 2021-03-11 13:04:10 +01: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 Remove unused llvm/Support/Parallel.h from MLIR (NFC) 2021-09-14 23:30:42 +00:00
Visitors.cpp [mlir] Add 'Skip' result to Operation visitor 2021-03-06 00:02:20 +02:00