| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | thinlto-distributed-newpm.ll | 13 ; RUN: -O2 -Xclang -fdebug-pass-manager \ 18 ; RUN: -O3 -Xclang -fdebug-pass-manager \ 23 ; CHECK-O: Running pass: LowerTypeTestsPass 29 ; CHECK-O: Running pass: SROAPass on main 33 ; CHECK-O: Running pass: IPSCCPPass 35 ; CHECK-O: Running pass: GlobalOptPass 36 ; CHECK-O: Running pass: PromotePass 77 ; CHECK-O: Running pass: GlobalOptPass 78 ; CHECK-O: Running pass: GlobalDCEPass 108 ; CHECK-O: Running pass: GlobalDCEPass [all …]
|
| /llvm-project-15.0.7/llvm/test/Other/ |
| H A D | new-pm-thinlto-postlink-pgo-defaults.ll | 40 ; CHECK-O-NEXT: Running pass: SROAPass 47 ; CHECK-O-NEXT: Running pass: IPSCCPPass 85 ; CHECK-O-NEXT: Running pass: SROAPass 109 ; CHECK-O-NEXT: Running pass: LICM 111 ; CHECK-O-NEXT: Running pass: LICM 123 ; CHECK-Os-NEXT: Running pass: GVNPass 127 ; CHECK-Oz-NEXT: Running pass: GVNPass 131 ; CHECK-O2-NEXT: Running pass: GVNPass 135 ; CHECK-O3-NEXT: Running pass: GVNPass 139 ; CHECK-O-NEXT: Running pass: SCCPPass [all …]
|
| H A D | new-pm-thinlto-postlink-samplepgo-defaults.ll | 42 ; CHECK-O-NEXT: Running pass: SROAPass 94 ; CHECK-O-NEXT: Running pass: SROAPass 118 ; CHECK-O-NEXT: Running pass: LICM 120 ; CHECK-O-NEXT: Running pass: LICM 132 ; CHECK-Os-NEXT: Running pass: GVNPass 136 ; CHECK-Oz-NEXT: Running pass: GVNPass 140 ; CHECK-O2-NEXT: Running pass: GVNPass 144 ; CHECK-O3-NEXT: Running pass: GVNPass 148 ; CHECK-O-NEXT: Running pass: SCCPPass 149 ; CHECK-O-NEXT: Running pass: BDCEPass [all …]
|
| H A D | new-pm-thinlto-defaults.ll | 70 ; CHECK-O-NEXT: Running pass: SROAPass 111 ; CHECK-O-NEXT: Running pass: SROAPass 136 ; CHECK-O-NEXT: Running pass: LICM 138 ; CHECK-O-NEXT: Running pass: LICM 150 ; CHECK-Os-NEXT: Running pass: GVNPass 154 ; CHECK-Oz-NEXT: Running pass: GVNPass 158 ; CHECK-O2-NEXT: Running pass: GVNPass 162 ; CHECK-O3-NEXT: Running pass: GVNPass 166 ; CHECK-O-NEXT: Running pass: SCCPPass 167 ; CHECK-O-NEXT: Running pass: BDCEPass [all …]
|
| H A D | new-pm-defaults.ll | 2 ; 1) To have a loop, so we create a loop pass manager 104 ; CHECK-O-NEXT: Running pass: SROAPass 147 ; CHECK-O-NEXT: Running pass: SROAPass 168 ; CHECK-O-NEXT: Running pass: LCSSAPass 173 ; CHECK-O-NEXT: Running pass: LICM 175 ; CHECK-O-NEXT: Running pass: LICM 180 ; CHECK-O-NEXT: Running pass: LCSSAPass 194 ; CHECK-O-NEXT: Running pass: SCCPPass 195 ; CHECK-O-NEXT: Running pass: BDCEPass 204 ; CHECK-O-NEXT: Running pass: ADCEPass [all …]
|
| H A D | new-pm-thinlto-prelink-samplepgo-defaults.ll | 40 ; CHECK-O-NEXT: Running pass: SROAPass 89 ; CHECK-O-NEXT: Running pass: SROAPass 113 ; CHECK-O-NEXT: Running pass: LICM 115 ; CHECK-O-NEXT: Running pass: LICM 126 ; CHECK-Os-NEXT: Running pass: GVNPass 130 ; CHECK-Oz-NEXT: Running pass: GVNPass 134 ; CHECK-O2-NEXT: Running pass: GVNPass 138 ; CHECK-O3-NEXT: Running pass: GVNPass 142 ; CHECK-O-NEXT: Running pass: SCCPPass 143 ; CHECK-O-NEXT: Running pass: BDCEPass [all …]
|
| H A D | new-pm-thinlto-prelink-pgo-defaults.ll | 41 ; CHECK-O-NEXT: Running pass: SROAPass 47 ; CHECK-O-NEXT: Running pass: IPSCCPPass 115 ; CHECK-O-NEXT: Running pass: SROAPass 147 ; CHECK-O-NEXT: Running pass: LICM 149 ; CHECK-O-NEXT: Running pass: LICM 161 ; CHECK-Os-NEXT: Running pass: GVNPass 165 ; CHECK-Oz-NEXT: Running pass: GVNPass 169 ; CHECK-O2-NEXT: Running pass: GVNPass 173 ; CHECK-O3-NEXT: Running pass: GVNPass 177 ; CHECK-O-NEXT: Running pass: SCCPPass [all …]
|
| H A D | new-pm-lto-defaults.ll | 37 ; CHECK-O: Running pass: Annotation2Metadata 38 ; CHECK-EP-NEXT: Running pass: NoOpModulePass 39 ; CHECK-O-NEXT: Running pass: CrossDSOCFIPass 40 ; CHECK-O-NEXT: Running pass: OpenMPOptPass 41 ; CHECK-O-NEXT: Running pass: GlobalDCEPass 53 ; CHECK-O23SZ-NEXT: Running pass: IPSCCPPass 72 ; CHECK-O-NEXT: Running pass: GlobalSplitPass 76 ; CHECK-O23SZ-NEXT: Running pass: PromotePass 84 ; CHECK-O23SZ-NEXT: Running pass: InlinerPass 85 ; CHECK-O23SZ-NEXT: Running pass: InlinerPass [all …]
|
| H A D | new-pm-pgo.ll | 15 ; GEN: Running pass: PGOInstrumentationGen 16 ; USE: Running pass: PGOInstrumentationUse 17 ; USE: Running pass: PGOIndirectCallPromotion 18 ; USE: Running pass: PGOMemOPSizeOpt 20 ; USE_POST_LINK: Running pass: PGOMemOPSizeOpt 21 ; SAMPLE_USE_O: Running pass: AddDiscriminatorsPass 24 ; SAMPLE_USE: Running pass: SimplifyCFGPass 25 ; SAMPLE_USE: Running pass: SROAPass 26 ; SAMPLE_USE: Running pass: EarlyCSEPass 33 ; SAMPLE_GEN: Running pass: AddDiscriminatorsPass [all …]
|
| H A D | pass-pipeline-parsing.ll | 1 ; RUN: opt -disable-output -debug-pass-manager \ 4 ; CHECK-TWO-NOOP-MP: Running pass: NoOpModulePass 5 ; CHECK-TWO-NOOP-MP: Running pass: NoOpModulePass 7 ; RUN: opt -disable-output -debug-pass-manager \ 13 ; RUN: opt -disable-output -debug-pass-manager \ 16 ; CHECK-TWO-NOOP-FP: Running pass: NoOpFunctionPass 19 ; RUN: opt -disable-output -debug-pass-manager \ 25 ; RUN: opt -disable-output -debug-pass-manager \ 33 ; RUN: opt -disable-output -debug-pass-manager \ 39 ; RUN: opt -disable-output -debug-pass-manager \ [all …]
|
| H A D | opt-pipeline-vector-passes.ll | 16 ; O1-LABEL: Running pass: LoopVectorizePass 17 ; O1-NOT: Running pass: SLPVectorizerPass 18 ; O1: Running pass: VectorCombinePass 22 ; O2-NOT: Running pass: EarlyCSEPass 23 ; O2-NOT: Running pass: LICMPass 29 ; O2_EXTRA: Running pass: EarlyCSEPass 31 ; O2_EXTRA: Running pass: InstCombinePass 32 ; O2_EXTRA: Running pass: LICMPass 34 ; O2_EXTRA: Running pass: SimplifyCFGPass 35 ; O2_EXTRA: Running pass: InstCombinePass [all …]
|
| H A D | new-pm-cspgo.ll | 1 ; Test CSGen pass in CSPGO. 9 ; CSGENDEFAULT: Running pass: PGOInstrumentationUse 11 ; CSGENDEFAULT: Running pass: PGOInstrumentationGen 12 ; CSGENPRELINK: Running pass: PGOInstrumentationUse 15 ; CSGENLTO-NOT: Running pass: PGOInstrumentationUse 17 ; CSGENLTO: Running pass: PGOInstrumentationGen 19 ; Test CSUse pass in CSPGO. 25 ; CSUSEDEFAULT: Running pass: PGOInstrumentationUse 27 ; CSUSEDEFAULT: Running pass: PGOInstrumentationUse 28 ; CSUSEPRELINK: Running pass: PGOInstrumentationUse [all …]
|
| H A D | new-pass-manager.ll | 11 ; CHECK-MODULE-PASS: Running pass: NoOpModulePass 39 ; CHECK-MODULE-PRINT: Running pass: VerifierPass 43 ; CHECK-MODULE-PRINT: Running pass: VerifierPass 50 ; CHECK-MODULE-VERIFY: Running pass: VerifierPass 89 ; CHECK-NO-VERIFY: Running pass: NoOpModulePass 207 ; CHECK-TLI: Running pass: RequireAnalysisPass 211 ; CHECK-TLI: Running pass: RequireAnalysisPass 227 ; CHECK-DT: Running pass: RequireAnalysisPass 239 ; CHECK-AA: Running pass: RequireAnalysisPass 294 ; CHECK-O0: Running pass: AlwaysInlinerPass [all …]
|
| H A D | opt-bisect-new-pass-manager.ll | 21 ; RUN: opt -disable-output -debug-pass-manager \ 25 ; CHECK-REQUIRED-PASS: Running pass: VerifierPass 28 ; CHECK-REQUIRED-PASS: Running pass: VerifierPass 30 ; RUN: opt -disable-output -debug-pass-manager \ 34 ; CHECK-LIMIT-REQUIRED-PASS: Running pass: VerifierPass 37 ; CHECK-LIMIT-REQUIRED-PASS: Running pass: VerifierPass 42 ; CHECK-FUNCTION-PASS: BISECT: running pass (1) EarlyCSEPass on f1 76 ; CHECK-MULTI-PASS: BISECT: running pass (3) EarlyCSEPass on f1 78 ; CHECK-MULTI-PASS: BISECT: running pass (5) EarlyCSEPass on f2 80 ; CHECK-MULTI-PASS: BISECT: running pass (7) EarlyCSEPass on f3 [all …]
|
| H A D | loop-pm-invalidation.ll | 21 ; CHECK-LOOP-INV: Running pass: LoopSimplifyPass 26 ; CHECK-LOOP-INV-NEXT: Running pass: LCSSAPass 31 ; CHECK-LOOP-INV-NEXT: Running pass: LCSSAPass 33 ; CHECK-SCEV-INV: Running pass: LoopSimplifyPass 38 ; CHECK-SCEV-INV-NEXT: Running pass: LCSSAPass 41 ; CHECK-SCEV-INV-NEXT: Running pass: LCSSAPass 53 ; CHECK-LOOP-INV-NEXT: Running pass: LCSSAPass 66 ; CHECK-LOOP-INV-NEXT: Running pass: LCSSAPass 76 ; CHECK-SCEV-INV-NEXT: Running pass: LCSSAPass 87 ; CHECK-SCEV-INV-NEXT: Running pass: LCSSAPass [all …]
|
| H A D | new-pm-O0-defaults.ll | 2 ; 1) To have a loop, so we create a loop pass manager 3 ; 2) To be "immutable" in the sense that no pass in the standard 33 ; CHECK-DIS-NEXT: Running pass: AddDiscriminatorsPass 34 ; CHECK-DIS-NEXT: Running pass: AlwaysInlinerPass 36 ; CHECK-DEFAULT: Running pass: AlwaysInlinerPass 47 ; CHECK-THINLTO-NEXT: Running pass: GlobalDCEPass 48 ; CHECK-LTO: Running pass: Annotation2MetadataPass 52 ; CHECK-LTO-NEXT: Running pass: LowerTypeTestsPass 53 ; CHECK-LTO-NEXT: Running pass: LowerTypeTestsPass 56 ; CHECK-LTO-NEXT: Running pass: AnnotationRemarksPass [all …]
|
| /llvm-project-15.0.7/llvm/test/Feature/ |
| H A D | optnone-opt.ll | 43 ; O0-NOT: Skipping pass 45 ; CHECK-NOEXT-NPM-O0-NOT: Skipping pass 50 ; O1-DAG: Skipping pass 'Early CSE' 55 ; NPM-O1-DAG: Skipping pass: SROA 58 ; NPM-O1-DAG: Skipping pass: PromotePass 64 ; NPM-O2O3-DAG: Skipping pass: GVN 69 ; NPM-MORE-DAG: Skipping pass: DCEPass 78 ; LOOP-DAG: Skipping pass 'Reroll loops' 79 ; LOOP-DAG: Skipping pass 'Rotate Loops' 81 ; LOOP-DAG: Skipping pass 'Unroll loops' [all …]
|
| /llvm-project-15.0.7/mlir/test/Pass/ |
| H A D | crash-recovery.mlir | 1 // RUN: mlir-opt %s -pass-pipeline='builtin.module(test-module-pass, test-pass-crash)' -mlir-pass-p… 3 …opt %s -pass-pipeline='builtin.module(test-module-pass, test-pass-crash)' -mlir-pass-pipeline-cras… 7 …RUN: mlir-opt %s -test-module-pass -test-module-pass -test-module-pass -mlir-pass-pipeline-crash-… 10 // Check that local reproducers will also traverse dynamic pass pipelines. 11 …pass-pipeline='test-module-pass,test-dynamic-pipeline{op-name=inner_mod1 run-on-nested-operations=… 17 // expected-error@below {{Failures have been detected while processing an MLIR pass pipeline}} 25 // REPRO: pipeline: "builtin.module(test-module-pass,test-pass-crash)" 29 // REPRO_LOCAL: pipeline: "builtin.module(test-pass-crash)" 33 // REPRO_LOCAL_DYNAMIC: pipeline: "builtin.module(test-pass-crash)"
|
| H A D | pipeline-options-parsing.mlir | 1 // RUN: not mlir-opt %s -pass-pipeline='builtin.module(test-module-pass{)' 2>&1 | FileCheck --check… 2 // RUN: not mlir-opt %s -pass-pipeline='builtin.module(test-module-pass{test-option=3})' 2>&1 | Fil… 3 // RUN: not mlir-opt %s -pass-pipeline='builtin.module(func.func(test-options-pass{list=3}), test-m… 4 // RUN: not mlir-opt %s -pass-pipeline='test-options-pass{list=3 list=notaninteger}' 2>&1 | FileChe… 5 // RUN: mlir-opt %s -pass-pipeline='func.func(test-options-pass{list=1,2,3,4 list=5 string=value1 s… 6 // RUN: mlir-opt %s -verify-each=false -pass-pipeline='func.func(test-options-pass{string-list=a li… 8 …r-opt %s -verify-each=false -pass-pipeline='builtin.module(func.func(test-options-pass{list=3}), f… 10 // CHECK_ERROR_1: missing closing '}' while processing pass options 15 // CHECK_1: test-options-pass{list=1,2,3,4,5 string=nested_pipeline{arg1=10 arg2=" {} " arg3=true} … 16 // CHECK_2: test-options-pass{list=1 string= string-list=a,b} [all …]
|
| H A D | invalid-ir-print-after-failure.mlir | 1 // RUN: not mlir-opt %s -pass-pipeline='func.func(test-pass-create-invalid-ir{emit-invalid-ir=true … 2 // RUN: not mlir-opt %s -pass-pipeline='func.func(test-pass-create-invalid-ir{emit-invalid-ir=true … 3 // RUN: not mlir-opt %s -pass-pipeline='func.func(test-pass-create-invalid-ir{emit-invalid-ir=false… 4 // RUN: mlir-opt %s -pass-pipeline='func.func(test-pass-create-invalid-ir{emit-invalid-ir=false sig… 7 // RUN: not mlir-opt %s -pass-pipeline='func.func(test-pass-create-invalid-ir{emit-invalid-ir=true … 8 // RUN: not mlir-opt %s -pass-pipeline='func.func(test-pass-create-invalid-ir{emit-invalid-ir=true … 10 // Test whether we print generically or not on pass failure, depending on whether there is invalid …
|
| H A D | pipeline-parsing.mlir | 1 …disable-threading -pass-pipeline='builtin.module(test-module-pass,func.func(test-function-pass)),f… 3 …e-threading -pass-pipeline='builtin.module(test-module-pass),any(test-interface-pass),any(test-int… 4 // RUN: not mlir-opt %s -pass-pipeline='builtin.module(test-module-pass' 2>&1 | FileCheck --check-p… 5 // RUN: not mlir-opt %s -pass-pipeline='builtin.module(test-module-pass))' 2>&1 | FileCheck --check… 6 // RUN: not mlir-opt %s -pass-pipeline='builtin.module()(' 2>&1 | FileCheck --check-prefix=CHECK_ER… 7 // RUN: not mlir-opt %s -pass-pipeline=',' 2>&1 | FileCheck --check-prefix=CHECK_ERROR_4 %s 8 // RUN: not mlir-opt %s -pass-pipeline='func.func(test-module-pass)' 2>&1 | FileCheck --check-prefi… 13 // CHECK_ERROR_4: does not refer to a registered pass or pass pipeline 14 // CHECK_ERROR_5: Can't add pass '{{.*}}TestModulePass' restricted to 'builtin.module' on a PassMa… 45 // Check that generic pass pipelines are only merged when they aren't
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | PassGen.cpp | 98 for (const PassOption &opt : pass.getOptions()) { in emitPassOptionDecls() 115 for (const PassStatistic &stat : pass.getStatistics()) { in emitPassStatisticDecls() 123 StringRef defName = pass.getDef()->getName(); in emitPassDecl() 132 pass.getArgument(), pass.getSummary(), in emitPassDecl() 134 emitPassOptionDecls(pass, os); in emitPassDecl() 135 emitPassStatisticDecls(pass, os); in emitPassDecl() 143 for (const Pass &pass : passes) in emitPassDecls() local 144 emitPassDecl(pass, os); in emitPassDecls() 185 for (const Pass &pass : passes) { in emitRegistration() local 187 pass.getConstructor()); in emitRegistration() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Pass/ |
| H A D | PassStatistics.cpp | 31 os.indent(indent) << pass << "\n"; in printPassEntry() 85 for (Pass &pass : mgr.getPasses()) in printResultsAsList() 86 addStats(&pass); in printResultsAsList() 88 for (Pass &pass : pm.getPasses()) in printResultsAsList() 89 addStats(&pass); in printResultsAsList() 124 for (Pass &pass : mgr.getPasses()) in printResultsAsPipeline() 125 printPass(indent + 2, &pass); in printResultsAsPipeline() 136 for (Pass &pass : pm.getPasses()) in printResultsAsPipeline() 137 printPass(/*indent=*/0, &pass); in printResultsAsPipeline() 214 *pass.statistics[i] = 0; in mergeStatisticsInto() [all …]
|
| H A D | IRPrinting.cpp | 85 void runBeforePass(Pass *pass, Operation *op) override; 86 void runAfterPass(Pass *pass, Operation *op) override; 122 if (isa<OpToOpPassAdaptor>(pass)) in runBeforePass() 126 beforePassFingerPrints.try_emplace(pass, op); in runBeforePass() 130 << pass->getArgument() << ")"; in runBeforePass() 138 if (isa<OpToOpPassAdaptor>(pass)) in runAfterPass() 148 auto fingerPrintIt = beforePassFingerPrints.find(pass); in runAfterPass() 161 << pass->getArgument() << ")"; in runAfterPass() 169 if (isa<OpToOpPassAdaptor>(pass)) in runAfterPassFailed() 172 beforePassFingerPrints.erase(pass); in runAfterPassFailed() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | optimization-remarks-yaml.ll | 2 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \ 5 ; RUN: opt < %s -S -inline -pass-remarks-with-hotness -pass-remarks-output=%t 10 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \ 15 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \ 22 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \ 25 ; RUN: opt < %s -S -passes=inline -pass-remarks-with-hotness -pass-remarks-output=%t 30 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \ 35 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \ 40 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \ 48 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \ [all …]
|