| /llvm-project-15.0.7/libcxx/test/std/re/re.traits/ |
| H A D | isctype.pass.cpp | 26 assert( t.isctype('_', t.lookup_classname(s.begin(), s.end()))); in main() 27 assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); in main() 28 assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); in main() 29 assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); in main() 30 assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); in main() 31 assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); in main() 32 assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); in main() 35 assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); in main() 36 assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); in main() 37 assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); in main() [all …]
|
| H A D | value.pass.cpp | 22 std::regex_traits<char> t; in main() local 26 assert(t.value(c, 8) == -1); in main() 27 assert(t.value(c, 10) == -1); in main() 28 assert(t.value(c, 16) == -1); in main() 38 assert(t.value(c, 8) == -1); in main() 44 assert(t.value(c, 8) == -1); in main() 45 assert(t.value(c, 10) == -1); in main() 50 assert(t.value(c, 8) == -1); in main() 56 assert(t.value(c, 8) == -1); in main() 62 assert(t.value(c, 8) == -1); in main() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/ELF/AMDGPU/ |
| H A D | subtarget.ll | 11 ; RUN: llvm-objdump -D %t.o > %t-detect.txt 12 ; RUN: diff %t-specify.txt %t-detect.txt 16 ; RUN: llvm-objdump -D %t.o > %t-detect.txt 17 ; RUN: diff %t-specify.txt %t-detect.txt 21 ; RUN: llvm-objdump -D %t.o > %t-detect.txt 22 ; RUN: diff %t-specify.txt %t-detect.txt 27 ; RUN: diff %t-specify.txt %t-detect.txt 33 ; RUN: diff %t-specify.txt %t-detect.txt 38 ; RUN: diff %t-specify.txt %t-detect.txt 43 ; RUN: diff %t-specify.txt %t-detect.txt [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/fuzzer/ |
| H A D | merge-control-file.test | 7 RUN: rm -rf %t/T0 %t/T1 %t/T2 8 RUN: mkdir -p %t/T0 %t/T1 %t/T2 15 RUN: rm -f %t/T1/*; cp %t/T0/* %t/T1 17 RUN: %run %t/T.exe -merge=1 %t/T1 %t/T2 -merge_control_file=%t/MCF 2>&1 | FileCheck %s --check-pref… 18 RUN: echo 3 > %t/MCF; echo 0 >> %t/MCF; echo %t/T1/1 >> %t/MCF 26 RUN: rm -f %t/T1/*; cp %t/T0/* %t/T1 27 RUN: echo 3 > %t/MCF; echo 0 >> %t/MCF; echo %t/T1/1 >> %t/MCF; echo %t/T1/2 >> %t/MCF; echo %t/T1/… 32 RUN: rm -f %t/T1/*; cp %t/T0/* %t/T1 33 RUN: echo 3 > %t/MCF; echo 0 >> %t/MCF; echo %t/T1/1 >> %t/MCF; echo %t/T1/2 >> %t/MCF; echo %t/T1/… 42 RUN: rm -f %t/T1/*; cp %t/T0/* %t/T1 [all …]
|
| H A D | merge.test | 3 RUN: rm -rf %t/T0 %t/T1 %t/T2 4 RUN: mkdir -p %t/T0 %t/T1 %t/T2 10 RUN: cp %t/T0/* %t/T1/ 11 RUN: %run %t-FullCoverageSetTest -merge=1 %t/T1 %t/T2 2>&1 | FileCheck %s --check-prefix=CH… 23 RUN: %run %t-FullCoverageSetTest -merge=1 %t/T1 %t/T2 2>&1 | FileCheck %s --check-prefix=CH… 28 RUN: %run %t-FullCoverageSetTest -merge=1 %t/T1 %t/T2 2>&1 | FileCheck %s --check-prefix=CH… 34 RUN: cp %t/T0/* %t/T1/ 41 RUN: cp %t/T0/* %t/T1/ 43 RUN: %run %t-FullCoverageSetTest -merge=1 -merge_control_file=%t/MCF %t/T1 %t/T2 2>&1 | FileCheck %… 52 RUN: cp %t/T0/* %t/T1/ [all …]
|
| H A D | only-some-bytes.test | 16 DISABLED: rm -rf %t/* 19 DISABLED: cat %t/IN/6 %t/IN/6 %t/IN/6 %t/IN/6 > %t/IN/8 20 DISABLED: cat %t/IN/8 %t/IN/8 %t/IN/8 %t/IN/8 > %t/IN/10 21 DISABLED: cat %t/IN/10 %t/IN/10 %t/IN/10 %t/IN/10 > %t/IN/12 31 DISABLED: (echo -n ABC; cat %t/IN/12) > %t/IN/ABC 36 DISABLED: %t-Fuzz -collect_data_flow=%t-DFT %t/IN -data_flow_trace=%t/IN_DFT > /dev/null 2>&1 39 DISABLED: %t-Fuzz -focus_function=f0 -data_flow_trace=%t/IN_DFT -runs=100 %t/IN 2>&1 | FileCheck %s… 44 DISABLED: rm -rf %t/C %t/C1 && mkdir %t/C %t/C1 && cp %t/IN/* %t/C 45 DISABLED: rm -rf %t/C_DFT && %t-Fuzz -collect_data_flow=%t-DFT %t/C -data_flow_trace=%t/C_DFT > /de… 46 DISABLED: not %t-Fuzz -focus_function=f0 -data_flow_trace=%t/C_DFT -seed=1 -runs=1000000 -use_value… [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | const-method-call.cpp | 58 A t; in checkThatConstMethodWithoutDefinitionDoesNotInvalidateObject() local 59 t.x = 3; in checkThatConstMethodWithoutDefinitionDoesNotInvalidateObject() 60 t.foo(); in checkThatConstMethodWithoutDefinitionDoesNotInvalidateObject() 63 t.bar(); in checkThatConstMethodWithoutDefinitionDoesNotInvalidateObject() 68 B t; in checkThatConstMethodDoesInvalidateMutableFields() local 70 t.foo(); in checkThatConstMethodDoesInvalidateMutableFields() 76 C t; in checkThatConstMethodDoesInvalidatePointedAtMemory() local 164 D1 t; in checkThatInheritedConstMethodDoesNotInvalidateObject() local 171 D2 t; in checkThatInheritedConstMethodDoesInvalidateMutableFields() local 179 D3 t; in checkThatInheritedConstMethodDoesInvalidatePointedAtMemory() local [all …]
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | incremental.test | 3 # RUN: lld-link -out:%t.dll -dll %t.obj 2>&1 \ 5 # RUN: touch -t 198002011200.00 %t.lib 6 # RUN: lld-link -out:%t.dll -dll %t.obj 11 # RUN: touch -t 198002011200.00 %t.lib 17 # RUN: touch -t 198002011200.00 %t.lib 23 # RUN: touch -t 198002011200.00 %t.lib 29 # RUN: touch -t 198002011200.00 %t.lib 35 # RUN: touch -t 198002011200.00 %t.lib 41 # RUN: touch -t 198002011200.00 %t.lib 47 # RUN: touch -t 198002011200.00 %t.lib [all …]
|
| H A D | options.test | 3 # RUN: lld-link /out:%t.exe /entry:main %t.obj 5 # RUN: lld-link /allowbind /out:%t.exe /entry:main %t.obj 13 # RUN: lld-link /out:%t.exe /entry:main %t.obj 23 # RUN: lld-link /out:%t.exe /entry:main %t.obj 29 # RUN: lld-link /out:%t.exe /highentropyva:no /out:%t.exe /entry:main %t.obj 37 # RUN: lld-link /out:%t.exe /entry:main %t.obj 39 # RUN: lld-link /out:%t.exe /integritycheck:no /out:%t.exe /entry:main %t.obj 43 # RUN: lld-link /out:%t.exe /entry:main %t.obj 49 # RUN: lld-link /out:%t.exe /nxcompat:no /out:%t.exe /entry:main %t.obj 57 # RUN: lld-link /out:%t.exe /entry:main %t.obj [all …]
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | order-file.s | 2 # RUN: rm -rf %t; split-file %s %t 6 # RUN: llvm-ar rcs %t/foo.a %t/foo.o 14 # RUN: %lld -lSystem -o %t/test-1 %t/test.o %t/foo.o -order_file %t/ord-1 17 # RUN: %lld -lSystem -o %t/test-1 %t/foo.o %t/test.o -order_file %t/ord-1 20 # RUN: %lld -lSystem -o %t/test-2 %t/test.o %t/foo.o -order_file %t/ord-2 22 # RUN: %lld -lSystem -o %t/test-2 %t/foo.o %t/test.o -order_file %t/ord-2 25 # RUN: %lld -lSystem -o %t/test-file-match %t/test.o %t/foo.o -order_file %t/ord-file-match 53 # RUN: %lld -lSystem -o %t/test-archive-1 %t/test.o %t/foo.a -order_file %t/ord-1 55 # RUN: %lld -lSystem -o %t/test-archive-1 %t/foo.a %t/test.o -order_file %t/ord-1 76 # RUN: %lld -lSystem -o %t/test-1 %t/test.o %t/foo.o -order_file %t/ord-multiple-1 [all …]
|
| H A D | common-symbol-resolution.s | 2 # RUN: rm -rf %t; split-file %s %t 23 # RUN: %lld -lSystem -order_file %t/order %t/common.o %t/weak-common.o %t/test.o -o %t/test 25 # RUN: %lld -lSystem -order_file %t/order %t/weak-common.o %t/common.o %t/test.o -o %t/test 29 # RUN: %lld -lSystem -order_file %t/order %t/defined.o %t/common.o %t/test.o -o %t/test 31 # RUN: %lld -lSystem -order_file %t/order %t/common.o %t/defined.o %t/test.o -o %t/test 34 # RUN: %lld -lSystem -order_file %t/order %t/weak-defined.o %t/common.o %t/test.o -o %t/test 36 # RUN: %lld -lSystem -order_file %t/order %t/common.o %t/weak-defined.o %t/test.o -o %t/test 40 # RUN: %lld -lSystem -order_file %t/order %t/defined.a %t/weak-common.o %t/test.o -o %t/test 42 # RUN: %lld -lSystem -order_file %t/order %t/weak-common.o %t/defined.a %t/test.o -o %t/test 52 # RUN: %lld -lSystem -order_file %t/order %t/libfoo.dylib %t/weak-common.o %t/test.o -o %t/test [all …]
|
| H A D | lto-symbol-resolution.ll | 3 ; RUN: rm -rf %t; split-file %s %t 17 ; RUN: %lld -lSystem %t/defined.o %t/weak-defined.o %t/calls-foo.o -o %t/test 19 ; RUN: %lld -lSystem %t/weak-defined.o %t/defined.o %t/calls-foo.o -o %t/test 23 ; RUN: %lld -lSystem %t/defined.o %t/weak-defined-asm.o %t/calls-foo.o -o %t/test 25 ; RUN: %lld -lSystem %t/weak-defined-asm.o %t/defined.o %t/calls-foo.o -o %t/test 38 ; RUN: %lld -lSystem %t/weak-defined.o %t/libfoo.dylib %t/calls-foo.o -o %t/test 40 ; RUN: %lld -lSystem %t/libfoo.dylib %t/weak-defined.o %t/calls-foo.o -o %t/test 44 ; RUN: %lld -lSystem %t/archive.a %t/weak-defined.o %t/calls-foo.o -o %t/test 46 ; RUN: %lld -lSystem %t/weak-defined.o %t/archive.a %t/calls-foo.o -o %t/test 50 ; RUN: %lld -lSystem %t/archive.a %t/libfoo.dylib %t/calls-foo.o -o %t/test [all …]
|
| /llvm-project-15.0.7/lld/test/ELF/linkerscript/ |
| H A D | group.s | 4 # RUN: rm -rf %t.dir && mkdir %t.dir 5 # RUN: rm -rf %t && split-file %s %t && cd %t 10 # RUN: echo 'GROUP("a.o")' > %t.t 11 # RUN: ld.lld -o %t2 %t.t 14 # RUN: echo 'INPUT("a.o")' > %t.t 15 # RUN: ld.lld -o %t2 %t.t 20 # RUN: ld.lld -o %t2 %t.t -L%t.dir 25 # RUN: ld.lld -o %t2 %t.t --sysroot=%t.dir 28 # RUN: echo 'GROUP("a.o" -lxyz )' > %t.t 30 # RUN: ld.lld -o %t2 %t.t -L%t.dir [all …]
|
| /llvm-project-15.0.7/llvm/test/ThinLTO/X86/ |
| H A D | cache-config.ll | 4 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx 5 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -mcpu=core2 6 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -relax-elf-relocatio… 7 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -function-sections 8 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -data-sections 9 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -debugger-tune=sce 10 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -mattr=+sse2 11 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -relocation-model=st… 12 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -code-model=large 13 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -cg-opt-level=0 [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/ |
| H A D | imdrover.h | 51 bool test_set(testspec_t* t, FILE* ofp); 52 bool test_neg(testspec_t* t, FILE* ofp); 53 bool test_abs(testspec_t* t, FILE* ofp); 54 bool test_add(testspec_t* t, FILE* ofp); 55 bool test_sub(testspec_t* t, FILE* ofp); 56 bool test_mul(testspec_t* t, FILE* ofp); 59 bool test_sqr(testspec_t* t, FILE* ofp); 60 bool test_div(testspec_t* t, FILE* ofp); 66 bool test_mod(testspec_t* t, FILE* ofp); 67 bool test_gcd(testspec_t* t, FILE* ofp); [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/ |
| H A D | wildcard-flags.test | 23 # RUN: cmp %t.ksec.1.o %t.ksec.2.o 36 # RUN: cmp %t.rsec.1.o %t.rsec.2.o 57 # RUN: cmp %t.ksym.1.o %t.ksym.2.o 63 # RUN: cmp %t.ksym.3.o %t.ksym.4.o 67 # RUN: llvm-objcopy --discard-all --keep-symbols=%t-fstar.txt %t.o %t.ksym.5.o 68 # RUN: cmp %t.ksym.5.o %t.ksym.1.o 71 # RUN: cmp %t.ksym.6.o %t.ksym.3.o 107 # RUN: llvm-objcopy --strip-symbols=%t-fstar.txt %t.o %t.stripsym.5.o 110 # RUN: llvm-objcopy -w --strip-symbols=%t-fstar.txt %t.o %t.stripsym.6.o 143 # RUN: cmp %t.weaksym.3.o %t.weaksym.1.o [all …]
|
| H A D | discard-mix-local-and-all.test | 5 # RUN: llvm-objcopy %t %t-discard-none 14 # RUN: cmp %t.1.o %t-discard-locals 16 # RUN: cmp %t.2.o %t-discard-all 17 # RUN: llvm-objcopy -x -X %t %t.3.o 18 # RUN: cmp %t.3.o %t-discard-locals 19 # RUN: llvm-objcopy -X -x %t %t.4.o 20 # RUN: cmp %t.4.o %t-discard-all 24 # RUN: cmp %t.6.o %t-discard-all 28 # RUN: cmp %t.8.o %t-discard-all 34 # RUN: cmp %t.10.o %t-discard-all [all …]
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | StructuralEquivalenceTest.cpp | 165 return testStructuralMatch(get<0>(t), get<1>(t)); in testStructuralMatch() 169 return testStructuralMatch(get<0>(t), get<1>(t)); in testStructuralMatch() 325 auto t = in TEST_F() local 421 auto t = in TEST_F() local 497 auto t = in TEST_F() local 579 auto t = in TEST_F() local 638 auto t = in TEST_F() local 646 auto t = in TEST_F() local 814 auto t = in TEST_F() local 1063 auto t = in TEST_F() local [all …]
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/target/ |
| H A D | llvm_target.ml | 10 type t = type 16 type t = type 24 type t = type 32 type t = type 42 type t = type 52 type t type 85 type t type 108 type t type 112 ?code_model:CodeModel.t -> Target.t -> t 115 external target : t -> Target.t [all …]
|
| /llvm-project-15.0.7/llvm/utils/release/ |
| H A D | findRegressions-simple.py | 21 for t in r: 23 print(t) 25 if t[0] == 'PASS' or t[0] == 'FAIL' : 39 test[fname][t[1] + ' state'] = t[0] 76 if t in d_new: 81 if x not in d_old[t] and x not in d_new[t]: 101 if x not in d_old[t] and x not in d_new[t]: 108 if math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]): 117 if d_new[t][x] > d_old[t][x] and d_old[t][x] > 0.0 and \ 118 (d_new[t][x] - d_old[t][x]) / d_old[t][x] > .05: [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | object-size.c | 184 struct { int t[10]; } t[10]; in test20() local 198 struct { int t; } t; in test21() local 210 gi = OBJECT_SIZE_BUILTIN(&t.t + 1, 0); in test21() 212 gi = OBJECT_SIZE_BUILTIN(&t.t + 1, 1); in test21() 214 gi = OBJECT_SIZE_BUILTIN(&t.t + 1, 2); in test21() 216 gi = OBJECT_SIZE_BUILTIN(&t.t + 1, 3); in test21() 221 struct { int t[10]; } t[10]; in test22() local 251 gi = OBJECT_SIZE_BUILTIN((char*)&t[9].t[0] + 10*sizeof(t[0].t), 0); in test22() 253 gi = OBJECT_SIZE_BUILTIN((char*)&t[9].t[0] + 10*sizeof(t[0].t), 1); in test22() 255 gi = OBJECT_SIZE_BUILTIN((char*)&t[9].t[0] + 10*sizeof(t[0].t), 2); in test22() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/ |
| H A D | invalid-profdata.test | 1 RUN: echo ":ir" > %t.input 2 RUN: echo "_ZN6Thread5StartEv" >> %t.input 3 RUN: echo "# Func Hash:" >> %t.input 4 RUN: echo "288793635542036872" >> %t.input 5 RUN: echo "# Num Counters:" >> %t.input 6 RUN: echo "3" >> %t.input 7 RUN: echo "# Counter Values:" >> %t.input 8 RUN: echo "0" >> %t.input 9 RUN: echo "12" >> %t.input 10 RUN: echo "12" >> %t.input [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIRType.h | 77 return t.isa<fir::ReferenceType, mlir::FunctionType>() || isa_box_type(t); in isa_passbyref_type() 84 return isa_ref_type(t) || isa_box_type(t) || t.isa<mlir::FunctionType>(); in conformsWithPassByRef() 88 inline bool isa_derived(mlir::Type t) { return t.isa<fir::RecordType>(); } in isa_derived() argument 92 return t.isa<SequenceType, mlir::TupleType>() || fir::isa_derived(t); in isa_aggregate() 127 inline bool isa_char(mlir::Type t) { return t.isa<fir::CharacterType>(); } in isa_char() argument 132 return isa_integer(t) || isa_real(t) || isa_complex(t) || in isa_trivial() 186 return t; in unwrapSequenceType() 192 return t; in unwrapRefType() 200 return t; in unwrapPassByRefType() 221 if (!t) in unwrapUntilSeqType() [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/profile/Posix/ |
| H A D | instrprof-shared.test | 16 RUN: mkdir -p %t.d 22 RUN: %clang_profgen -o %t-instr-instr -L%t.d -rpath %t.d -lt-instr %S/../Inputs/instrprof-shared-m… 25 RUN: %clang -o %t-no-instr1-instr -L%t.d -rpath %t.d -lt-instr %S/../Inputs/instrprof-shared-main.c 26 RUN: %clang -o %t-no-instr1-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %S/../Inputs/instrprof-shar… 29 RUN: %clang -o %t-no-instr2-instr -L%t.d -rpath %t.d -lt-instr %t.d/instrprof-shared-main-no-instr… 30 RUN: %clang -o %t-no-instr2-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %t.d/instrprof-shared-main-… 31 RUN: %clang -o %t-no-instr2-no-instr2 -L%t.d -rpath %t.d -lt-no-instr2 %t.d/instrprof-shared-main-… 71 RUN: diff %t-main-1 %t-main-2 72 RUN: diff %t-main-1 %t-main-3 73 RUN: diff %t-foo-1 %t-foo-2 [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/class.access/class.access.base/ |
| H A D | p1.cpp | 34 void test(Test *t) { in test() argument 35 t->pub++; in test() 36 t->spub++; in test() 37 t->prot++; // expected-error {{protected member}} in test() 39 t->priv++; // expected-error {{private member}} in test() 40 t->spriv++; // expected-error {{private member}} in test() 42 t->Base::pub++; in test() 43 t->Base::spub++; in test() 83 void test(Test *t) { in test() argument 88 t->priv++; // expected-error {{private member}} in test() [all …]
|