diff options
author | Ivan Butygin <ivan.butygin@gmail.com> | 2024-06-09 00:23:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-09 00:23:43 +0300 |
commit | febfbff6cde47b1632424a4c5192a4aae79892c5 (patch) | |
tree | bd90ff4c3285dfa9ee84bace5ae6083b83fccaca | |
parent | e62c2146aa9a195c219b3585eb36c6987857c1bb (diff) | |
download | llvm-febfbff6cde47b1632424a4c5192a4aae79892c5.zip llvm-febfbff6cde47b1632424a4c5192a4aae79892c5.tar.gz llvm-febfbff6cde47b1632424a4c5192a4aae79892c5.tar.bz2 |
[mlir][nfc] Sort test passes registration (#94201)
-rw-r--r-- | mlir/tools/mlir-opt/mlir-opt.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/mlir/tools/mlir-opt/mlir-opt.cpp b/mlir/tools/mlir-opt/mlir-opt.cpp index 0e8b161..d2ba3d0 100644 --- a/mlir/tools/mlir-opt/mlir-opt.cpp +++ b/mlir/tools/mlir-opt/mlir-opt.cpp @@ -32,21 +32,21 @@ using namespace mlir; // Defined in the test directory, no public header. namespace mlir { -void registerConvertToTargetEnvPass(); void registerCloneTestPasses(); +void registerConvertToTargetEnvPass(); void registerLazyLoadingTestPasses(); +void registerLoopLikeInterfaceTestPasses(); void registerPassManagerTestPass(); void registerPrintSpirvAvailabilityPass(); -void registerLoopLikeInterfaceTestPasses(); +void registerRegionTestPasses(); void registerShapeFunctionTestPasses(); void registerSideEffectTestPasses(); void registerSliceAnalysisTestPass(); void registerSymbolTestPasses(); -void registerRegionTestPasses(); -void registerTestAffineDataCopyPass(); void registerTestAffineAccessAnalysisPass(); -void registerTestAffineReifyValueBoundsPass(); +void registerTestAffineDataCopyPass(); void registerTestAffineLoopUnswitchingPass(); +void registerTestAffineReifyValueBoundsPass(); void registerTestAffineWalk(); void registerTestBytecodeRoundtripPasses(); void registerTestDecomposeAffineOpPass(); @@ -56,10 +56,10 @@ void registerTestGpuMemoryPromotionPass(); void registerTestLoopPermutationPass(); void registerTestMatchers(); void registerTestOperationEqualPass(); +void registerTestPreserveUseListOrders(); void registerTestPrintDefUsePass(); void registerTestPrintInvalidPass(); void registerTestPrintNestingPass(); -void registerTestPreserveUseListOrders(); void registerTestReducer(); void registerTestSpirvEntryPointABIPass(); void registerTestSpirvModuleCombinerPass(); @@ -68,7 +68,6 @@ void registerTosaTestQuantUtilAPIPass(); void registerVectorizerTestPass(); namespace test { -void registerTestCompositePass(); void registerCommutativityUtils(); void registerConvertCallOpPass(); void registerConvertFuncOpPass(); @@ -77,12 +76,15 @@ void registerMemRefBoundCheck(); void registerPatternsTestPass(); void registerSimpleParametricTilingPass(); void registerTestAffineLoopParametricTilingPass(); -void registerTestArithEmulateWideIntPass(); void registerTestAliasAnalysisPass(); +void registerTestArithEmulateWideIntPass(); void registerTestBuiltinAttributeInterfaces(); void registerTestBuiltinDistinctAttributes(); void registerTestCallGraphPass(); void registerTestCfAssertPass(); +void registerTestCFGLoopInfoPass(); +void registerTestComposeSubView(); +void registerTestCompositePass(); void registerTestConstantFold(); void registerTestControlFlowSink(); void registerTestDataLayoutPropagation(); @@ -95,12 +97,10 @@ void registerTestDynamicPipelinePass(); void registerTestEmulateNarrowTypePass(); void registerTestExpandMathPass(); void registerTestFooAnalysisPass(); -void registerTestComposeSubView(); -void registerTestMultiBuffering(); -void registerTestIntRangeInference(); -void registerTestIRVisitorsPass(); void registerTestGenericIRVisitorsPass(); void registerTestInterfaces(); +void registerTestIntRangeInference(); +void registerTestIRVisitorsPass(); void registerTestLastModifiedPass(); void registerTestLinalgDecomposeOps(); void registerTestLinalgDropUnitDims(); @@ -110,7 +110,6 @@ void registerTestLinalgTransforms(); void registerTestLivenessAnalysisPass(); void registerTestLivenessPass(); void registerTestLoopFusion(); -void registerTestCFGLoopInfoPass(); void registerTestLoopMappingPass(); void registerTestLoopUnrollingPass(); void registerTestLowerToArmNeon(); @@ -123,12 +122,14 @@ void registerTestMathPolynomialApproximationPass(); void registerTestMathToVCIXPass(); void registerTestMemRefDependenceCheck(); void registerTestMemRefStrideCalculation(); -void registerTestMeshSimplificationsPass(); void registerTestMeshReshardingSpmdizationPass(); -void registerTestOpLoweringPasses(); +void registerTestMeshSimplificationsPass(); +void registerTestMultiBuffering(); void registerTestNextAccessPass(); +void registerTestNVGPULowerings(); void registerTestOneToNTypeConversionPass(); void registerTestOpaqueLoc(); +void registerTestOpLoweringPasses(); void registerTestPadFusion(); void registerTestRecursiveTypesPass(); void registerTestSCFUpliftWhileToFor(); @@ -141,10 +142,9 @@ void registerTestTensorCopyInsertionPass(); void registerTestTensorTransforms(); void registerTestTopologicalSortAnalysisPass(); void registerTestTransformDialectEraseSchedulePass(); -void registerTestWrittenToPass(); void registerTestVectorLowerings(); void registerTestVectorReductionToSPIRVDotProd(); -void registerTestNVGPULowerings(); +void registerTestWrittenToPass(); #if MLIR_ENABLE_PDL_IN_PATTERNMATCH void registerTestDialectConversionPasses(); void registerTestPDLByteCodePass(); @@ -164,17 +164,17 @@ void registerTestTransformDialectExtension(DialectRegistry &); void registerTestPasses() { registerCloneTestPasses(); registerConvertToTargetEnvPass(); - registerPassManagerTestPass(); - registerPrintSpirvAvailabilityPass(); registerLazyLoadingTestPasses(); registerLoopLikeInterfaceTestPasses(); + registerPassManagerTestPass(); + registerPrintSpirvAvailabilityPass(); + registerRegionTestPasses(); registerShapeFunctionTestPasses(); registerSideEffectTestPasses(); registerSliceAnalysisTestPass(); registerSymbolTestPasses(); - registerRegionTestPasses(); - registerTestAffineDataCopyPass(); registerTestAffineAccessAnalysisPass(); + registerTestAffineDataCopyPass(); registerTestAffineLoopUnswitchingPass(); registerTestAffineReifyValueBoundsPass(); registerTestAffineWalk(); @@ -186,18 +186,17 @@ void registerTestPasses() { registerTestLoopPermutationPass(); registerTestMatchers(); registerTestOperationEqualPass(); + registerTestPreserveUseListOrders(); registerTestPrintDefUsePass(); registerTestPrintInvalidPass(); registerTestPrintNestingPass(); - registerTestPreserveUseListOrders(); registerTestReducer(); registerTestSpirvEntryPointABIPass(); registerTestSpirvModuleCombinerPass(); registerTestTraitsPass(); - registerVectorizerTestPass(); registerTosaTestQuantUtilAPIPass(); + registerVectorizerTestPass(); - mlir::test::registerTestCompositePass(); mlir::test::registerCommutativityUtils(); mlir::test::registerConvertCallOpPass(); mlir::test::registerConvertFuncOpPass(); @@ -212,24 +211,25 @@ void registerTestPasses() { mlir::test::registerTestBuiltinDistinctAttributes(); mlir::test::registerTestCallGraphPass(); mlir::test::registerTestCfAssertPass(); + mlir::test::registerTestCFGLoopInfoPass(); + mlir::test::registerTestComposeSubView(); + mlir::test::registerTestCompositePass(); mlir::test::registerTestConstantFold(); mlir::test::registerTestControlFlowSink(); - mlir::test::registerTestDiagnosticsPass(); - mlir::test::registerTestDecomposeCallGraphTypes(); mlir::test::registerTestDataLayoutPropagation(); mlir::test::registerTestDataLayoutQuery(); mlir::test::registerTestDeadCodeAnalysisPass(); + mlir::test::registerTestDecomposeCallGraphTypes(); + mlir::test::registerTestDiagnosticsPass(); mlir::test::registerTestDominancePass(); mlir::test::registerTestDynamicPipelinePass(); mlir::test::registerTestEmulateNarrowTypePass(); mlir::test::registerTestExpandMathPass(); mlir::test::registerTestFooAnalysisPass(); - mlir::test::registerTestComposeSubView(); - mlir::test::registerTestMultiBuffering(); - mlir::test::registerTestIntRangeInference(); - mlir::test::registerTestIRVisitorsPass(); mlir::test::registerTestGenericIRVisitorsPass(); mlir::test::registerTestInterfaces(); + mlir::test::registerTestIntRangeInference(); + mlir::test::registerTestIRVisitorsPass(); mlir::test::registerTestLastModifiedPass(); mlir::test::registerTestLinalgDecomposeOps(); mlir::test::registerTestLinalgDropUnitDims(); @@ -239,7 +239,6 @@ void registerTestPasses() { mlir::test::registerTestLivenessAnalysisPass(); mlir::test::registerTestLivenessPass(); mlir::test::registerTestLoopFusion(); - mlir::test::registerTestCFGLoopInfoPass(); mlir::test::registerTestLoopMappingPass(); mlir::test::registerTestLoopUnrollingPass(); mlir::test::registerTestLowerToArmNeon(); @@ -252,12 +251,14 @@ void registerTestPasses() { mlir::test::registerTestMathToVCIXPass(); mlir::test::registerTestMemRefDependenceCheck(); mlir::test::registerTestMemRefStrideCalculation(); - mlir::test::registerTestOpLoweringPasses(); - mlir::test::registerTestMeshSimplificationsPass(); mlir::test::registerTestMeshReshardingSpmdizationPass(); + mlir::test::registerTestMeshSimplificationsPass(); + mlir::test::registerTestMultiBuffering(); mlir::test::registerTestNextAccessPass(); + mlir::test::registerTestNVGPULowerings(); mlir::test::registerTestOneToNTypeConversionPass(); mlir::test::registerTestOpaqueLoc(); + mlir::test::registerTestOpLoweringPasses(); mlir::test::registerTestPadFusion(); mlir::test::registerTestRecursiveTypesPass(); mlir::test::registerTestSCFUpliftWhileToFor(); @@ -272,7 +273,6 @@ void registerTestPasses() { mlir::test::registerTestTransformDialectEraseSchedulePass(); mlir::test::registerTestVectorLowerings(); mlir::test::registerTestVectorReductionToSPIRVDotProd(); - mlir::test::registerTestNVGPULowerings(); mlir::test::registerTestWrittenToPass(); #if MLIR_ENABLE_PDL_IN_PATTERNMATCH mlir::test::registerTestDialectConversionPasses(); |