| /llvm-project-15.0.7/compiler-rt/test/fuzzer/ |
| H A D | OnlySomeBytesTest.cpp | 16 static volatile int one = 1; variable 20 if (one) in bad() 30 if (one == -1) { in f0() 31 if (one == 2) one = 1; if (one == 3) one = 1; if (one == 4) one = 1; in f0() 32 if (one == 5) one = 1; if (one == 6) one = 1; if (one == 7) one = 1; in f0() 33 if (one == 8) one = 1; if (one == 9) one = 1; if (one == 0) one = 1; in f0()
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/src/build/ |
| H A D | Makefile | 11 $(OBJDIR)/clean-one.o: $(SRCDIR)/clean-one.c 12 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/clean-one.c 17 $(OBJDIR)/emit-one.o: $(SRCDIR)/emit-one.c 18 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/emit-one.c 23 $(OBJDIR)/broken-one.o: $(SRCDIR)/broken-one.c 24 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/broken-one.c 29 $(PROGRAM): $(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o $(OBJDIR)/emit-one.o $(OBJ… 30 …C) $(LDFLAGS) -o $@ $(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o $(OBJDIR)/emit-on… 34 build_clean: $(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o 38 build_all_in_one: $(SRCDIR)/main.c $(SRCDIR)/clean-one.c $(SRCDIR)/clean-two.c $(SRCDIR)/emit-one.c… [all …]
|
| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | test_vector1.pass.cpp | 79 void *one, *two, *three; in test_empty() local 82 one = __cxxabiv1::__cxa_vec_new ( 10, 40, 0, NULL, NULL ); in test_empty() 86 __cxxabiv1::__cxa_vec_delete ( one, 40, 0, NULL ); in test_empty() 104 __cxxabiv1::__cxa_vec_delete ( one, 40, 8, NULL ); in test_empty() 123 void *one, *two, *three; in test_counted() local 165 void *one, *two, *three; in test_exception_in_constructor() local 172 one = two = three = NULL; in test_exception_in_constructor() 197 one = two = three = NULL; in test_exception_in_constructor() 222 void *one, *two, *three; in test_exception_in_destructor() local 223 one = two = three = NULL; in test_exception_in_destructor() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | combine-icmp-to-lhs-known-bits.mir | 18 ; CHECK: %one:_(s32) = G_CONSTANT i32 1 25 %one:_(s32) = G_CONSTANT i32 1 52 %one:_(s32) = G_CONSTANT i32 1 81 %one:_(s32) = G_CONSTANT i32 1 111 %one:_(s32) = G_CONSTANT i32 1 134 ; CHECK: %one_vec:_(<2 x s32>) = G_BUILD_VECTOR %one(s32), %one(s32) 144 %one:_(s32) = G_CONSTANT i32 1 145 %one_vec:_(<2 x s32>) = G_BUILD_VECTOR %one, %one 173 %one:_(s32) = G_CONSTANT i32 1 199 %one:_(s64) = G_CONSTANT i64 1 [all …]
|
| H A D | combine-and-or-disjoint-mask.mir | 23 %one:_(s32) = G_CONSTANT i32 1 25 %or:_(s32) = G_OR %x, %one 46 %one:_(s32) = G_CONSTANT i32 1 48 %or:_(s32) = G_OR %x, %one 66 ; CHECK-NEXT: %or:_(s32) = G_OR %x, %one 71 %one:_(s32) = G_CONSTANT i32 3 73 %or:_(s32) = G_OR %x, %one 96 %one:_(s32) = G_CONSTANT i32 3 98 %or:_(s32) = G_OR %x, %one 123 %one:_(s32) = G_CONSTANT i32 1 [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/AMDGPU/ |
| H A D | vop_dpp_expr.s | 6 one = 1 define 8 v_mov_b32 v0, v0 quad_perm:[0+zero,zero-2+two*two,1/one,1] 14 v_mov_b32 v0, v0 row_shr:0xe+one 23 v_mov_b32 v0, v0 wave_rol:two-one 32 v_mov_b32 v0, v0 row_bcast:150/(two*2+zero/one+two*3) 35 v_mov_b32 v0, v0 quad_perm:[one,two+one,zero,2-one] row_mask:2*5 bank_mask:0x2-one bound_ctrl:1-1
|
| /llvm-project-15.0.7/clang/bindings/python/tests/cindex/ |
| H A D | test_location.py | 27 one = get_cursor(tu, 'one') 30 self.assertIsNotNone(one) 33 self.assert_location(one.location,line=1,column=5,offset=4) 38 one = get_cursor(tu, 'one') 41 self.assertIsNotNone(one) 49 one = get_cursor(tu, 'one') 63 one = get_cursor(tu, 'one') 64 self.assertIsNotNone(one) 65 self.assertEqual(one, cursor) 84 one = get_cursor(tu, 'one') [all …]
|
| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | InferIntRangeInterfaceTest.cpp | 52 APInt one = zero + 1; in TEST() local 59 ConstantIntRanges::fromSigned(negOne, one); in TEST() 63 ConstantIntRanges positive = ConstantIntRanges::fromSigned(one, intMax); in TEST() 64 EXPECT_EQ(positive.umin(), one); in TEST() 71 ConstantIntRanges preserved = ConstantIntRanges::fromSigned(zero, one); in TEST() 73 EXPECT_EQ(preserved.umax(), one); in TEST() 78 APInt one = zero + 1; in TEST() local 85 ConstantIntRanges zeroOne(zero, one, zero, one); in TEST() 92 ConstantIntRanges oneTwo(one, two, one, two); in TEST() 96 ConstantIntRanges zeroOneUnsignedOnly(zero, one, intMin, intMax); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/test/FileCheck/ |
| H A D | allow-unused-prefixes.txt | 1 …d-prefixes=false --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.t… 2 …refixes=false --check-prefixes=P1,P2,P3 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.t… 3 …d-prefixes=true --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.t… 4 …ed-prefixes=true --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.t… 5 ; RUN: not FileCheck --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-chec…
|
| /llvm-project-15.0.7/mlir/test/Integration/GPU/CUDA/ |
| H A D | two-modules.mlir | 15 %one = arith.constant 1 : index 20 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %one, %grid_y = %one, %grid_z = %one) 21 threads(%tx, %ty, %tz) in (%block_x = %sx, %block_y = %one, %block_z = %one) { 26 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %one, %grid_y = %one, %grid_z = %one) 27 threads(%tx, %ty, %tz) in (%block_x = %sx, %block_y = %one, %block_z = %one) {
|
| /llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/ |
| H A D | use-after-free-and-overflow.c | 34 void *one; in main() local 37 one = malloc(16); in main() 38 other = FindMatch(ptrs, one); in main() 39 ptrs[i] = one; in main() 47 __hwasan_tag_memory(Untag(one), 3, 16); in main() 51 __hwasan_tag_memory(Untag(one) + 16, 4, 16); in main() 52 __hwasan_tag_memory(Untag(one) - 16, 4, 16); in main() 53 void *retagged_one = __hwasan_tag_pointer(one, 3); in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/AMDGPU/ |
| H A D | ldexp.ll | 28 %one = call float @llvm.amdgcn.ldexp.f32(float %x, i32 1) 29 store volatile float %one, float addrspace(1)* undef 149 store volatile float %one, float addrspace(1)* undef 227 %one.one = call float @llvm.amdgcn.ldexp.f32(float 1.0, i32 1) 228 store volatile float %one.one, float addrspace(1)* undef 251 %neg.one.one = call float @llvm.amdgcn.ldexp.f32(float -1.0, i32 1) 252 store volatile float %neg.one.one, float addrspace(1)* undef 306 %one.one = call double @llvm.amdgcn.ldexp.f64(double 1.0, i32 1) 307 store volatile double %one.one, double addrspace(1)* undef 325 %one.one = call half @llvm.amdgcn.ldexp.f16(half 1.0, i32 1) [all …]
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/src/compilation_database/ |
| H A D | build_broken.json.in | 10 "command": "cc -c -o broken-one.o broken-one.c -Wall -DDEBUG \"-Dvariable=value with space\"", 11 "file": "${path}/broken-one.c" 22 …"command": "cc -c -o clean-one.o clean-one.c -Wall -DDEBUG \"-Dvariable=value with space\" -Iinclu… 23 "file": "${path}/clean-one.c" 34 "command": "cc -c -o emit-one.o emit-one.c -Wall -DDEBUG \"-Dvariable=value with space\"", 35 "file": "${path}/emit-one.c"
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/ |
| H A D | midpoint.integer.pass.cpp | 26 constexpr T one{1}; in signed_test() local 35 static_assert(std::midpoint(one, three) == two, ""); in signed_test() 39 assert(std::midpoint(zero, two) == one); in signed_test() 40 assert(std::midpoint(two, zero) == one); in signed_test() 43 assert(std::midpoint(one, four) == two); in signed_test() 44 assert(std::midpoint(four, one) == three); in signed_test() 75 constexpr T one{1}; in unsigned_test() local 89 assert(std::midpoint(zero, two) == one); in unsigned_test() 90 assert(std::midpoint(two, zero) == one); in unsigned_test() 93 assert(std::midpoint(one, four) == two); in unsigned_test() [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/GPU/ |
| H A D | mapping.mlir | 6 %one = arith.constant 1 : index 11 step (%one, %one) { 31 %one = arith.constant 1 : index 36 step (%one, %one, %one, %one) { 38 step (%one, %one, %one, %one) {
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Math/IR/ |
| H A D | MathOps.td | 47 // operands and one result of the same type. This type can be a floating point 58 // one result of the same type. This type can be a floating point type, vector 75 The `abs` operation computes the absolute value. It takes one operand of 104 one result of the same type. It has no standard attributes. 128 The `atan2` operation takes two operands and returns one result, all of 216 The `cos` operation computes the cosine of a given value. It takes one 242 The `sin` operation computes the sine of a given value. It takes one 412 The `expm1` operation takes one operand of floating point type (i.e., 534 Computes the base-e logarithm of one plus the given value. It takes one 608 one result of the same type. It has no standard attributes. [all …]
|
| /llvm-project-15.0.7/lldb/test/Shell/Breakpoint/ |
| H A D | case-insensitive.test | 8 # CHECK: At least one location. 12 # CHECK: At least one location. 16 # CHECK: At least one location. 20 # CHECK: At least one location. 24 # CHECK: At least one location. 28 # CHECK: At least one location. 32 # CHECK: At least one location. 36 # CHECK: At least one location. 40 # CHECK: At least one location. 44 # CHECK: At least one location.
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | pragma-fenv_access.c | 23 CONST float one = 1.0F ; in main() local 26 CONST float frac_ok = one/four; in main() 30 CONST float frac = one/three; in main() 31 CONST double d = one; in main() 43 e1 = (int)one, e3 = (int)three, e4 = (int)four, e_four_quarters = (int)(frac_ok * 4) in main() 52 if (one <= four) return 0; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/time/time.duration/time.duration.arithmetic/ |
| H A D | op_-.pass.cpp | 42 D10 one(1); in main() local 43 static_assert( (std::is_same< decltype(-one), decltype(zero-one) >::value), ""); in main() 44 static_assert( (std::is_same< decltype(zero-one), D1>::value), ""); in main() 45 static_assert( (std::is_same< decltype(-one), D1>::value), ""); in main() 46 static_assert( (std::is_same< decltype(+one), D1>::value), ""); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/ |
| H A D | global-location.cpp | 27 int one = argc - 1; in main() local 29 case 'g': return global[one * 11]; in main() 30 case 'c': return C::array[one * 11]; in main() 35 return array[one * 11]; in main() 39 return str[one * 11]; in main()
|
| /llvm-project-15.0.7/compiler-rt/test/profile/ |
| H A D | instrprof-gcov-one-line-function.test | 5 RUN: %clang --coverage -o %t %S/Inputs/instrprof-gcov-one-line-function.c 6 RUN: test -f instrprof-gcov-one-line-function.gcno 7 RUN: rm -f instrprof-gcov-one-line-function.gcda 9 RUN: llvm-cov gcov instrprof-gcov-one-line-function.gcda 10 …s --strict-whitespace --input-file instrprof-gcov-one-line-function.c.gcov %S/Inputs/instrprof-gco…
|
| /llvm-project-15.0.7/llvm/test/MC/AsmParser/ |
| H A D | macro-vararg.s | 2 .macro one a:vararg macro 7 one 9 one 1 12 one 1 2 15 one 1 (2 3 17 one 1 2 3)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | big_alu.ll | 879 %one.sub.ac.i98 = fmul float %one.sub.a.i97, %tmp306 883 %one.sub.ac.i94 = fmul float %one.sub.a.i93, %tmp307 945 %one.sub.ac.i90 = fmul float %one.sub.a.i89, %tmp304 949 %one.sub.ac.i86 = fmul float %one.sub.a.i85, %tmp305 953 %one.sub.ac.i82 = fmul float %one.sub.a.i81, %tmp306 957 %one.sub.ac.i78 = fmul float %one.sub.a.i77, %tmp307 1019 %one.sub.ac.i74 = fmul float %one.sub.a.i73, %tmp304 1023 %one.sub.ac.i70 = fmul float %one.sub.a.i69, %tmp305 1281 %one.sub.ac.i10 = fmul float %one.sub.a.i9, %tmp47 1285 %one.sub.ac.i6 = fmul float %one.sub.a.i5, %tmp49 [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | flexible-array-init.c | 2 struct one { struct 7 struct one x2 = { 5, 1, 2, 3 }; // expected-warning{{flexible array initialization is a GNU extensi… argument 10 …struct one x3 = {5, {1, 2, 3}}; // expected-error{{initialization of flexible array member is not … in test() 11 struct one x3a = { 5 }; in test() 12 struct one x3b = { .a = 5 }; in test() 13 struct one x3c = { 5, {} }; // expected-warning{{use of GNU empty initializer extension}} \ in test()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | resolve-single-template-id.cpp | 7 void one() { } in one() function 31 one; // expected-warning {{expression result unused}} in main() 40 *one; // expected-warning {{expression result unused}} in main() 57 (false ? one : oneT<int>); // expected-warning {{expression result unused}} in main() 69 one < one; // expected-warning {{self-comparison always evaluates to false}} \ in main()
|