llvm-project/mlir/lib/Transforms
River Riddle 3de0c7696b Rewrite the DialectOpConversion patterns to inherit from RewritePattern instead of Pattern. This simplifies the infrastructure a bit by being able to reuse PatternRewriter and the RewritePatternMatcher, but also starts to lay the groundwork for a more generalized legalization framework that can operate on DialectOpConversions as well as normal RewritePatterns.
--

PiperOrigin-RevId: 248836492
2019-05-20 13:47:01 -07:00
..
Utils Rewrite the DialectOpConversion patterns to inherit from RewritePattern instead of Pattern. This simplifies the infrastructure a bit by being able to reuse PatternRewriter and the RewritePatternMatcher, but also starts to lay the groundwork for a more generalized legalization framework that can operate on DialectOpConversions as well as normal RewritePatterns. 2019-05-20 13:47:01 -07:00
Vectorization Remove some extraneous const qualifiers on Type, and 0b1 -> 1 in tblgen files. (NFC) 2019-05-20 13:42:56 -07:00
CMakeLists.txt 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
CSE.cpp Replace usages of Instruction with Operation in the Transforms/ directory. 2019-03-29 17:47:26 -07:00
Canonicalizer.cpp Simplify API uses of `getContext()` (NFC) 2019-03-29 17:47:11 -07:00
DialectConversion.cpp Rewrite the DialectOpConversion patterns to inherit from RewritePattern instead of Pattern. This simplifies the infrastructure a bit by being able to reuse PatternRewriter and the RewritePatternMatcher, but also starts to lay the groundwork for a more generalized legalization framework that can operate on DialectOpConversions as well as normal RewritePatterns. 2019-05-20 13:47:01 -07:00
DmaGeneration.cpp Remove unused function and avoid unused variable warning. NFC. 2019-05-20 13:40:23 -07:00
LoopFusion.cpp Fix lingering sign compare warnings in exposed by "ninja check-mlir". 2019-05-20 13:41:11 -07:00
LoopInvariantCodeMotion.cpp Replace Operation::isa with llvm::isa. 2019-05-20 13:37:52 -07:00
LoopTiling.cpp Add support for using llvm::dyn_cast/cast/isa for operation casts and replace usages of Operation::dyn_cast with llvm::dyn_cast. 2019-05-20 13:37:31 -07:00
LoopUnroll.cpp Replace Operation::isa with llvm::isa. 2019-05-20 13:37:52 -07:00
LoopUnrollAndJam.cpp Replace Operation::isa with llvm::isa. 2019-05-20 13:37:52 -07:00
LowerAffine.cpp Replace Operation::isa with llvm::isa. 2019-05-20 13:37:52 -07:00
LowerVectorTransfers.cpp Add support for saving and restoring the insertion point of a FuncBuilder. This also updates the edsc::ScopedContext to use a single builder that saves/restores insertion points. This is necessary for using edscs within RewritePatterns. 2019-05-20 13:46:35 -07:00
MaterializeVectors.cpp Remove unnecessary C++ specifier in CPP files. NFC. 2019-05-20 13:42:13 -07:00
MemRefDataFlowOpt.cpp Replace Operation::isa with llvm::isa. 2019-05-20 13:37:52 -07:00
PipelineDataTransfer.cpp Replace Operation::isa with llvm::isa. 2019-05-20 13:37:52 -07:00
SimplifyAffineStructures.cpp rename -memref-dependence-check to -test-memref-dependence-check since it 2019-05-20 13:36:38 -07:00
StripDebugInfo.cpp Replace usages of Instruction with Operation in the Transforms/ directory. 2019-03-29 17:47:26 -07:00
TestConstantFold.cpp 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
Vectorize.cpp Remove unnecessary C++ specifier in CPP files. NFC. 2019-05-20 13:42:13 -07:00
ViewFunctionGraph.cpp Remove extra qualification 2019-03-29 17:52:36 -07:00