forked from OSchip/llvm-project
9e3c2650d2
This cl begins a large refactoring over how signature types are converted in the DialectConversion infrastructure. The signatures of blocks are now converted on-demand when an operation held by that block is being converted. This allows for handling the case where a region is created as part of a pattern, something that wasn't possible previously. This cl also generalizes the region signature conversion used by FuncOp to work on any region of any operation. This generalization allows for removing the 'apply*Conversion' functions that were specific to FuncOp/ModuleOp. The implementation currently uses a new hook on TypeConverter, 'convertRegionSignature', but this should ideally be removed in favor of using Patterns. That depends on adding support to the PatternRewriter used by ConversionPattern to allow applying signature conversions to regions, which should be coming in a followup. PiperOrigin-RevId: 258645733 |
||
---|---|---|
.. | ||
Utils | ||
CMakeLists.txt | ||
CSE.cpp | ||
Canonicalizer.cpp | ||
DialectConversion.cpp | ||
DmaGeneration.cpp | ||
LoopCoalescing.cpp | ||
LoopFusion.cpp | ||
LoopInvariantCodeMotion.cpp | ||
LoopParametricTiling.cpp | ||
LoopTiling.cpp | ||
LoopUnroll.cpp | ||
LoopUnrollAndJam.cpp | ||
LowerAffine.cpp | ||
LowerVectorTransfers.cpp | ||
MaterializeVectors.cpp | ||
MemRefDataFlowOpt.cpp | ||
PipelineDataTransfer.cpp | ||
SimplifyAffineStructures.cpp | ||
StripDebugInfo.cpp | ||
Vectorize.cpp | ||
ViewRegionGraph.cpp |