llvm-project
22 строки · 1.2 Кб
1; RUN: opt -disable-verify -eagerly-invalidate-analyses=0 -debug-pass-manager -pgo-kind=pgo-instr-gen-pipeline -passes='default<Os>' -S %s 2>&1 | FileCheck %s --check-prefixes=CHECK-Osz
2; RUN: opt -disable-verify -eagerly-invalidate-analyses=0 -debug-pass-manager -pgo-kind=pgo-instr-gen-pipeline -passes='default<Oz>' -S %s 2>&1 | FileCheck %s --check-prefixes=CHECK-Osz
3
4; CHECK-Osz: Running pass: ModuleInlinerWrapperPass
5; CHECK-Osz-NEXT: Running analysis: InlineAdvisorAnalysis
6; CHECK-Osz-NEXT: Running analysis: InnerAnalysisManagerProxy
7; CHECK-Osz-NEXT: Running analysis: LazyCallGraphAnalysis
8; CHECK-Osz-NEXT: Running analysis: FunctionAnalysisManagerCGSCCProxy on (foo)
9; CHECK-Osz-NEXT: Running analysis: OuterAnalysisManagerProxy
10; CHECK-Osz-NEXT: Running pass: InlinerPass on (foo)
11; CHECK-Osz-NEXT: Running pass: InlinerPass on (foo)
12; CHECK-Osz-NEXT: Running pass: SROAPass on foo
13; CHECK-Osz-NEXT: Running pass: EarlyCSEPass on foo
14; CHECK-Osz-NEXT: Running pass: SimplifyCFGPass on foo
15; CHECK-Osz-NEXT: Running pass: InstCombinePass on foo
16; CHECK-Osz-NEXT: Invalidating analysis: InlineAdvisorAnalysis
17; CHECK-Osz-NEXT: Running pass: GlobalDCEPass
18; CHECK-Osz-NEXT: Running pass: PGOInstrumentationGen
19
20define void @foo() {
21ret void
22}
23