Home
last modified time | relevance | path

Searched refs:Test (Results 1 – 25 of 4992) sorted by relevance

12345678910>>...200

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-new-overaligned.cpp4 struct Test { struct
14 Test t; in helper()
15 …new Test; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the defaul… in helper() argument
21 class Test { class
27 Test t; in helper()
34 struct Test { struct
48 Test t; in helper()
49 new Test; in helper()
55 struct Test { struct
69 Test t; in helper()
[all …]
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_setups.py32 class Test(unittest2.TestCase): class
37 Test.setUpCalled += 1
46 result = self.runTests(Test)
67 result = self.runTests(Test)
136 Test.tornDown += 1
185 self.runTests(Test)
204 Test = unittest2.skip("hop")(Test)
205 self.runTests(Test)
323 Test.__module__ = 'Module'
370 Test.__module__ = 'Module'
[all …]
/llvm-project-15.0.7/mlir/test/IR/
H A Delements-attr-interface.mlir11 // expected-error@below {{Test iterating `int64_t`: unable to iterate type}}
12 // expected-error@below {{Test iterating `uint64_t`: 10, 11, 12, 13, 14}}
13 // expected-error@below {{Test iterating `APInt`: 10, 11, 12, 13, 14}}
17 // expected-error@below {{Test iterating `int64_t`: 10, 11, 12, 13, 14}}
18 // expected-error@below {{Test iterating `uint64_t`: 10, 11, 12, 13, 14}}
19 // expected-error@below {{Test iterating `APInt`: 10, 11, 12, 13, 14}}
30 // expected-error@below {{Test iterating `int64_t`: }}
31 // expected-error@below {{Test iterating `uint64_t`: }}
32 // expected-error@below {{Test iterating `APInt`: }}
33 // expected-error@below {{Test iterating `IntegerAttr`: }}
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DSelectionTests.cpp31 unsigned Offset = cantFail(positionToOffset(Test.code(), Test.point())); in makeSelectionTree()
38 cantFail(positionToOffset(Test.code(), Test.points()[0])), in makeSelectionTree()
39 cantFail(positionToOffset(Test.code(), Test.points()[1]))); in makeSelectionTree()
631 Annotations Test(C); in TEST() local
654 Annotations Test(Case); in TEST() local
748 Test.point("ambiguous"), Test.point("ambiguous"), in TEST()
757 Test.point("unique"), Test.point("unique"), in TEST()
766 Test.point("empty"), Test.point("empty"), in TEST()
776 Test.point("unique"), Test.point("ambiguous"), in TEST()
789 Test.point("1"), Test.point("1")); in TEST()
[all …]
H A DDiagnosticsTests.cpp139 Annotations Test(R"cpp( in TEST() local
202 Annotations Test(R"cpp( in TEST() local
233 Annotations Test(R"cpp( in TEST() local
245 Annotations Test(R"cpp( in TEST() local
261 Test = Annotations(R"cpp( in TEST()
283 Annotations Test(R"cpp( in TEST() local
345 Annotations Test(R"cpp( in TEST() local
802 Annotations Test(R"cpp( in TEST() local
899 Annotations Test(R"cpp( in TEST() local
920 Annotations Test(R"cpp( in TEST() local
[all …]
H A DXRefsTests.cpp128 Annotations T(Test); in TEST()
133 << Test; in TEST()
265 Annotations T(Test); in TEST()
270 << Test; in TEST()
1002 Annotations T(Test); in TEST()
1102 Annotations T(Test); in TEST()
1824 << Test; in TEST()
1894 Annotations T(Test); in checkFindRefs()
1925 << Test; in checkFindRefs()
2223 << Test; in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/
H A DDefineInlineTests.cpp194 auto *Test = R"cpp( in TEST_F() local
254 auto *Test = R"cpp( in TEST_F() local
280 auto *Test = R"cpp( in TEST_F() local
314 auto *Test = R"cpp( in TEST_F() local
352 auto *Test = R"cpp( in TEST_F() local
376 Test = R"cpp( in TEST_F()
397 auto *Test = R"cpp( in TEST_F() local
513 auto *Test = R"cpp( in TEST_F() local
551 auto *Test = R"cpp( in TEST_F() local
875 EXPECT_EQ(apply(Case.Test), Case.Expected) << Case.Test; in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/RISCV/
H A Driscv-relocs.yaml73 # Test 1
80 # Test 2
87 # Test 3
94 # Test 4
101 # Test 5
108 # Test 6
115 # Test 7
122 # Test 8
129 # Test 9
136 # Test 10
[all …]
/llvm-project-15.0.7/llvm/unittests/Support/
H A Draw_pwrite_stream_test.cpp35 StringRef Test = "test"; in TEST() local
36 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
37 EXPECT_EQ(Test, OS.str()); in TEST()
71 StringRef Test = "test"; in TEST() local
72 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
73 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
89 StringRef Test = "test"; in TEST() local
90 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
91 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
/llvm-project-15.0.7/clang/test/Frontend/
H A Dplugin-call-super.cpp7 [[clang::call_super]] virtual void Test() {} in Test() function
10 [[clang::call_super]] virtual void Test() {} in Test() function
14 void Test() override;
16 [[clang::call_super]] virtual void Test() override final;
20 void Derive::Test() { in Test() function in Derive
21 Base1::Test(); in Test()
23 Base2::Test(); in Test()
30 void Test() override { in Test() function
31 Base1::Test(); in Test()
32 Base2::Test(); in Test()
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/
H A Dcompression.cpp157 EXPECT_EQ(Uncompressed[i], Test[i]); in runPackUnpack()
180 uintptr_t Test[] = {1, 2, 3}; in TEST() local
181 runPackUnpack(Test, sizeof(Test) / sizeof(uintptr_t)); in TEST()
185 uintptr_t Test[] = {3, 2, 1}; in TEST() local
186 runPackUnpack(Test, sizeof(Test) / sizeof(uintptr_t)); in TEST()
190 uintptr_t Test[] = {3, 3, 3}; in TEST() local
191 runPackUnpack(Test, sizeof(Test) / sizeof(uintptr_t)); in TEST()
196 runPackUnpack(Test, sizeof(Test) / sizeof(uintptr_t)); in TEST()
201 runPackUnpack(Test, sizeof(Test) / sizeof(uintptr_t)); in TEST()
206 runPackUnpack(Test, sizeof(Test) / sizeof(uintptr_t)); in TEST()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DDelta.cpp69 bool isReduced(ReducerWorkItem &M, TestRunner &Test, in isReduced() argument
90 bool Res = Test.run(CurrentFilepath); in isReduced()
103 return Test.run(CurrentFilepath); in isReduced()
227 void llvm::runDeltaPass(TestRunner &Test, in runDeltaPass() argument
233 if (!isReduced(Test.getProgram(), Test, CurrentFilepath)) { in runDeltaPass()
250 assert(isReduced(Test.getProgram(), Test, CurrentFilepath) && in runDeltaPass()
258 cloneReducerWorkItem(Test.getProgram(), Test.getTargetMachine()); in runDeltaPass()
293 writeBitcode(Test.getProgram(), BCOS); in runDeltaPass()
364 Test.getToolName()); in runDeltaPass()
372 cloneReducerWorkItem(Test.getProgram(), Test.getTargetMachine()), in runDeltaPass()
[all …]
/llvm-project-15.0.7/lldb/test/API/
H A Dlldbtest.py6 import lit.Test
32 yield lit.Test.Test(testSuite, path_in_suite +
37 return lit.Test.PASS, ''
87 return lit.Test.TIMEOUT, output
95 return lit.Test.UNRESOLVED, output
107 return lit.Test.FAIL, output
108 lit_results = [(failures, lit.Test.FAIL),
109 (errors, lit.Test.UNRESOLVED),
114 return lit.Test.PASS, output
115 lit_results = [(passes, lit.Test.PASS),
[all …]
/llvm-project-15.0.7/utils/bazel/llvm-project-overlay/mlir/test/
H A DBUILD.bazel27 includes = ["lib/Dialect/Test"],
244 "lib/Dialect/Test",
297 includes = ["lib/Dialect/Test"],
359 includes = ["lib/Dialect/Test"],
382 includes = ["lib/Dialect/Test"],
421 includes = ["lib/Dialect/Test"],
435 includes = ["lib/Dialect/Test"],
460 includes = ["lib/Dialect/Test"],
495 includes = ["lib/Dialect/Test"],
512 includes = ["lib/Dialect/Test"],
[all …]
/llvm-project-15.0.7/llvm/utils/lit/lit/
H A Dreports.py8 import lit.Test
22 unexecuted_codes = {lit.Test.EXCLUDED, lit.Test.SKIPPED}
91 lit.Test.SKIPPED, lit.Test.UNSUPPORTED}
146 if code == lit.Test.EXCLUDED:
148 if code == lit.Test.SKIPPED:
176 result_code == lit.Test.PASS
177 or result_code == lit.Test.XPASS
181 elif result_code == lit.Test.FAIL or result_code == lit.Test.XFAIL:
189 elif result_code == lit.Test.UNRESOLVED or result_code == lit.Test.TIMEOUT:
199 unexecuted_codes = {lit.Test.EXCLUDED, lit.Test.SKIPPED}
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Darc-repeated-weak.mm4 @interface Test { interface
6 Test *ivar;
32 void singleUse(Test *a) {
61 void twoVariables(Test *a, Test *b) {
92 void ivars(Test *a) {
118 void mixDotAndMessageSend(Test *a, Test *b) {
176 Test *val = (Test *)a.weakProp; // no-warning
217 void readOnceWriteManyLoops(Test *a, Test *b, Test *c, Test *d, Test *e) {
359 Test *a;
400 void doubleLevelAccess(Test *a, Test *b) {
[all …]
H A Dproperty-13.m9 @protocol Test protocol
25 @interface Test : NSObject <Test> { interface
36 @implementation Test implementation
51 Test *x = [[Test alloc] init];
52 /* 1. Test of a required property */
57 /* 2. Test of a synthesize optional property */
62 /* 3. Test of optional property with pre-sxisting defined setter/getter */
67 /* 4. Test of optional property with setter/getter attribute */
72 /* 5. Test of optional property with getter attribute and default setter method. */
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/test-data-micro/
H A Ddummy_format.py8 import lit.Test
23 result = lit.Test.Result(getattr(lit.Test, result_code),
30 metric = lit.Test.IntMetricValue(value)
32 metric = lit.Test.RealMetricValue(value)
39 micro_result = lit.Test.Result(getattr(lit.Test, result_code, ''))
44 metric = lit.Test.IntMetricValue(value)
46 metric = lit.Test.RealMetricValue(value)
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dvec-move-09.ll1 ; Test vector insertion of constants.
5 ; Test v16i8 insertion into the first element.
14 ; Test v16i8 insertion into the last element.
50 ; Test v16i8 insertion into a variable element.
59 ; Test v8i16 insertion into the first element.
68 ; Test v8i16 insertion into the last element.
113 ; Test v4i32 insertion into the first element.
122 ; Test v4i32 insertion into the last element.
185 ; Test v2i64 insertion into the last element.
257 ; Test v4f32 insertion of a nonzero value.
[all …]
H A Dvec-const-10.ll1 ; Test vector replicates, v2i64 version.
5 ; Test a byte-granularity replicate with the lowest useful value.
13 ; Test a byte-granularity replicate with an arbitrary value.
21 ; Test a byte-granularity replicate with the highest useful value.
29 ; Test a halfword-granularity replicate with the lowest useful value.
37 ; Test a halfword-granularity replicate with an arbitrary value.
45 ; Test a halfword-granularity replicate with the highest useful value.
61 ; Test a word-granularity replicate with the highest in-range value.
69 ; Test a word-granularity replicate with the next highest value.
78 ; Test a word-granularity replicate with the lowest in-range value.
[all …]
H A Dvec-move-05.ll1 ; Test vector extraction.
5 ; Test v16i8 extraction of the first element.
14 ; Test v16i8 extraction of the last element.
33 ; Test v16i8 extraction of a variable element.
42 ; Test v8i16 extraction of the first element.
51 ; Test v8i16 extraction of the last element.
88 ; Test v4i32 extraction of the last element.
153 ; Test v4f32 extraction of element 0.
162 ; Test v4f32 extraction of element 1.
171 ; Test v4f32 extraction of element 2.
[all …]
H A Dvec-move-01.ll1 ; Test vector register moves.
5 ; Test v16i8 moves.
13 ; Test v8i16 moves.
21 ; Test v4i32 moves.
29 ; Test v2i64 moves.
37 ; Test v4f32 moves.
45 ; Test v2f64 moves.
53 ; Test v2i8 moves.
61 ; Test v4i8 moves.
69 ; Test v8i8 moves.
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dclass-getter-dotsyntax.m3 @interface Test { } interface
4 + (Test *)crash;
8 @implementation Test implementation
12 static Test *cachesPath;
15 Test *crash = Test.crash;
18 + (Test *)crash{ return 0; }
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DFlagsTest.cpp83 TEST(Flags, Test) { in TEST() argument
86 EXPECT_FALSE(f.Test(eFlag0)); in TEST()
87 EXPECT_FALSE(f.Test(eFlag1)); in TEST()
88 EXPECT_FALSE(f.Test(eFlag2)); in TEST()
91 EXPECT_TRUE(f.Test(eFlag0)); in TEST()
92 EXPECT_FALSE(f.Test(eFlag1)); in TEST()
93 EXPECT_FALSE(f.Test(eFlag2)); in TEST()
96 EXPECT_TRUE(f.Test(eFlag0)); in TEST()
97 EXPECT_TRUE(f.Test(eFlag1)); in TEST()
98 EXPECT_FALSE(f.Test(eFlag2)); in TEST()
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A DIBOutletCollection.m3 @interface Test { interface
4 IBOutletCollection(Test) Test *anOutletCollection;
9 // CHECK-CURSOR: ObjCClassRef=Test:3:12
15 // CHECK-TOK: Identifier: "Test" [4:22 - 4:26] ObjCClassRef=Test:3:12
18 // CHECK-TOK: Identifier: "Test" [4:28 - 4:32] ObjCClassRef=Test:3:12

12345678910>>...200