Searched +full:- +full:- +full:pgo (Results 1 – 25 of 459) sorted by relevance
12345678910>>...19
/external/llvm-project/llvm/test/Other/ |
D | new-pm-pgo.ll | 1 ; RUN: opt -debug-pass-manager -passes='default<O2>' -pgo-kind=pgo-instr-gen-pipeline -profile-file… 2 ; RUN: llvm-profdata merge %S/Inputs/new-pm-pgo.proftext -o %t.profdata 3 … RUN: opt -debug-pass-manager -passes='default<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file… 4 … opt -debug-pass-manager -passes='thinlto-pre-link<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-… 5 … RUN: opt -debug-pass-manager -passes='thinlto<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file… 6 …-debug-pass-manager -passes='default<O2>' -hot-cold-split -pgo-kind=pgo-instr-use-pipeline -profil… 7 ; RUN: opt -debug-pass-manager -passes='default<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-fil… 8 ; RUN: |FileCheck %s --check-prefixes=SAMPLE_USE,SAMPLE_USE_O 9 ; RUN: opt -debug-pass-manager -passes='thinlto-pre-link<O2>' -pgo-kind=pgo-sample-use-pipeline -pr… 10 ; RUN: |FileCheck %s --check-prefixes=SAMPLE_USE,SAMPLE_USE_PRE_LINK [all …]
|
D | new-pm-cspgo.ll | 2 ; RUN: llvm-profdata merge %S/Inputs/cspgo-noncs.proftext -o %t-noncs.profdata 3 ; RUN: llvm-profdata merge %S/Inputs/cspgo-cs.proftext -o %t-cs.profdata 4 …-debug-pass-manager -passes='default<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs… 5 …-debug-pass-manager -passes='thinlto-pre-link<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file=… 6 …-debug-pass-manager -passes='thinlto<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs… 7 …-debug-pass-manager -passes='lto-pre-link<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-… 8 …-debug-pass-manager -passes='lto<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs.pro… 14 ; CSGENPRELINK-NOT: Running pass: PGOInstrumentationGen 15 ; CSGENLTO-NOT: Running pass: PGOInstrumentationUse 16 ; CSGENLTO-NOT: Running pass: PGOInstrumentationGenCreateVar [all …]
|
D | new-pm-pgo-O0.ll | 1 ; RUN: opt -debug-pass-manager -passes='default<O0>' -pgo-kind=pgo-instr-gen-pipeline -profile-file… 2 ; RUN: llvm-profdata merge %S/Inputs/new-pm-pgo.proftext -o %t.profdata 3 … RUN: opt -debug-pass-manager -passes='default<O0>' -pgo-kind=pgo-instr-use-pipeline -profile-file… 4 ; RUN: opt -debug-pass-manager -passes='thinlto-pre-link<O0>' -pgo-kind=pgo-instr-use-pipeline -pro… 5 ; RUN: |FileCheck %s --check-prefixes=USE_PRE_LINK,USE 6 ; RUN: opt -debug-pass-manager -passes='lto-pre-link<O0>' -pgo-kind=pgo-instr-use-pipeline -profile… 7 ; RUN: |FileCheck %s --check-prefixes=USE_PRE_LINK,USE 8 ; RUN: opt -debug-pass-manager -passes='thinlto<O0>' -pgo-kind=pgo-instr-use-pipeline -profile-file… 9 ; RUN: |FileCheck %s --check-prefixes=USE_POST_LINK,USE 10 ; RUN: opt -debug-pass-manager -passes='lto<O0>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t… [all …]
|
/external/llvm-project/llvm/test/Transforms/PGOProfile/ |
D | branch2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 3 ; RUN: llvm-profdata merge %S/Inputs/branch2.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 7 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 8 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixe… 9 ; RUN: llvm-profdata merge %S/Inputs/branch2_entry.proftext -o %t.profdata 10 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata -S | … 11 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdat… [all …]
|
D | switch.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 3 ; RUN: llvm-profdata merge %S/Inputs/switch.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes… 8 ; RUN: llvm-profdata merge %S/Inputs/switch_entry.proftext -o %t.profdata 9 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata -S | F… 10 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata… [all …]
|
D | loop1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 3 ; RUN: llvm-profdata merge %S/Inputs/loop1.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes… 8 ; RUN: llvm-profdata merge %S/Inputs/loop1_entry.proftext -o %t.profdata 9 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata -S | F… 10 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata… [all …]
|
D | branch1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-COMDAT 2 ; RUN: opt < %s -mtriple=x86_64-apple-darwin -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --… 5 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-COMDAT 6 ; RUN: opt < %s -mtriple=x86_64-apple-darwin -passes=pgo-instr-gen -S | FileCheck %s --check-prefix… 8 ; RUN: llvm-profdata merge %S/Inputs/branch1.proftext -o %t.profdata 9 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=… 11 ; RUN: llvm-profdata merge %S/Inputs/branch1_large_count.proftext -o %t.l.profdata 12 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.l.profdata -S | FileCheck %s --check-prefi… 15 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-… 16 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.l.profdata -S | FileCheck %s --chec… [all …]
|
D | indirectbr.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/indirectbr.proftext -o %t.profdata 2 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S -e… 4 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 5 …-passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | opt -S -… 6 ; RUN: llvm-profdata merge %S/Inputs/indirectbr_entry.proftext -o %t2.profdata 7 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdata -S -e… 9 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdat… 10 …-passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdata -S | opt -S -… 12 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 13 target triple = "x86_64-unknown-linux-gnu" [all …]
|
D | select1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instr-select=true -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instr-select=true -S | FileCheck %s --check-prefix=GEN 3 ; RUN: opt < %s -pgo-instr-gen -pgo-instr-select=false -S | FileCheck %s --check-prefix=NOSELECT 4 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instr-select=false -S | FileCheck %s --check-prefix=NOSE… 5 ; RUN: llvm-profdata merge %S/Inputs/select1.proftext -o %t.profdata 6 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S | FileC… 7 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S … 8 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 9 target triple = "x86_64-unknown-linux-gnu" 18 ;GEN: %[[STEP:[0-9]+]] = zext i1 %cmp to i64 [all …]
|
D | loop2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 3 ; RUN: llvm-profdata merge %S/Inputs/loop2.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes… 8 ; RUN: llvm-profdata merge %S/Inputs/loop2_entry.proftext -o %t.profdata 9 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata -S | F… 10 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata… [all …]
|
D | instr_entry_bb.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry -S | FileCheck %s --check-prefix=GEN 3 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry -instrprof -atomic-first-counter -S | FileChec… 4 ; RUN: opt < %s -passes=pgo-instr-gen,instrprof -pgo-instrument-entry -atomic-first-counter -S | Fi… 6 ; RUN: llvm-profdata merge %S/Inputs/branch2.proftext -o %t.profdata 7 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instrument-entry -S | FileCh… 8 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instrument-entry -S |… 9 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 10 target triple = "x86_64-unknown-linux-gnu" 13 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat [all …]
|
D | diag_no_funcprofdata.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/diag.proftext -o %t.profdata 2 ; RUN: opt < %s -pgo-instr-use -pgo-warn-missing-function=true -pgo-test-profile-file=%t.profdata -… 3 ; RUN: opt < %s -passes=pgo-instr-use -pgo-warn-missing-function=true -pgo-test-profile-file=%t.pro… 5 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s --check-pr… 6 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s --c… 9 ; DEFAULT-NOT: No profile data available for function bar 11 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 12 target triple = "x86_64-unknown-linux-gnu"
|
D | landingpad.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 3 ; RUN: llvm-profdata merge %S/Inputs/landingpad.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 7 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 8 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes… 9 ; RUN: llvm-profdata merge %S/Inputs/landingpad_entry.proftext -o %t2.profdata 10 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdata -S | … 11 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdat… [all …]
|
D | criticaledge.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefix=… 3 ; RUN: llvm-profdata merge %S/Inputs/criticaledge.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 7 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefix=GEN 8 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefix=G… 9 ; RUN: llvm-profdata merge %S/Inputs/criticaledge_entry.proftext -o %t2.profdata 10 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdata -S | … 11 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdat… [all …]
|
D | multiple_hash_profile.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/multiple_hash_profile.proftext -o %t.profdata 2 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s 3 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-old-cfg-hashing=true -… 4 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-old-cfg-hashing… 6 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 7 target triple = "x86_64-unknown-linux-gnu" 32 ; CHECK-SAME: !prof ![[BW:[0-9]+]] 35 ; CHECKOLDHASH-SAME: !prof ![[BW:[0-9]+]]
|
D | memop_size_annotation.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/memop_size_annotation.proftext -o %t.profdata 2 … opt < %s -pgo-instr-use -memop-max-annotations=9 -pgo-test-profile-file=%t.profdata -pgo-memop-op… 3 … < %s -passes=pgo-instr-use -memop-max-annotations=9 -pgo-test-profile-file=%t.profdata -pgo-memop… 4 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-memop-optimize-memcmp-bcmp -… 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-memop-optimize-memcmp… 7 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 8 target triple = "x86_64-unknown-linux-gnu" 35 ; MEMOP_ANNOTATION-SAME: !prof ![[MEMOP_VALUESITE:[0-9]+]] 38 ; MEMOP_ANNOTATION-SAME: !prof ![[MEMOP_VALUESITE]] 41 ; MEMOP_ANNOTATION-SAME: !prof ![[MEMOP_VALUESITE]]
|
D | large_count_remarks.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/large_count_remarks.proftext -o %t.profdata 2 …pt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pass-remarks=pgo-instrumentation -pgo-e… 3 …< %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pass-remarks=pgo-instrumentation -p… 5 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 6 target triple = "x86_64-unknown-linux-gnu"
|
D | memop_size_opt.ll | 1 …-pgo-memop-opt -verify-dom-info -pgo-memop-count-threshold=90 -pgo-memop-percent-threshold=15 -pgo… 2 …-passes=pgo-memop-opt -verify-dom-info -pgo-memop-count-threshold=90 -pgo-memop-percent-threshold=… 3 …-pgo-memop-opt -verify-dom-info -pgo-memop-count-threshold=90 -pgo-memop-percent-threshold=15 -pgo… 4 ; RUN: FileCheck %s -input-file=%t.opt.yaml --check-prefix=YAML 5 …-passes=pgo-memop-opt -verify-dom-info -pgo-memop-count-threshold=90 -pgo-memop-percent-threshold=… 6 ; RUN: FileCheck %s -input-file=%t.opt.yaml --check-prefix=YAML 9 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 10 target triple = "x86_64-unknown-linux-gnu" 41 ; MEMOP_OPT: ], !prof [[SWITCH_BW:![0-9]+]] 46 …l void @llvm.memcpy.p0i8.p0i8.i64(i8* %dst, i8* %src, i64 %conv, i1 false), !prof [[NEWVP:![0-9]+]] [all …]
|
D | irreducible.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/irreducible.proftext -o %t.profdata 2 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 3 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 4 ; RUN: llvm-profdata merge %S/Inputs/irreducible_entry.proftext -o %t2.profdata 5 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdata -S | … 6 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t2.profdat… 35 ; USE: br i1 %cmp3, label %for.body4, label %for.end, !prof !{{[0-9]+}}, 36 ; USE-SAME: !irr_loop ![[FOR_COND2_IRR_LOOP:[0-9]+]] 49 ; USE-SAME: !irr_loop ![[ENTRY8_IRR_LOOP:[0-9]+]] 58 ; USE-SAME: !irr_loop ![[IF_END9_IRR_LOOP:[0-9]+]] [all …]
|
/external/llvm-project/llvm/test/Transforms/SampleProfile/ |
D | flattened.ll | 2 …-O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.pr… 3 ; RUN: opt < %s -passes='thinlto<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/fla… 6 …-O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.pr… 7 …-passes='thinlto-pre-link<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened… 9 ; Check flattened profile will be read in non-thinlto mode. 10 …-O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.pr… 11 … %s -passes='default<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.prof… 13 ; CHECK-NOT: !{!"ProfileFormat", !"SampleProfile"} 17 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 18 target triple = "x86_64-unknown-linux-gnu" [all …]
|
/external/python/cpython3/Tools/msi/ |
D | buildrelease.bat | 33 set EXTERNALS=%D%..\..\externals\windows-installer\ 39 set PGO=-m test -q --pgo variable 46 if "%1" EQU "-h" goto Help 47 if "%1" EQU "-c" (set CERTNAME=%~2) && shift && shift && goto CheckOpts 48 if "%1" EQU "--certificate" (set CERTNAME=%~2) && shift && shift && goto CheckOpts 49 if "%1" EQU "-o" (set OUTDIR=%~2) && shift && shift && goto CheckOpts 50 if "%1" EQU "--out" (set OUTDIR=%~2) && shift && shift && goto CheckOpts 51 if "%1" EQU "-D" (set SKIPDOC=1) && shift && goto CheckOpts 52 if "%1" EQU "--skip-doc" (set SKIPDOC=1) && shift && goto CheckOpts 53 if "%1" EQU "-B" (set SKIPBUILD=1) && shift && goto CheckOpts [all …]
|
/external/autotest/client/profilers/pgo/ |
D | pgo.py | 2 # Use of this source code is governed by a BSD-style license that can be 6 This is a profiler class for copying Profile-Guided-Optimization (PGO) data 7 files back to the host. When Chrome is built with -fprofile-generate, it dumps 8 its PGO data in a directory that this test copies back to test.profdir. 10 The PGO data is found where the build happens in the chroot, which is hardcoded 24 class pgo(profiler.profiler): class 25 """The pgo profiler collects PGO data for Chrome.""" 28 def initialize(self, source_dir='/tmp/pgo/chrome'): 42 tar = tarfile.open(name=os.path.join(test.profdir, 'pgo.tar.bz2'), 51 logging.error('PGO dir: %s not found', self._source_dir)
|
/external/toolchain-utils/pgo_tools/ |
D | merge_profdata_and_upload.py | 2 # -*- coding: utf-8 -*- 4 # Use of this source code is governed by a BSD-style license that can be 9 The script is used for updating the PGO profiles for LLVM. The workflow 10 is that the script will download profdata from different PGO builds, merge 14 ./merge_profdata_and_upload.py --all_latest_profiles 15 which will automatically grab profdata from latest PGO generate builders 20 ./merge_profdata_and_upload.py --all_latest_profiles --llvm_hash LLVM_HASH 25 To only use profiles from buildbucket tasks for PGO generate, run it with: 26 ./merge_profdata_and_upload.py -b amd64/bb_id1 -b arm/bb_id2 ... 33 ./merge_profdata_and_upload.py -l arm -l amd64 -b arm64/bb_id [all …]
|
/external/llvm/test/Transforms/PGOProfile/ |
D | branch1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-COMDAT 2 ; RUN: opt < %s -mtriple=x86_64-apple-darwin -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --… 5 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-COMDAT 6 ; RUN: opt < %s -mtriple=x86_64-apple-darwin -passes=pgo-instr-gen -S | FileCheck %s --check-prefix… 8 ; RUN: llvm-profdata merge %S/Inputs/branch1.proftext -o %t.profdata 9 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=… 12 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-… 14 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 15 target triple = "x86_64-unknown-linux-gnu" 16 ; GEN-DARWIN-LINKONCE: target triple = "x86_64-apple-darwin" [all …]
|
/external/llvm-project/llvm/docs/ |
D | HowToBuildWithPGO.rst | 2 How To Build Clang and LLVM with Profile-Guided Optimizations 8 PGO (Profile-Guided Optimization) allows your compiler to better optimize code 12 This guide walks you through how to build Clang with PGO, though it also applies 15 If you want to build other software with PGO, see the `end-user documentation 16 for PGO <https://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization>`_. 22 See https://llvm.org/docs/AdvancedBuilds.html#multi-stage-pgo 29 compiler-rt. Despite the name, it performs four clean builds of Clang, so it 30 can take a while to run to completion. Please see the script's ``--help`` for 32 If you want to get the most out of PGO for a particular use-case (e.g. compiling 39 This script also supports a ``--dry-run`` option, which causes it to print [all …]
|
12345678910>>...19