| /llvm-project/lldb/test/Shell/ExecControl/StopHook/ |
| H A D | stop-hook.test | 1 # RUN: %clang_host %p/Inputs/stop-hook.c -g -o %t 2 # Test setting stop-hook per-function 3 # RUN: %lldb -b -s %p/Inputs/stop-hook-1.lldbinit -s %s -f %t \ 5 # Test setting stop-hook per-line range 6 # RUN: %lldb -b -s %p/Inputs/stop-hook-2.lldbinit -s %s -f %t | FileCheck %s 7 # Test setting stop-hook with multi-line expression 8 # RUN: %lldb -b -s %p/Inputs/stop-hook-3.lldbinit -s %s -f %t | FileCheck %s 15 break set -f stop-hook.c -p "// Set breakpoint here to test target stop-hook" 16 break set -f stop-hook.c -p "// Another breakpoint which is outside of the stop-hook range" 17 target stop-hook list [all …]
|
| H A D | stop-hook-threads.test | 1 # RUN: %clangxx_host -std=c++11 %p/Inputs/stop-hook-threads.cpp -g -o %t 2 # RUN: %lldb -b -s %p/Inputs/stop-hook-threads-1.lldbinit -s %s -f %t \ 4 # RUN: %lldb -b -s %p/Inputs/stop-hook-threads-2.lldbinit -s %s -f %t \ 13 break set -f stop-hook-threads.cpp -p "Set break point at this line" 14 target stop-hook list 29 # CHECK-FILTER-NEXT: script print('Hit stop hook')
|
| /llvm-project/llvm/unittests/ADT/ |
| H A D | IntervalMapTest.cpp | 95 EXPECT_EQ(150u, I.stop()); in TEST() 108 EXPECT_EQ(150u, I.stop()); in TEST() 117 EXPECT_EQ(150u, I.stop()); in TEST() 124 EXPECT_EQ(150u, I.stop()); in TEST() 130 EXPECT_EQ(200u, I.stop()); in TEST() 137 EXPECT_EQ(200u, I.stop()); in TEST() 144 EXPECT_EQ(150u, I.stop()); in TEST() 150 EXPECT_EQ(160u, I.stop()); in TEST() 157 EXPECT_EQ(160u, I.stop()); in TEST() 180 EXPECT_EQ(150u, I.stop()); in TEST() [all …]
|
| /llvm-project/llvm/test/tools/llvm-objdump/ |
| H A D | warn-on-out-of-range-start-stop-address.test | 1 ## This test checks warning messages if --start-address/--stop-address 15 # RUN: llvm-objdump --file-headers --start-address=0x1004 --stop-address=0x1006 %t 2>&1 \ 21 # RUN: llvm-objdump --file-headers --start-address=0x1005 --stop-address=0x1006 %t 2>&1 \ 27 # RUN: llvm-objdump --file-headers --start-address=0x1405 --stop-address=0x1406 %t 2>&1 \ 31 # RUN: llvm-objdump --file-headers --stop-address=0x1000 %t 2>&1 \ 34 ## - Range ends at UINT64_MAX. (--stop-address defaults to UINT64_MAX) 43 # RUN: llvm-objdump --file-headers --start-address=0x1000 --stop-address=0x1004 %t 2>&1 \ 49 # RUN: llvm-objdump --file-headers --start-address=0x1001 --stop-address=0x1003 %t 2>&1 \ 55 # RUN: llvm-objdump --file-headers --start-address=0xfff --stop-address=0x1005 %t 2>&1 \ 61 # RUN: llvm-objdump --file-headers --start-address=0x1000 --stop-address=0x1003 %t 2>&1 \ [all …]
|
| /llvm-project/openmp/runtime/src/ |
| H A D | extractExternal.cpp | 36 void stop(char *errorMsg) { in stop() function 72 stop("rstream.getBuf: Error opening file"); in getBuf() 76 stop("rstream.getBuf: Error reading file"); in getBuf() 121 stop("StringTable.init: Invalid symbol table"); in init() 145 stop("StringTable: Invalid string table"); in StringTable() 152 stop("StringTable: Unexpected EOF"); in StringTable() 168 stop("StringTable: String too long"); in StringTable() 172 stop("StringTable: Symbol table too long"); in StringTable() 206 stop("StringTable::encode: String now found in string table"); in encode() 219 stop("StringTable::decode: Invalid string table lookup"); in decode() [all …]
|
| /llvm-project/lldb/test/Shell/ExecControl/StopHook/Inputs/ |
| H A D | stop-hook-threads-2.lldbinit | 1 break set -f stop-hook-threads.cpp -p "Break here to set up the stop hook" 2 break set -f stop-hook-threads.cpp -p "Break here to test that the stop-hook" 4 target stop-hook add -x 2 -o "expr lldb_val += 1" -o "thread list" 5 target stop-hook add -G true -o "script print('Hit stop hook')
|
| H A D | stop-hook-threads-1.lldbinit | 1 break set -f stop-hook-threads.cpp -p "Break here to set up the stop hook" 2 break set -f stop-hook-threads.cpp -p "Break here to test that the stop-hook" 4 target stop-hook add -G true
|
| /llvm-project/libc/test/src/math/exhaustive/ |
| H A D | exhaustive_test.h | 24 // To test exhaustively for inputs in the range [start, stop) in parallel: 29 // - uint64_t check(start, stop, rounding_mode): a method to test in given 33 // 3. Call: test_full_range(start, stop, nthreads, rounding) 34 // or test_full_range_all_roundings(start, stop). 50 uint64_t check(StorageType start, StorageType stop, in check() 54 return (stop > start); in check() 67 } while (bits++ < stop); in check() 143 // Break [start, stop) into `nthreads` subintervals and apply *check to each 147 StorageType stop, T... extra_range_bounds) { in test_full_range() 162 if (current_value == stop) in test_full_range() [all...] |
| /llvm-project/libc/benchmarks/gpu/timing/nvptx/ |
| H A D | timing.h | 33 uint64_t stop = gpu::processor_clock(); in overhead() 35 return stop - start; 65 uint64_t stop = gpu::processor_clock(); in latency() 67 asm("" ::"r"(stop)); in latency() 71 return stop - start; in latency() 90 uint64_t stop = gpu::processor_clock(); in latency() local 92 asm("" ::"r"(stop)); in latency() 95 return stop - start; in latency() 116 uint64_t stop = gpu::processor_clock(); 118 asm("" ::"r"(stop)); 31 uint64_t stop = gpu::processor_clock(); overhead() local 64 uint64_t stop = gpu::processor_clock(); latency() local [all...] |
| /llvm-project/clang/test/SemaCXX/ |
| H A D | addr-label-in-coroutines.cpp | 18 … &&stop}; // expected-error {{the GNU address of label extension is not allowed in coroutines}} in f1() 28 stop: in f1() 36 …dispatch_table[2] = &&stop; // expected-error {{the GNU address of label extension is not allo… in f2() 46 stop: in f2() 55 …dispatch_table[2] = &&stop; // expected-error {{the GNU address of label extension is not allo… in f3() 65 stop: in f3()
|
| /llvm-project/llvm/include/llvm/ADT/ |
| H A D | IntervalMap.h | 29 /// stop() iterator methods. 52 // KeyT stop() const; 80 // const KeyT &stop() const; 556 // - Traits::stopLess(start(i), stop(i)) - Non-empty, sane intervals. 558 // - Traits::stopLess(stop(i), start(i + 1) - Sorted. 560 // - value(i) != value(i + 1) || !Traits::adjacent(stop(i), start(i + 1)) 569 const KeyT &stop(unsigned i) const { return this->first[i].second; } in stop() function 573 KeyT &stop(unsigned i) { return this->first[i].second; } in stop() function 580 /// @return First index with !stopLess(key[i].stop, x), or size. 584 assert((i == 0 || Traits::stopLess(stop( in findFrom() 705 const KeyT &stop(unsigned i) const { return this->second[i]; } stop() function 708 KeyT &stop(unsigned i) { return this->second[i]; } stop() function 1112 KeyT stop() const { stop() function 1419 const KeyT &stop() const { return unsafeStop(); } stop() function 2175 KeyType stop() const { stop() function [all...] |
| H A D | CoalescingBitVector.h | 88 Bits += 1 + It.stop() - It.start(); in count() 110 insert(It.start(), It.stop()); in set() 124 assert(It.stop() >= Index && "Interval must end after Index"); in test() 148 IndexT Stop = It.stop(); in reset() 168 IndexT Stop = It.stop(); 203 IndexT CurrStop = It.stop(); in intersectWithComplement() 226 ItL.start() == ItR.start() && ItL.stop() == ItR.stop()) { 270 CachedStop = MapIterator.stop(); in resetCache() 381 if (It.start() != It.stop()) in print() 382 OS << ", " << It.stop(); in print() [all …]
|
| /llvm-project/compiler-rt/test/tsan/ |
| H A D | fd_close_norace3.cpp | 8 void *Thread(void *stop) { in Thread() argument 9 while (!__atomic_load_n((int *)stop, __ATOMIC_RELAXED)) in Thread() 15 int stop = 0; in main() local 19 pthread_create(&th[i], 0, Thread, &stop); in main() 21 __atomic_store_n(&stop, 1, __ATOMIC_RELAXED); in main()
|
| /llvm-project/llvm/lib/Support/ |
| H A D | regengine.inc | 146 const char *stop; 153 stop = string + pmatch[0].rm_eo; 156 stop = start + strlen(start); 158 if (stop < start) 163 for (dp = start; dp < stop; dp++) 164 if (*dp == g->must[0] && stop - dp >= g->mlen && 167 if (dp == stop) /* we didn't find g->must */ 178 m->endp = stop; 188 endp = fast(m, start, stop, gf, gl); 202 endp = slow(m, m->coldp, stop, gf, gl); [all …]
|
| /llvm-project/libc/test/src/math/ |
| H A D | log1p_test.cpp | 87 auto test = [&](uint64_t start, uint64_t stop, in TEST_F() 99 uint64_t step = (stop - start) / COUNT; in TEST_F() 132 auto test_all_rounding = [&](uint64_t start, uint64_t stop, in TEST_F() 138 test(start, stop, mpfr::RoundingMode::Nearest); in TEST_F() 141 test(start, stop, mpfr::RoundingMode::Downward); in TEST_F() 144 test(start, stop, mpfr::RoundingMode::Upward); in TEST_F() 147 test(start, stop, mpfr::RoundingMode::TowardZero); in TEST_F() 89 __anon3ce9737d0102(uint64_t start, uint64_t stop, mpfr::RoundingMode rounding_mode) TEST_F() argument 134 __anon3ce9737d0202(uint64_t start, uint64_t stop, const char *start_str, const char *stop_str) TEST_F() argument
|
| /llvm-project/llvm/test/CodeGen/PowerPC/ |
| H A D | ppc-passname.ll | 2 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-loop-in… 7 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-loop-ins… 14 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-toc-reg… 19 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-toc-reg-… 26 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-vsx-cop… 31 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-vsx-copy… 38 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-early-r… 43 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-early-re… 50 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-vsx-fma… 55 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-vsx-fma-… [all …]
|
| /llvm-project/lld/test/ELF/ |
| H A D | startstop-visibility.s | 11 # RUN: ld.lld -z start-stop-visibility=default %t.o -o %t1 17 # RUN: ld.lld -z start-stop-visibility=internal %t.o -o %t2 23 # RUN: ld.lld -z start-stop-visibility=hidden %t.o -o %t3 29 # RUN: ld.lld -z start-stop-visibility=protected %t.o -o %t4 35 # RUN: not ld.lld -z start-stop-visibility=aaa %t.o -o /dev/null 36 # CHECK-ERROR: error: unknown -z start-stop-visibility= value: aaa
|
| /llvm-project/lldb/test/Shell/Watchpoint/ |
| H A D | netbsd-nouserdbregs.test | 6 # RUN: %lldb -b -o 'settings set interpreter.stop-command-source-on-error false' -s %s %t.out 2>&1 … 8 settings show interpreter.stop-command-source-on-error 9 # CHECK: interpreter.stop-command-source-on-error (boolean) = false 16 # CHECK: stop reason = breakpoint 20 # CHECK: stop reason = breakpoint
|
| H A D | ExpressionLanguage.test | 3 # RUN: %lldb -b -o 'settings set interpreter.stop-command-source-on-error false' -s %s %t.out 2>&1 … 5 settings show interpreter.stop-command-source-on-error 6 # CHECK: interpreter.stop-command-source-on-error (boolean) = false 11 # CHECK-NEXT: stop reason = breakpoint
|
| /llvm-project/llvm/test/CodeGen/Generic/ |
| H A D | llc-start-stop.ll | 5 ; RUN: llc < %s -debug-pass=Structure -stop-after=loop-reduce -verify-machineinstrs -o /dev/null 2>&1 \ 16 ; RUN: llc < %s -debug-pass=Structure -stop-before=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE 33 ; RUN: not --crash llc < %s -stop-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-STOP-BEFORE 35 ; RUN: not --crash llc < %s -stop-after=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-STOP-AFTER 42 ; RUN: not --crash llc < %s -stop-before=loop-reduce -stop-after=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=DOUBLE-STOP 44 ; DOUBLE-STOP: stop-before and stop-after specified!
|
| /llvm-project/mlir/python/mlir/dialects/ |
| H A D | scf.py | 108 stop=None, argument 117 if stop is None: 118 stop = start 120 params = [start, stop, step] 128 start, stop, step = params 130 for_op = ForOp(start, stop, step, iter_args, loc=loc, ip=ip)
|
| /llvm-project/lld/docs/ELF/ |
| H A D | start-stop-gc.rst | 1 -z start-stop-gc 8 …ned under --gc-sections properly; consider -z nostart-stop-gc (see https://lld.llvm.org/start-stop… 20 GNU ld 2.37 added ``-z start-stop-gc`` to restore the traditional behavior 21 ld.lld 13.0.0 defaults to ``-z start-stop-gc`` and supports ``-z nostart-stop-gc`` 25 allowed GC (like ``-z start-stop-gc``).
|
| /llvm-project/lldb/test/Shell/Settings/ |
| H A D | TestLineMarkerColor.test | 4 settings set stop-show-line-ansi-prefix "prefix" 5 settings set stop-show-line-ansi-suffix "suffix" 9 settings set stop-show-line-ansi-prefix ${ansi.fg.green} 10 settings set stop-show-line-ansi-suffix ${ansi.normal}
|
| /llvm-project/lldb/test/API/api/multithreaded/ |
| H A D | test_stop-hook.cpp.template | 3 // python command in a stop hook. 44 // one that runs in the stop hook and sets a variable when it 46 // that we did indeed run the stop hook. 67 // Now add the stop hook: 68 interp.HandleCommand("target stop-hook add -o some-cmd", result); 70 throw Exception("Couldn't add a stop hook."); 128 throw Exception("Event wasn't a stop event."); 130 // At this point the stop hook should have run. Check that: 133 throw Exception("Didn't actually call stop hook.");
|
| /llvm-project/lldb/test/Shell/Register/Core/ |
| H A D | x86-32-netbsd-multithread.test | 4 # CHECK: * thread #1: tid = 2, 0x08048db9, stop reason = signal SIGSEGV 5 # CHECK-NEXT: thread #2: tid = 4, 0x08048dbf, stop reason = signal 0 6 # CHECK-NEXT: thread #3: tid = 3, 0x08048dbf, stop reason = signal 0 7 # CHECK-NEXT: thread #4: tid = 1, 0xf876a147, stop reason = signal 0
|