Home
last modified time | relevance | path

Searched refs:bisect (Results 1 – 25 of 131) sorted by relevance

123456

/external/llvm-project/llvm/docs/
DGitBisecting.rst8 ``git bisect`` is a useful tool for finding which revision caused a bug.
10 This document describes how to use ``git bisect``. In particular, while LLVM
21 See https://git-scm.com/docs/git-bisect for a good overview. In summary:
25 git bisect start
26 git bisect bad master
27 git bisect good f00ba
30 that revision, and run ``git bisect good`` or ``git bisect bad``.
33 ``git bisect skip`` and git will pick a nearby alternate commit.
35 (To abort a bisect, run ``git bisect reset``, and if git complains about not
39 ``git bisect run``
[all …]
DOptBisect.rst2 Using -opt-bisect-limit to debug optimization errors
11 The -opt-bisect-limit option provides a way to disable all optimization passes
19 check the opt-bisect limit before performing optimizations. Passes which
25 The -opt-bisect-limit option can be used with any tool, including front ends
39 The -opt-bisect-limit command line option can be passed directly to tools such
44 <tool name> [other options] -opt-bisect-limit=<limit>
50 opt-bisect-limit. All optimizations with a higher index value will be skipped.
52 In order to use the -opt-bisect-limit option with a driver that provides a
60 clang -O2 -mllvm -opt-bisect-limit=256 my_file.c
62 The -opt-bisect-limit option may also be applied to link-time optimizations by
[all …]
/external/llvm/test/Other/
Dopt-bisect-legacy-pass-manager.ll18 ; RUN: opt -O3 -opt-bisect-limit=0 < %s | llc -O3 -opt-bisect-limit=0
21 ; Verify that no skippable passes are run with -opt-bisect-limit=0.
23 ; RUN: opt -disable-output -disable-verify -O3 -opt-bisect-limit=0 %s 2>&1 \
30 ; RUN: opt -opt-bisect-limit=0 < %s 2>&1 | FileCheck %s --check-prefix=OPTBISECT-O0
36 ; Verify that we can use the opt-bisect-helper.py script (derived from
37 ; utils/bisect) to locate the optimization that inlines the call to
40 ; RUN: %python %S/opt-bisect-helper.py --start=0 --end=256 --optcmd=opt \
53 ; RUN: opt -disable-output -disable-verify -deadargelim -opt-bisect-limit=-1 %s \
57 ; RUN: opt -disable-output -disable-verify -deadargelim -opt-bisect-limit=0 %s \
64 ; RUN: opt -disable-output -disable-verify -inline -opt-bisect-limit=-1 %s \
[all …]
/external/skia/tools/viewer/
DBisectSlide.cpp28 sk_sp<BisectSlide> bisect(new BisectSlide(filepath)); in Create() local
29 if (bisect->fFilePath.endsWith(".svg")) { in Create()
36 svg->setContainerSize(SkSize::Make(bisect->getDimensions())); in Create()
37 svg->render(bisect.get()); in Create()
47 skp->playback(bisect.get()); in Create()
50 return bisect; in Create()
/external/skqp/tools/viewer/
DBisectSlide.cpp28 sk_sp<BisectSlide> bisect(new BisectSlide(filepath)); in Create() local
29 if (bisect->fFilePath.endsWith(".svg")) { in Create()
41 svg->setContainerSize(SkSize::Make(bisect->getDimensions())); in Create()
42 svg->render(bisect.get()); in Create()
52 skp->playback(bisect.get()); in Create()
55 return bisect; in Create()
/external/llvm-project/llvm/test/Other/
Dopt-bisect-legacy-pass-manager.ll19 ; RUN: opt -O3 -opt-bisect-limit=0 -enable-new-pm=0 < %s | llc -O3 -opt-bisect-limit=0
22 ; Verify that no skippable passes are run with -opt-bisect-limit=0.
24 ; RUN: opt -disable-output -disable-verify -O3 -opt-bisect-limit=0 %s -enable-new-pm=0 2>&1 \
31 ; RUN: opt -opt-bisect-limit=0 < %s 2>&1 -enable-new-pm=0 | FileCheck %s --check-prefix=OPTBISECT-O0
37 ; Verify that we can use the opt-bisect-helper.py script (derived from
38 ; utils/bisect) to locate the optimization that inlines the call to
41 ; RUN: %python %S/opt-bisect-helper.py --start=0 --end=256 --optcmd=opt \
54 ; RUN: opt -disable-output -disable-verify -deadargelim -opt-bisect-limit=-1 %s -enable-new-pm=0 \
58 ; RUN: opt -disable-output -disable-verify -deadargelim -opt-bisect-limit=0 %s -enable-new-pm=0 \
65 ; RUN: opt -disable-output -disable-verify -inline -opt-bisect-limit=-1 %s -enable-new-pm=0 \
[all …]
Dopt-bisect-new-pass-manager.ll12 ; RUN: -passes=inferattrs -opt-bisect-limit=-1 %s 2>&1 \
17 ; RUN: -passes=inferattrs -opt-bisect-limit=0 %s 2>&1 \
22 ; RUN: -passes=inferattrs -opt-bisect-limit=-1 %s 2>&1 \
31 ; RUN: -passes=inferattrs -opt-bisect-limit=0 %s 2>&1 \
40 ; RUN: -passes=early-cse -opt-bisect-limit=-1 %s 2>&1 \
48 ; RUN: -passes=early-cse -opt-bisect-limit=2 %s 2>&1 \
56 ; RUN: -passes=function-attrs -opt-bisect-limit=-1 %s 2>&1 \
64 ; RUN: -passes=function-attrs -opt-bisect-limit=3 %s 2>&1 \
71 ; RUN: opt -disable-output -disable-verify -opt-bisect-limit=-1 \
84 ; RUN: opt -disable-output -disable-verify -opt-bisect-limit=7 \
[all …]
/external/libyuv/files/tools/
DOWNERS19 per-file bisect*.py=anantha@chromium.org
20 per-file bisect*.py=prasadv@chromium.org
21 per-file bisect*.py=robertocn@chromium.org
22 per-file run-bisect*.py=prasadv@chromium.org
23 per-file run-bisect*.py=robertocn@chromium.org
24 per-file prepare-bisect*.py=prasadv@chromium.org
25 per-file prepare-bisect*.py=robertocn@chromium.org
/external/python/cpython2/Doc/library/
Dbisect.rst1 :mod:`bisect` --- Array bisection algorithm
4 .. module:: bisect
12 **Source code:** :source:`Lib/bisect.py`
19 approach. The module is called :mod:`bisect` because it uses a basic bisection
40 bisect(a, x, lo=0, hi=len(a))
52 ``a.insert(bisect.bisect_left(a, x, lo, hi), x)`` assuming that *a* is
66 bisect to build a full-featured collection class with straight-forward search
74 The above :func:`bisect` functions are useful for finding insertion points but
120 The :func:`bisect` function can be useful for numeric table lookups. This
121 example uses :func:`bisect` to look up a letter grade for an exam score (say)
[all …]
/external/python/cpython3/Doc/library/
Dbisect.rst1 :mod:`bisect` --- Array bisection algorithm
4 .. module:: bisect
10 **Source code:** :source:`Lib/bisect.py`
17 approach. The module is called :mod:`bisect` because it uses a basic bisection
38 bisect(a, x, lo=0, hi=len(a))
50 ``a.insert(bisect.bisect_left(a, x, lo, hi), x)`` assuming that *a* is
64 bisect to build a full-featured collection class with straight-forward search
72 The above :func:`bisect` functions are useful for finding insertion points but
118 The :func:`bisect` function can be useful for numeric table lookups. This
119 example uses :func:`bisect` to look up a letter grade for an exam score (say)
[all …]
/external/tremolo/Tremolo/
Dvorbisfile.c219 ogg_int64_t bisect; in _bisect_forward_serialno() local
222 bisect=searched; in _bisect_forward_serialno()
224 bisect=(searched+endsearched)/2; in _bisect_forward_serialno()
227 _seek_helper(vf,bisect); in _bisect_forward_serialno()
231 endsearched=bisect; in _bisect_forward_serialno()
1196 ogg_int64_t bisect; in ov_pcm_seek_page() local
1199 bisect=begin; in ov_pcm_seek_page()
1202 bisect=begin + in ov_pcm_seek_page()
1204 if(bisect<=begin) in ov_pcm_seek_page()
1205 bisect=begin+1; in ov_pcm_seek_page()
[all …]
/external/toolchain-utils/binary_search_tool/
DREADME.pass_bisect.md6 Before reading this document, please refer to README.bisect for general usage
14 `-opt-bisect-limit` and `print-debug-counter` that only exist in LLVM.
37 See the documentation in `README.bisect.md` for more detailed instructions.
79 You can always override them if needed. See README.bisect for more
83 remain the same as before. See README.bisect for more details.
DREADME.bisect.md18 This method will bisect across all packages in a ChromeOS repository and find
22 * board: The board to bisect on. For example: daisy, falco, etc.
72 This method will bisect across all objects in a ChromeOS package and find
76 * board: The board to bisect on. For example: daisy, falco, etc.
78 * package: The package to bisect with. For example: chromeos-chrome
139 This method will bisect across all objects in the Android source tree and
/external/XNNPACK/tools/
Dprimes.py6 import bisect
115 return FIRST_1000_PRIMES[bisect.bisect_right(FIRST_1000_PRIMES, n)]
/external/python/cpython2/Misc/NEWS.d/next/Tests/
D2018-05-30-00-39-57.bpo-29512.EHrDzs.rst1 Rename Lib/test/bisect.py to Lib/test/bisect_cmd.py. The old name was in
2 conflict with Lib/bisect.py, causing test failures, depending how tests
/external/llvm-project/polly/docs/
DTipsAndTricks.rst50 `<https://github.com/llvm/llvm-project>`_. How to bisect on a
52 `<https://www.metaltoad.com/blog/beginners-guide-git-bisect-process-elimination>`_.
53 The bisect process can also be automated as explained here:
54 `<https://www.metaltoad.com/blog/mechanizing-git-bisect-bug-hunting-lazy>`_.
/external/autotest/client/common_lib/cros/
Dstring_utils.py11 import bisect
62 index = bisect.bisect_right(length_list,
/external/llvm-project/llvm/test/Other/X86/
Dopt-bisect-isel.ll2 ; when the -opt-bisect-limit=0 option is used. In particular, the X86
6 ; RUN: llc -O3 -opt-bisect-limit=0 -o - %s | FileCheck %s
/external/llvm/test/Other/X86/
Dopt-bisect-isel.ll2 ; when the -opt-bisect-limit=0 option is used. In particular, the X86
6 ; RUN: llc -O3 -opt-bisect-limit=0 -o - %s | FileCheck %s
/external/oss-fuzz/infra/
Dbisector_test.py47 bisector.bisect(self.BISECT_TYPE, test_repo.old_commit,
60 result = bisector.bisect(self.BISECT_TYPE, test_repo.old_commit,
/external/python/cpython3/Lib/
Drandom.py55 from bisect import bisect as _bisect
445 bisect = _bisect
446 return [population[bisect(cum_counts, s)] for s in selections]
495 bisect = _bisect
497 return [population[bisect(cum_weights, random() * total, 0, hi)]
/external/python/cpython2/Lib/multiprocessing/
Dheap.py35 import bisect
115 i = bisect.bisect_left(self._lengths, size)
160 bisect.insort(self._lengths, length)
/external/python/cpython2/Lib/
Dmhlib.py85 from bisect import bisect
395 i = bisect(all, anchor)
398 i = bisect(all, anchor-1)
405 i = bisect(all, begin-1)
406 j = bisect(all, end)
445 i = bisect(all, n)
452 i = bisect(all, n-1)
/external/compiler-rt/lib/sanitizer_common/scripts/
Dsancov.py7 import bisect
160 map_idx = bisect.bisect(mem_map_keys, pc) - 1
/external/llvm-project/llvm/test/CodeGen/X86/
Dreplace_unsupported_masked_mem_intrin.ll4 ; RUN: llc -O2 -opt-bisect-limit=0 -mtriple=x86_64-unknown-linux-gnu -mattr=+sse,+sse2 < %s -o /dev…
6 ; because of opt-bisect-limit that in turn causes crash in instruction selection

123456