| /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 …]
|
| D | branch2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 3 ; RUN: llvm-profdata merge %S/Inputs/branch2.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=… 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-… 6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 7 target triple = "x86_64-unknown-linux-gnu" 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 16 ; GEN-NOT: llvm.instrprof.increment 20 ; USE-SAME: !prof ![[BW_ENTRY:[0-9]+]] [all …]
|
| D | loop1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 3 ; RUN: llvm-profdata merge %S/Inputs/loop1.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=… 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-… 6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 7 target triple = "x86_64-unknown-linux-gnu" 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 16 ; GEN-NOT: call void @llvm.instrprof.increment 21 ; GEN-NOT: call void @llvm.instrprof.increment [all …]
|
| D | switch.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 3 ; RUN: llvm-profdata merge %S/Inputs/switch.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=… 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-… 6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 7 target triple = "x86_64-unknown-linux-gnu" 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 16 ; GEN-NOT: call void @llvm.instrprof.increment 23 ; USE-SAME: !prof ![[BW_SWITCH:[0-9]+]] [all …]
|
| D | diag_no_profile.ll | 1 ; RUN: not opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 2 ; RUN: not opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 4 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 5 target triple = "x86_64-unknown-linux-gnu"
|
| D | indirect_call_promotion.ll | 1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM 2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM 3 …-pgo-icall-prom -S -pass-remarks=pgo-icall-prom -icp-count-threshold=0 -icp-percent-threshold=0 -i… 4 …-passes=pgo-icall-prom -S -pass-remarks=pgo-icall-prom -icp-count-threshold=0 -icp-percent-thresho… 5 ; PASS-REMARK: remark: <unknown>:0:0: Promote indirect call to func4 with count 1030 out of 1600 6 ; PASS-REMARK: remark: <unknown>:0:0: Promote indirect call to func2 with count 410 out of 570 7 ; PASS-REMARK: remark: <unknown>:0:0: Promote indirect call to func3 with count 150 out of 160 8 ; PASS-REMARK: remark: <unknown>:0:0: Promote indirect call to func1 with count 10 out of 10 10 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 11 target triple = "x86_64-unknown-linux-gnu" [all …]
|
| D | diag_FE_profile.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/diag_FE.proftext -o %t.profdata 2 ; RUN: not opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s 3 ; RUN: not opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s 7 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 8 target triple = "x86_64-unknown-linux-gnu"
|
| 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-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s 3 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s 7 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 8 target triple = "x86_64-unknown-linux-gnu"
|
| D | diag_mismatch.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/diag.proftext -o %t.profdata 2 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s 3 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S 2>&1 | FileCheck %s 7 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 8 target triple = "x86_64-unknown-linux-gnu"
|
| D | loop2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 3 ; RUN: llvm-profdata merge %S/Inputs/loop2.proftext -o %t.profdata 4 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=… 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-… 6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 7 target triple = "x86_64-unknown-linux-gnu" 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 16 ; GEN-NOT: call void @llvm.instrprof.increment 21 ; GEN-NOT: call void @llvm.instrprof.increment [all …]
|
| D | indirect_call_annotation.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/indirect_call.proftext -o %t.profdata 2 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-prefix=… 3 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s --check-… 4 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 5 target triple = "x86_64-unknown-linux-gnu" 30 ; VP-ANNOTATION: %call = call i32 %tmp(i32 %i) 31 ; VP-ANNOTATION-SAME: !prof ![[VP:[0-9]+]] 32 ; VP-ANNOTATION: ![[VP]] = !{!"VP", i32 0, i64 140, i64 -4377547752858689819, i64 80, i64 -25455423…
|
| D | icp_mismatch_msg.ll | 1 ; RUN: opt < %s -pgo-icall-prom -pass-remarks-missed=pgo-icall-prom -S 2>& 1 | FileCheck %s 2 ; RUN: opt < %s -passes=pgo-icall-prom -pass-remarks-missed=pgo-icall-prom -S 2>& 1 | FileCheck %s 8 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 9 target triple = "x86_64-unknown-linux-gnu" 38 !1 = !{!"VP", i32 0, i64 1801, i64 7651369219802541373, i64 1234, i64 -4377547752858689819, i64 567} 39 !2 = !{!"VP", i32 0, i64 3023, i64 -6929281286627296573, i64 2345, i64 -4377547752858689819, i64 67… 40 !3 = !{!"VP", i32 0, i64 7890, i64 -4377547752858689819, i64 7890}
|
| /external/clang/lib/CodeGen/ |
| D | CodeGenPGO.cpp | 1 //===--- CodeGenPGO.cpp - PGO Instrumentation for LLVM CodeGen --*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 10 // Instrumentation-based profile-guided optimization 12 //===----------------------------------------------------------------------===// 26 "enable-value-profiling", llvm::cl::ZeroOrMore, 37 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName() 45 setFuncName(Fn->getName(), Fn->getLinkage()); in setFuncName() 51 /// \brief Stable hasher for PGO region counters. 56 /// profiles -- i.e., don't do it. 112 /// A RecursiveASTVisitor that fills a map of statements to PGO counters. [all …]
|
| /external/llvm/docs/ |
| D | AdvancedBuilds.rst | 11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake 25 The Clang CMake build system supports bootstrap (aka multi-stage) builds. At a 26 high level a multi-stage build is a chain of builds that pass data from one 30 In a simple two-stage bootstrap build, we build clang using the system compiler, 31 then use that just-built clang to build clang again. In CMake this simplest form 35 .. code-block:: console 37 $ cmake -G Ninja -DCLANG_ENABLE_BOOTSTRAP=On <path to source> 47 general a stage*n* build is built using the output from stage*n-1*. 53 bootstrapping scenario. Apple Clang is built using a 2-stage build. 55 The stage1 compiler is a host-only compiler with some options set. The stage1 [all …]
|
| /external/python/cpython2/PCbuild/ |
| D | build.bat | 19 echo. -h Display this help message 20 echo. -r Target Rebuild instead of Build 21 echo. -d Set the configuration to Debug 22 echo. -e Build external libraries fetched by get_externals.bat 25 echo. -m Enable parallel build 26 echo. -M Disable parallel build (disabled by default) 27 echo. -v Increased output messages 28 echo. -k Attempt to kill any running Pythons before building (usually done 30 echo. --pgo Build with Profile-Guided Optimization. This flag 31 echo. overrides -c and -d [all …]
|
| /external/python/cpython2/PC/VS8.0/ |
| D | build_pgo.bat | 2 rem A batch program to build PGO (Profile guided optimization) by first 12 set job1=..\..\tools\pybench\pybench.py -n 1 -C 1 --with-gc 23 if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts 24 if "%1"=="-2" (set job=%job2%) & (set clrpath=%path2%) & shift & goto CheckOpts 26 set PGI=%platf%-pgi 27 set PGO=%platf%-pgo variable 31 call build -p %platf% -c PGInstrument 39 if exist %PGO% del /s /q %PGO% 40 call build -p %platf% -c PGUpdate
|
| /external/python/cpython2/PC/VS9.0/ |
| D | build_pgo.bat | 2 rem A batch program to build PGO (Profile guided optimization) by first 12 set job1=..\..\tools\pybench\pybench.py -n 1 -C 1 --with-gc 23 if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts 24 if "%1"=="-2" (set job=%job2%) & (set clrpath=%path2%) & shift & goto CheckOpts 26 set PGI=%platf%-pgi 27 set PGO=%platf%-pgo variable 31 call build -p %platf% -c PGInstrument 39 if exist %PGO% del /s /q %PGO% 40 call build -p %platf% -c PGUpdate
|
| /external/python/cpython2/Lib/test/ |
| D | regrtest.py | 6 python -m test.regrtest [options] [test_name1 [test_name2 ...]] 12 them in alphabetical order (but see -M and -u, below, for exceptions). 17 python -E -tt -Wd -3 -m test.regrtest [options] [test_name1 ...] 22 -h/--help -- print this text and exit 26 -v/--verbose -- run tests in verbose mode with output to stdout 27 -w/--verbose2 -- re-run failed tests in verbose mode 28 -W/--verbose3 -- re-run failed tests in verbose mode immediately 29 -q/--quiet -- no output unless one or more tests fail 30 -S/--slowest -- print the slowest 10 tests 31 --header -- print header with interpreter info [all …]
|
| /external/python/cpython3/PCbuild/ |
| D | build.bat | 19 echo. -h Display this help message 20 echo. -V Display version information for the current build 21 echo. -r Target Rebuild instead of Build 22 echo. -d Set the configuration to Debug 23 echo. -E Don't fetch or build external libraries. Extension modules that 25 echo. is present; -e is also accepted to explicitly enable fetching and 27 echo. -m Enable parallel build (enabled by default) 28 echo. -M Disable parallel build 29 echo. -v Increased output messages 30 echo. -vv Verbose output messages [all …]
|
| /external/llvm/include/llvm/ProfileData/ |
| D | InstrProf.h | 1 //===-- InstrProf.h - Instrumented profiling format support -----*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 10 // Instrumentation-based profiling data is generated by instrumented 11 // binaries through library functions in compiler-rt, and read by the clang 12 // frontend to feed PGO. 14 //===----------------------------------------------------------------------===// 54 /// Return the name of the data section containing per-function control 91 /// Return the name prefix of variables containing per-function control data. 108 /// of all function's PGO names. 121 /// of PGO name vars referenced by the coverage mapping. The owning [all …]
|
| /external/clang/utils/perf-training/ |
| D | CMakeLists.txt | 2 # All test suites added here should be excuded from check-all 16 ${CMAKE_CURRENT_BINARY_DIR}/pgo-data/lit.site.cfg 19 add_lit_testsuite(generate-profraw "Generating clang PGO data" 20 ${CMAKE_CURRENT_BINARY_DIR}/pgo-data/ 21 DEPENDS clang clear-profraw 24 add_custom_target(clear-profraw 25 …COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py clean ${CMAKE_CURRENT_BINA… 29 find_program(LLVM_PROFDATA llvm-profdata) 33 …message(FATAL_ERROR "Must set LLVM_PROFDATA to point to llvm-profdata to use for merging PGO data") 36 add_custom_target(generate-profdata [all …]
|
| /external/clang/cmake/caches/ |
| D | README.txt | 4 This directory contains CMake cache scripts that pre-populate the CMakeCache in 9 cmake -G <build system> 10 -C <path to cache file> 11 [additional CMake options (i.e. -DCMAKE_INSTALL_PREFIX=<install path>)] 18 Apple-stage1 19 ------------ 25 The Apple-stage2 cache can be used directly to match the build settings Apple 28 PGO 29 --- 31 The PGO CMake cache can be used to generate a multi-stage instrumented compiler. [all …]
|