Home
last modified time | relevance | path

Searched full:grep (Results 1 – 25 of 854) sorted by relevance

12345678910>>...35

/llvm-project/clang/test/Frontend/
H A Ddarwin-version.c2 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '30000' | count 1
3 // RUN: not grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t
5 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '20000' | count 1
6 // RUN: not grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t
8 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '20200' | count 1
9 // RUN: not grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t
11 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '20301' | count 1
12 // RUN: not grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t
14 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '100102' | count 1
16 // RUN: grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t | grep '1040' | count 1
[all …]
/llvm-project/llvm/utils/lit/utils/
H A Dcheck-sdist11 grep -v '^\./.gitignore' | \
12 grep -v '^\./dist' | \
13 grep -v '^\./utils' | \
14 grep -v '^\./venv' | \
15 grep -v '^\./notes.txt' | \
16 grep -v '^\./lit.egg-info' | \
17 grep -v '^\./lit/ExampleTests' | \
18 grep -v '/Output' | \
19 grep -v '__pycache__' | \
20 grep -v '.pyc$' | grep -v '~$' | \
[all …]
/llvm-project/llvm/test/CodeGen/PowerPC/
H A DFrames-leaf.ll2 ; RUN: not grep "stw r31, 20(r1)"
4 ; RUN: not grep "stwu r1, -.*(r1)"
6 ; RUN: not grep "addi r1, r1, "
8 ; RUN: not grep "lwz r31, 20(r1)"
10 ; RUN: not grep "stw r31, 20(r1)"
12 ; RUN: not grep "stwu r1, -.*(r1)"
14 ; RUN: not grep "addi r1, r1, "
16 ; RUN: not grep "lwz r31, 20(r1)"
18 ; RUN: not grep "std r31, 40(r1)"
20 ; RUN: not grep "stdu r1, -.*(r1)"
[all …]
H A Dvsx-ldst.ll3 ; RUN: grep lxvw4x < %t | count 3
4 ; RUN: grep lxvd2x < %t | count 3
5 ; RUN: grep stxvw4x < %t | count 3
6 ; RUN: grep stxvd2x < %t | count 3
10 ; RUN: grep lxvw4x < %t | count 3
11 ; RUN: grep lxvd2x < %t | count 3
12 ; RUN: grep stxvw4x < %t | count 3
13 ; RUN: grep stxvd2x < %t | count 3
17 ; RUN: grep lxvd2x < %t | count 6
18 ; RUN: grep stxvd2x < %t | count 6
[all …]
H A Di64_fp.ll5 ; RUN: grep fcfid
7 ; RUN: grep fctidz
9 ; RUN: grep fcfid
11 ; RUN: grep fctidz
13 ; RUN: not grep fcfid
15 ; RUN: not grep fctidz
17 ; RUN: not grep fcfid
19 ; RUN: not grep fctidz
/llvm-project/clang/test/CodeGenCUDASPIRV/
H A Dcuda-types.cu18 // RUN: | grep -E '__CLANG_ATOMIC' \
19 // RUN: | grep -Ev '_ATOMIC_LLONG_LOCK_FREE' > %t/i386-host-defines-filtered
21 // RUN: | grep -E '__CLANG_ATOMIC' \
22 // RUN: | grep -Ev '_ATOMIC_LLONG_LOCK_FREE' > %t/i386-device-defines-filtered
26 // RUN: | grep -E '__CLANG_ATOMIC' \
27 // RUN: | grep -Ev '_ATOMIC_LLONG_LOCK_FREE' > %t/i386-msvc-host-defines-filtered
29 // RUN: | grep -E '__CLANG_ATOMIC' \
30 // RUN: | grep -Ev '_ATOMIC_LLONG_LOCK_FREE' > %t/i386-msvc-device-defines-filtered
34 // RUN: | grep -E '__CLANG_ATOMIC' \
35 // RUN: | grep -Ev '_ATOMIC_LLONG_LOCK_FREE' > %t/x86_64-host-defines-filtered
[all …]
/llvm-project/clang/test/Preprocessor/
H A Dcuda-types.cu16 // RUN: | grep -E 'define __[^ ]*(TYPE|MAX|SIZEOF|WIDTH)|define __CLANG_ATOMIC' \
17 // RUN: | grep -Ev '__LDBL|_LONG_DOUBLE|BITINT_MAXWIDTH|_ATOMIC_LLONG_LOCK_FREE' > %t/i386-host-d…
19 // RUN: | grep -E 'define __[^ ]*(TYPE|MAX|SIZEOF|WIDTH)|define __CLANG_ATOMIC' \
20 // RUN: | grep -Ev '__LDBL|_LONG_DOUBLE|BITINT_MAXWIDTH|_ATOMIC_LLONG_LOCK_FREE' > %t/i386-device…
24 // RUN: | grep -E 'define __[^ ]*(TYPE|MAX|SIZEOF|WIDTH)|define __CLANG_ATOMIC' \
25 // RUN: | grep -Ev '__LDBL|_LONG_DOUBLE|BITINT_MAXWIDTH' > %t/x86_64-host-defines-filtered
27 // RUN: | grep -E 'define __[^ ]*(TYPE|MAX|SIZEOF|WIDTH)|define __CLANG_ATOMIC' \
28 // RUN: | grep -Ev '__LDBL|_LONG_DOUBLE|BITINT_MAXWIDTH' > %t/x86_64-device-defines-filtered
32 // RUN: | grep -E 'define __[^ ]*(TYPE|MAX|SIZEOF|WIDTH)|define __CLANG_ATOMIC' \
33 // RUN: | grep -Ev '__LDBL|_LONG_DOUBLE|BITINT_MAXWIDTH' > %t/powerpc64-host-defines-filtered
[all …]
/llvm-project/clang/test/CodeGen/
H A Dblocks-1.c2 // RUN: grep "_Block_object_dispose" %t | count 12
3 // RUN: grep "__copy_helper_block_" %t | count 9
4 // RUN: grep "__destroy_helper_block_" %t | count 9
5 // RUN: grep "__Block_byref_object_copy_" %t | count 2
6 // RUN: grep "__Block_byref_object_dispose_" %t | count 2
7 // RUN: grep "i32 135)" %t | count 2
8 // RUN: grep "_Block_object_assign" %t | count 5
11 // RUN: grep "_Block_object_dispose" %t | count 12
12 // RUN: grep "__copy_helper_block_" %t | count 11
13 // RUN: grep "__destroy_helper_block_" %t | count 11
[all …]
H A Dunion-align.c1 …c1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | grep load | grep "4 x float" | not grep "…
2 …_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | grep load | grep "4 x float" | grep "al…
H A D2008-07-31-asm-labels.c2 // RUN: not grep "@pipe()" %t
3 // RUN: grep '_thisIsNotAPipe' %t | count 3
4 // RUN: not grep '@g0' %t
5 // RUN: grep '_renamed' %t | count 2
7 // RUN: not grep "@pipe()" %t
8 // RUN: grep '_thisIsNotAPipe' %t | count 3
/llvm-project/clang/test/CodeGenObjC/
H A Dprotocols-lazy.m4 // RUN: not grep OBJC_PROTOCOL_P0 %t
8 // RUN: not grep OBJC_PROTOCOL_P1 %t
12 // RUN: grep OBJC_PROTOCOL_P2 %t | count 3
13 // RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P2 %t | count 3
18 // RUN: grep OBJC_PROTOCOL_P3 %t | count 3
19 // RUN: not grep OBJC_PROTOCOL_INSTANCE_METHODS_P3 %t
27 // RUN: grep OBJC_PROTOCOL_P4 %t | count 3
28 // RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P4 %t | count 3
34 // RUN: grep OBJC_PROTOCOL_P5 %t | count 3
35 // RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P
[all...]
H A Dbitfield-ivar-offsets.m2 // RUN: grep -F '@"OBJC_IVAR_$_I0._b0" = global i64 0, section "__DATA, __objc_ivar", align 8' %t
3 // RUN: grep -F '@"OBJC_IVAR_$_I0._b1" = global i64 0, section "__DATA, __objc_ivar", align 8' %t
4 // RUN: grep -F '@"OBJC_IVAR_$_I0._b2" = global i64 1, section "__DATA, __objc_ivar", align 8' %t
5 // RUN: grep -F '@"OBJC_IVAR_$_I0._x" = global i64 2, section "__DATA, __objc_ivar", align 8' %t
6 // RUN: grep -F '@"OBJC_IVAR_$_I0._b3" = global i64 4, section "__DATA, __objc_ivar", align 8' %t
7 // RUN: grep -F '@"OBJC_IVAR_$_I0._y" = global i64 6, section "__DATA, __objc_ivar", align 8' %t
8 // RUN: grep -F '@"OBJC_IVAR_$_I0._b4" = global i64 7, section "__DATA, __objc_ivar", align 8' %t
9 // RUN: not grep -F '@"OBJC_IVAR_$_I0." = global' %t
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/
H A Dsanitizer_coverage_allowlist_ignorelist.cpp41 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table 2>&1 | grep -f patterns.txt | count 14
42 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-allowlist=al_all.txt 2>&1 | grep -f patterns.txt | count 14
43 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-allowlist=al_none.txt 2>&1 | not grep -f patterns.txt
44 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-allowlist=al_file.txt 2>&1 | grep -f patterns.txt | count 14
45 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-allowlist=al_foo.txt 2>&1 | grep -f patterns.txt | count 9
46 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-allowlist=al_bar.txt 2>&1 | grep -f patterns.txt | count 5
48 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-ignorelist=bl_all.txt 2>&1 | not grep -f patterns.txt
49 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-allowlist=al_all.txt -fsanitize-coverage-ignorelist=bl_all.txt 2>&1 | not grep -f patterns.txt
50 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-allowlist=al_none.txt -fsanitize-coverage-ignorelist=bl_all.txt 2>&1 | not grep -f patterns.txt
51 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=inline-8bit-counters,indirect-calls,trace-cmp,pc-table -fsanitize-coverage-allowlist=al_file.txt -fsanitize-coverage-ignorelist=bl_all.txt 2>&1 | not grep
[all...]
/llvm-project/libcxx/test/std/re/re.const/re.matchflag/
H A Dmatch_multiline.pass.cpp45 using std::regex_constants::grep; in main()
57 search(pat, grep, target, true); in main()
64 search(pat, grep | multiline, target, true); in main()
75 search(pat, grep, target, false); in main()
82 search(pat, grep | multiline, target, false); in main()
93 search(pat, grep, target, false); in main()
100 search(pat, grep | multiline, target, false); in main()
112 search(pat, grep, target, true); in main()
119 search(pat, grep | multiline, target, true); in main()
130 search(pat, grep, target, false); in main()
[all …]
/llvm-project/clang/test/Misc/
H A Ddiag-mapping2.c2 // RUN: %clang_cc1 %s 2>&1 | grep "warning: foo"
5 // RUN: %clang_cc1 %s -w 2>&1 | not grep diagnostic
6 // RUN: %clang_cc1 %s -Wno-#warnings 2>&1 | not grep diagnostic
7 // RUN: %clang_cc1 %s -Wno-cpp 2>&1 | not grep diagnostic
10 // RUN: not %clang_cc1 %s -Werror 2>&1 | grep "error: foo"
13 // RUN: not %clang_cc1 %s -Werror=#warnings 2>&1 | grep "error: foo"
14 // RUN: not %clang_cc1 %s -Werror=#warnings -W#warnings 2>&1 | grep "error: foo"
17 // RUN: %clang_cc1 %s -Werror -Wno-error=#warnings 2>&1 | grep "warning: foo"
18 // RUN: %clang_cc1 %s -Werror -Wno-error=#warnings -W#warnings 2>&1 | grep "warning: foo"
21 // RUN: %clang_cc1 %s -Werror -Wno-error 2>&1 | grep "warning: foo"
H A Ddiag-mapping.c2 // RUN: %clang_cc1 %s 2>&1 | grep "warning:"
4 // RUN: %clang_cc1 %s -Wno-extra-tokens 2>&1 | not grep diagnostic
7 // RUN: not %clang_cc1 %s -Werror 2>&1 | grep "error:"
10 // RUN: not %clang_cc1 %s -Werror=extra-tokens 2>&1 | grep "error:"
13 // RUN: %clang_cc1 %s -Werror=trigraphs 2>&1 | grep "warning:"
16 // RUN: %clang_cc1 %s -pedantic 2>&1 | grep "warning:"
19 // RUN: not %clang_cc1 %s -pedantic-errors 2>&1 | grep "error:"
22 // RUN: %clang_cc1 %s -pedantic-errors -Wextra-tokens 2>&1 | grep "warning:"
25 // RUN: %clang_cc1 %s -pedantic-errors -Wno-extra-tokens 2>&1 | not grep diagnostic
/llvm-project/compiler-rt/lib/tsan/
H A Danalyze_libtsan.sh14 grep __tsan_$1.: -A 10000 ${OBJDUMP_CONTENTS} | \
35 nm -S $BIN | grep "__tsan_" > ${NM_CONTENTS}
41 size=$(grep __tsan_$f$ ${NM_CONTENTS} | awk --non-decimal-data '{print ("0x"$2)+0}')
42 rsp=$(grep '(%rsp)' $file | wc -l)
43 push=$(grep 'push' $file | wc -l)
44 pop=$(grep 'pop' $file | wc -l)
45 call=$(grep 'call' $file | wc -l)
48 mov=$(grep 'mov' $file | wc -l)
49 lea=$(grep 'lea' $file | wc -l)
50 sh=$(grep 'shr\|shl' $file | wc -l)
[all …]
/llvm-project/clang/test/Modules/
H A Dprune.m16 // RUN: ls %t | grep modules.timestamp
17 // RUN: ls -R %t | grep ^Module.*pcm
18 // RUN: ls -R %t | grep DependsOnModule.*pcm
24 // RUN: ls %t | grep modules.timestamp
25 // RUN: ls -R %t | grep ^Module.*pcm
26 // RUN: ls -R %t | grep DependsOnModule.*pcm
33 // RUN: ls %t | grep modules.timestamp
34 // RUN: ls -R %t | grep ^Module.*pcm
35 // RUN: ls -R %t | grep DependsOnModule.*pcm
42 // RUN: ls %t | grep modules.timestamp
[all …]
H A Dfmodules-validate-once-per-build-session.c22 // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp
23 // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp
24 // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp
25 // RUN: ls -R %t/modules-cache-user | grep Bar.pcm.timestamp
35 // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp
36 // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp
37 // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp
38 // RUN: ls -R %t/modules-cache-user | grep Bar.pcm.timestamp
59 // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp
60 // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp
[all …]
/llvm-project/clang/test/CodeGen/X86/
H A Dx86.c2 // RUN: grep "ax" %t1
3 // RUN: grep "bx" %t1
4 // RUN: grep "cx" %t1
5 // RUN: grep "dx" %t1
6 // RUN: grep "di" %t1
7 // RUN: grep "si" %t1
8 // RUN: grep "st" %t1
9 // RUN: grep "st(1)" %t1
/llvm-project/compiler-rt/lib/gwp_asan/scripts/
H A Dsymbolize.sh11 grep -E '^[ ]*\#.*\(.*\+0x[0-9a-f]+\) \[0x[0-9a-f]+\]$')"
19 binary_name="$(echo $line | grep -oE ' .*\(' | rev | cut -c2- | rev |\
21 function_name="$(echo $line | grep -oE '\([^+]*' | cut -c2-)"
22 function_offset="$(echo $line | grep -oE '\(.*\)' | grep -oE '\+.*\)' |\
24 frame_number="$(echo $line | grep -oE '\#[0-9]+ ')"
34 grep -E " $function_name$" | cut -d' ' -f1)"
48 echo $symbolized | grep -E ".*\?.*:" > /dev/null
55 done 2> >(grep -v "addr2line: DWARF error: could not find variable specification")
/llvm-project/compiler-rt/lib/tsan/go/
H A Dbuildgo.sh5 if [ "`uname -a | grep Linux`" != "" ]; then
7 if [ "`uname -a | grep ppc64le`" != "" ]; then
9 elif [ "`uname -a | grep x86_64`" != "" ]; then
11 elif [ "`uname -a | grep aarch64`" != "" ]; then
13 elif [ "`uname -a | grep loongarch64`" != "" ]; then
15 elif [ "`uname -a | grep -i mips64`" != "" ]; then
16 if [ "`lscpu | grep -i Little`" != "" ]; then
21 elif [ "`uname -a | grep riscv64`" != "" ]; then
23 elif [ "`uname -a | grep s390x`" != "" ]; then
26 elif [ "`uname -a | grep FreeBS
[all...]
/llvm-project/compiler-rt/test/asan/TestCases/Darwin/
H A Dinterface_symbols_darwin.cpp12 // RUN: nm -g `%clang_asan %s -fsanitize=address -### 2>&1 | grep "libclang_rt.asan_osx_dynamic.dylib" | sed -e 's/.*"\(.*libclang_rt.asan_osx_dynamic.dylib\)".*/\1/'` \
13 // RUN: | grep " [TU] " \
14 // RUN: | grep -o "\(__asan_\|__ubsan_\|__sancov_\|__sanitizer_\)[^ ]*" \
15 // RUN: | grep -v "__sanitizer_syscall" \
16 // RUN: | grep -v "__sanitizer_weak_hook" \
17 // RUN: | grep -v "__sanitizer_mz" \
18 // RUN: | grep -v "__sancov_lowest_stack" \
36 // RUN: | grep -e "INTERFACE_\(WEAK_\)\?FUNCTION" \
37 // RUN: | grep -v "__sanitizer_weak_hook" \
38 // RUN: | grep
[all...]
/llvm-project/clang/test/PCH/
H A Dexternal-defs.c6 // RUN: grep "@x =.* global i32 0" %t | count 1
7 // RUN: not grep "@z" %t
9 // RUN: grep "@x2 =.* global i32 19" %t | count 1
12 // RUN: grep "@incomplete_array =.* global .*1 x i32" %t | count 1
13 // RUN: grep "@incomplete_array2 =.* global .*17 x i32" %t | count 1
15 // RUN: grep "@incomplete_array3 =.* global .*1 x i32" %t | count 1
/llvm-project/compiler-rt/lib/dfsan/scripts/
H A Dcheck_custom_wrappers.sh22 grep -E "^fun:.*=custom" ${DFSAN_ABI_LIST} \
23 | grep -v "dfsan_get_label\|dfsan_get_origin\|__sanitizer_cov_trace" \
25 grep -E "__dfsw.*\(" ${DFSAN_CUSTOM_WRAPPERS} \
26 | grep -v "__sanitizer_cov_trace" \
36 grep -E __dfsw_ ${DFSAN_CUSTOM_WRAPPERS} \
37 | grep -v "__sanitizer_cov_trace" \
39 grep -E "^[[:space:]]*test_.*\(\);" ${DFSAN_CUSTOM_TESTS} \

12345678910>>...35