llvm-project/mlir/lib
Alex Zinenko 3b500c694d Move SDBM uniquer into the SDBM dialect
MLIRContext does not have to be aware of the SDBM unique data structures
    directly.  Move the SDBM storage uniquer from MLIRContext to the SDBM dialect
    instance.  Expressions that previously required a context to be constructed now
    require an instance of the dialect in order to access the uniquer.  While they
    could look up the dialect in the context, it would have introduced a rather
    expensive lookup into each construction.  Instead, the caller is expected to
    obtain the dialect instance and cache it.

--

PiperOrigin-RevId: 249245199
2019-06-01 19:54:43 -07:00
..
AffineOps Unify the 'constantFold' and 'fold' hooks on an operation into just 'fold'. This new unified fold hook will take constant attributes as operands, and may return an existing 'Value *' or a constant 'Attribute' when folding. This removes the awkward situation where a simple canonicalization like "sub(x,x)->0" had to be written as a canonicalization pattern as opposed to a fold. 2019-05-20 13:44:24 -07:00
Analysis Drop AffineExpr::Null 2019-06-01 19:53:33 -07:00
Dialect Update the rewrite methods of each of the DialectConversion patterns to notify the PatternRewriter that the operation is being replaced. 2019-05-20 13:47:44 -07:00
EDSC Use lambdas for nesting edsc constructs. 2019-05-20 13:50:28 -07:00
ExecutionEngine ExecutionEngine: drop PassManager integration 2019-05-20 13:48:45 -07:00
GPU Small cleanup. 2019-06-01 19:53:53 -07:00
IR Move SDBM uniquer into the SDBM dialect 2019-06-01 19:54:43 -07:00
LLVMIR NFC: Tidy up DialectConversion.cpp and rename DialectOpConversion to DialectConversionPattern. 2019-05-20 13:48:19 -07:00
Linalg Use lambdas for nesting edsc constructs. 2019-05-20 13:50:28 -07:00
Parser Rename VectorOrTensorType to ShapedType 2019-05-20 13:43:58 -07:00
Pass Store the child function analysis maps of a ModuleAnalysisManager by unique_ptr instead of by-value. 2019-05-20 13:43:49 -07:00
Quantizer Upstream the Quantizer tool (part 4). 2019-06-01 19:53:12 -07:00
SDBM Move SDBM uniquer into the SDBM dialect 2019-06-01 19:54:43 -07:00
StandardOps Move the ConversionListBuilder utility to PatternMatch.h and rename it to RewriteListBuilder. It has no specific functionality for DialectOpConversion patterns and can be useful for RewritePatterns in general. 2019-05-20 13:47:28 -07:00
Support Remove unnecessary C++ specifier in CPP files. NFC. 2019-05-20 13:42:13 -07:00
TableGen [ODS] Allow dialect to specify C++ namespaces 2019-05-20 13:49:27 -07:00
Target Add support for streaming an OperationName into a Diagnostic. 2019-05-20 13:48:28 -07:00
Transforms [LoopFusion] Don't count terminator op in compute cost. 2019-06-01 19:52:52 -07:00
Translation Remove unnecessary C++ specifier in CPP files. NFC. 2019-05-20 13:42:13 -07:00
VectorOps NFC: Make ParseResult public and update the OpAsmParser(and thus all of the custom operation parsers) to use it instead of bool. 2019-05-10 19:23:24 -07:00
CMakeLists.txt Move SDBM infrastructure into a new SDBM dialect 2019-06-01 19:54:33 -07:00