Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 4983) sorted by relevance

12345678910>>...200

/llvm-project-15.0.7/clang/test/OpenMP/
H A Dtarget_update_from_messages.cpp97 T from; in tmain() local
107 #pragma omp target update from(x) in tmain()
113 #pragma omp target update from(from) in tmain()
119 #pragma omp target update from(ba) in tmain()
123 #pragma omp target update from(da) in tmain()
138 #pragma omp target update from(s7.x) in tmain()
154 int from; in main() local
166 #pragma omp target update from(x) in main()
170 #pragma omp target update from(from) in main()
175 #pragma omp target update from(ba) in main()
[all …]
H A Dtarget_exit_data_depend_messages.cpp31 #pragma omp target exit data map(from: i) depend // expected-error {{expected '(' after 'depend'}} in tmain()
51 #pragma omp target exit data map(from : i) depend(in : argv[1][1] = '2') in tmain()
55 #pragma omp target exit data map(from: i) depend (in : argv[0]) in tmain()
59 #pragma omp target exit data map(from: i) depend (in : tmain) in tmain()
91 #pragma omp target exit data map(from: i) depend(in : argv[ : argc][1 : argc - 1]) in tmain()
93 #pragma omp target exit data map(from : i) depend(in : arr[0]) in tmain()
126 #pragma omp target exit data map(from: i) depend(in : argv[1][1] = '2') in main()
130 #pragma omp target exit data map(from: i) depend (in : argv[0]) in main()
134 #pragma omp target exit data map(from: i) depend (in : main) in main()
166 #pragma omp target exit data map(from: i) depend(in : argv[ : argc][1 : argc - 1]) in main()
[all …]
H A Dtarget_exit_data_if_messages.cpp17 #pragma omp target exit data map(from: argc) if(cond) // expected-warning {{variable 'cond' is unin… in xxx()
26 #pragma omp target exit data map(from: i) if // expected-error {{expected '(' after 'if'}} in main()
28 #pragma omp target exit data map(from: i) if () // expected-error {{expected expression}} in main()
29 …#pragma omp target exit data map(from: i) if (argc // expected-error {{expected ')'}} expected-not… in main()
30 …#pragma omp target exit data map(from: i) if (argc)) // expected-warning {{extra tokens at the end… in main()
31 #pragma omp target exit data map(from: i) if (argc > 0 ? argv[1] : argv[2]) in main()
32 #pragma omp target exit data map(from: i) if (argc + argc + z) in main()
34 …#pragma omp target exit data map(from: i) if (S1) // expected-error {{'S1' does not refer to a val… in main()
35 …#pragma omp target exit data map(from: i) if (argv[1]=2) // expected-error {{expected ')'}} expect… in main()
39 …#pragma omp target exit data map(from: i) if(target exit data : argc // expected-error {{expected … in main()
[all …]
H A Dtarget_exit_data_ast_print.cpp27 #pragma omp target exit data map(from: i) in tmain()
31 #pragma omp target exit data map(from: i) if (b) in tmain()
33 #pragma omp target exit data map(from: c) in tmain()
35 #pragma omp target exit data map(from: c) if(b>e) in tmain()
47 #pragma omp target exit data nowait map(from: i) in tmain()
53 #pragma omp target exit data map(from: c) nowait in tmain()
175 #pragma omp target exit data map(from: a) in main()
185 #pragma omp target exit data map(from: c) in main()
191 #pragma omp target exit data map(from: x[0:10], c) in main()
206 #pragma omp target exit data nowait map(from: a) in main()
[all …]
H A Dtarget_update_ast_print.cpp35 #pragma omp target update from(marr[2][0:2][0:2]) in foo()
43 #pragma omp target update from(marr[:2][:1][:]) in foo()
47 #pragma omp target update from(marr[:2][:][:1]) in foo()
51 #pragma omp target update from(marr[:2][:][1:]) in foo()
55 #pragma omp target update from(marr[:1][3:2][:2]) in foo()
59 #pragma omp target update from(marr[:1][:2][0]) in foo()
64 #pragma omp target update from(arr[2][0:1:2]) in foo()
124 #pragma omp target update from(argv[2][0:1:2]) in main()
141 #pragma omp target update from(marr[:2][:1][:]) in main()
145 #pragma omp target update from(marr[:2][:][:1]) in main()
[all …]
/llvm-project-15.0.7/mlir/test/IR/
H A Dvisitors.mlir37 // CHECK: Visiting block ^bb0 from region 0 from operation 'func.func'
38 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.for'
39 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.if'
40 // CHECK: Visiting block ^bb0 from region 1 from operation 'scf.if'
61 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.if'
62 // CHECK: Visiting block ^bb0 from region 1 from operation 'scf.if'
63 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.for'
79 // CHECK: Erasing block ^bb0 from region 0 from operation 'scf.for'
91 // CHECK: Erasing block ^bb0 from region 0 from operation 'scf.if'
92 // CHECK: Erasing block ^bb0 from region 1 from operation 'scf.if'
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBlockAndValueMapping.h30 void map(Block *from, Block *to) { blockMap[from] = to; } in map() argument
31 void map(Value from, Value to) { valueMap[from] = to; } in map() argument
37 void map(S &&from, T &&to) { in map() argument
43 void erase(Block *from) { blockMap.erase(from); } in erase() argument
44 void erase(Value from) { valueMap.erase(from); } in erase() argument
47 bool contains(Block *from) const { return blockMap.count(from); } in contains() argument
48 bool contains(Value from) const { return valueMap.count(from); } in contains() argument
55 Value lookupOrNull(Value from) const { return lookupOrValue(from, Value()); } in lookupOrNull() argument
60 return lookupOrValue(from, from); in lookupOrDefault()
62 Value lookupOrDefault(Value from) const { return lookupOrValue(from, from); } in lookupOrDefault() argument
[all …]
/llvm-project-15.0.7/mlir/test/Transforms/
H A Dmemref-dependence-check.mlir18 // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
25 // expected-remark@above {{dependence from 1 to 1 at depth 1 = false}}
26 // expected-remark@above {{dependence from 1 to 1 at depth 2 = false}}
27 // expected-remark@above {{dependence from 1 to 0 at depth 1 = false}}
44 // expected-remark@above {{dependence from 0 to 1 at depth 1 = true}}
63 // expected-remark@above {{dependence from 0 to 0 at depth 1 = false}}
64 // expected-remark@above {{dependence from 0 to 1 at depth 1 = false}}
433 // Dependence from access 0 to 1 is loop carried at depth 1.
464 // Dependence from access 0 to 1 is loop carried at depth 2.
526 // *) loop-independent dependence from access 1 to 2 at depth 2.
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bvgraph.h44 check(from, to); in addEdge()
45 return v[from].setBit(to); in addEdge()
52 t1.copyFrom(from); in addEdges()
68 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() argument
78 for (uptr from = 0; from < size(); from++) { in removeEdgesTo() local
88 t1.copyFrom(from); in removeEdgesFrom()
100 return v[from].clear(); in removeEdgesFrom()
104 check(from, to); in hasEdge()
115 visited.setBit(from); in isReachable()
130 path[0] = from; in findPath()
[all …]
/llvm-project-15.0.7/libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
H A Dwchar_t_out.pass.cpp36 std::vector<char> to(from.size()+1); in main()
40 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
43 assert(static_cast<std::size_t>(from_next - from.data()) == from.size()); in main()
48 std::basic_string<F::intern_type> from(L"some text"); in main() local
49 from[4] = '\0'; in main()
50 std::vector<char> to(from.size()+1); in main()
54 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
57 assert(static_cast<std::size_t>(from_next - from.data()) == from.size()); in main()
62 std::basic_string<F::intern_type> from(L"some text"); in main() local
63 std::vector<char> to(from.size()-1); in main()
[all …]
H A Dchar32_t_length.pass.cpp35 const char from[] = "some text"; in main() local
36 assert(f.length(mbs, from, from+10, 0) == 0); in main()
37 assert(f.length(mbs, from, from+10, 8) == 8); in main()
38 assert(f.length(mbs, from, from+10, 9) == 9); in main()
39 assert(f.length(mbs, from, from+10, 10) == 10); in main()
40 assert(f.length(mbs, from, from+10, 100) == 10); in main()
H A Dchar16_t_length.pass.cpp35 const char from[] = "some text"; in main() local
36 assert(f.length(mbs, from, from+10, 0) == 0); in main()
37 assert(f.length(mbs, from, from+10, 8) == 8); in main()
38 assert(f.length(mbs, from, from+10, 9) == 9); in main()
39 assert(f.length(mbs, from, from+10, 10) == 10); in main()
40 assert(f.length(mbs, from, from+10, 100) == 10); in main()
H A Dchar16_t_char8_t_length.pass.cpp28 const char8_t from[] = u8"some text"; in main() local
29 assert(f.length(mbs, from, from + 10, 0) == 0); in main()
30 assert(f.length(mbs, from, from + 10, 8) == 8); in main()
31 assert(f.length(mbs, from, from + 10, 9) == 9); in main()
32 assert(f.length(mbs, from, from + 10, 10) == 10); in main()
33 assert(f.length(mbs, from, from + 10, 100) == 10); in main()
H A Dchar32_t_char8_t_length.pass.cpp28 const char8_t from[] = u8"some text"; in main() local
29 assert(f.length(mbs, from, from + 10, 0) == 0); in main()
30 assert(f.length(mbs, from, from + 10, 8) == 8); in main()
31 assert(f.length(mbs, from, from + 10, 9) == 9); in main()
32 assert(f.length(mbs, from, from + 10, 10) == 10); in main()
33 assert(f.length(mbs, from, from + 10, 100) == 10); in main()
H A Dchar_length.pass.cpp27 const char from[10]= {0}; in main() local
28 assert(f.length(mbs, from, from+10, 0) == 0); in main()
29 assert(f.length(mbs, from, from+10, 9) == 9); in main()
30 assert(f.length(mbs, from, from+10, 10) == 10); in main()
31 assert(f.length(mbs, from, from+10, 11) == 10); in main()
32 assert(f.length(mbs, from, from+10, 100) == 10); in main()
H A Dwchar_t_length.pass.cpp29 const char* from = "123467890"; in main() local
30 assert(f.length(mbs, from, from+10, 0) == 0); in main()
31 assert(f.length(mbs, from, from+10, 9) == 9); in main()
32 assert(f.length(mbs, from, from+10, 10) == 10); in main()
33 assert(f.length(mbs, from, from+10, 11) == 10); in main()
34 assert(f.length(mbs, from, from+10, 100) == 10); in main()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dsve-ld1r.mir10 ; Reads from %object at offset 63 * readsize
16 ; Reads from %object at offset 64 * readsize
22 ; Reads from %object at offset -1 * readsize
47 ; CHECK: renamable $z0 = LD1RH_IMM renamable $p0, $sp, 63 :: (load (s16) from %ir.object)
48 ; CHECK: renamable $z0 = LD1RH_S_IMM renamable $p0, $sp, 63 :: (load (s16) from %ir.object)
49 ; CHECK: renamable $z0 = LD1RH_D_IMM renamable $p0, $sp, 63 :: (load (s16) from %ir.object)
52 ; CHECK: renamable $z0 = LD1RW_IMM renamable $p0, $sp, 63 :: (load (s32) from %ir.object)
53 ; CHECK: renamable $z0 = LD1RW_D_IMM renamable $p0, $sp, 63 :: (load (s32) from %ir.object)
54 ; CHECK: renamable $z0 = LD1RSW_IMM renamable $p0, $sp, 63 :: (load (s32) from %ir.object)
55 ; CHECK: renamable $z0 = LD1RD_IMM renamable $p0, $sp, 63 :: (load (s64) from %ir.object)
[all …]
H A Dsve-ldnf1.mir10 ; Reads from %object at offset 63 * readsize
16 ; Reads from %object at offset 63 * readsize
23 ; Reads from %object at offset 64 * readsize
29 ; Reads from %object at offset -1 * readsize
58 ; CHECK-NEXT: renamable $z0 = LDNF1H_IMM renamable $p0, $sp, 7 :: (load (s16) from %ir.object)
59 ; CHECK-NEXT: renamable $z0 = LDNF1H_S_IMM renamable $p0, $sp, 7 :: (load (s16) from %ir.object)
60 ; CHECK-NEXT: renamable $z0 = LDNF1H_D_IMM renamable $p0, $sp, 7 :: (load (s16) from %ir.object)
61 … ; CHECK-NEXT: renamable $z0 = LDNF1SH_S_IMM renamable $p0, $sp, 7 :: (load (s16) from %ir.object)
62 … ; CHECK-NEXT: renamable $z0 = LDNF1SH_D_IMM renamable $p0, $sp, 7 :: (load (s16) from %ir.object)
66 ; CHECK-NEXT: renamable $z0 = LDNF1D_IMM renamable $p0, $sp, 7 :: (load (s64) from %ir.object)
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/impl/
H A Dmsgpack.cpp92 from++; in read_size_field_u8()
93 return from[0]; in read_size_field_u8()
101 from++; in read_size_field_u16()
104 memcpy(&b, from, 2); in read_size_field_u16()
107 return (from[0] << 8u) | from[1]; in read_size_field_u16()
111 from++; in read_size_field_u32()
117 return (from[0] << 24u) | (from[1] << 16u) | (from[2] << 8u) | in read_size_field_u32()
122 from++; in read_size_field_u64()
128 return ((uint64_t)from[0] << 56u) | ((uint64_t)from[1] << 48u) | in read_size_field_u64()
129 ((uint64_t)from[2] << 40u) | ((uint64_t)from[3] << 32u) | in read_size_field_u64()
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dassign.cpp26 p(to, from); in DoScalarDefinedAssignment()
29 p(to, from.raw().base_addr); in DoScalarDefinedAssignment()
34 p(to.raw().base_addr, from); in DoScalarDefinedAssignment()
51 fromElementDesc = from; in DoElementalDefinedAssignment()
92 if (from.rank() > 0) { in Assign()
123 int rank{from.rank()}; in Assign()
145 from.GetLowerBounds(fromAt); in Assign()
147 if (from.rank() > 0 && toElements != from.Elements()) { in Assign()
152 if (to.type() != from.type()) { in Assign()
263 if (to.rank() == from.rank() && to.IsContiguous() && from.IsContiguous()) { in Assign()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_bvgraph_test.cpp86 EXPECT_EQ(g.addEdge(from, to), s_g.addEdge(from, to)); in BasicTest()
131 EXPECT_EQ(g.addEdge(from, to), s_g.addEdge(from, to)); in RemoveEdges()
141 for (set<uptr>::iterator from = s.begin(); from != s.end(); ++from) { in RemoveEdges() local
148 for (uptr from = 0; from < g.size(); from++) in RemoveEdges() local
307 BV from; in RunAddEdgesTest() local
311 from.clear(); in RunAddEdgesTest()
314 from.setBit(0); in RunAddEdgesTest()
319 from.clear(); in RunAddEdgesTest()
320 from.setBit(1); in RunAddEdgesTest()
325 from.setBit(2); in RunAddEdgesTest()
[all …]
H A Dsanitizer_quarantine_test.cpp46 QuarantineBatch from; in TEST() local
47 from.init(kFakePtr, 8UL); in TEST()
49 into.merge(&from); in TEST()
67 into.merge(&from); in TEST()
71 from.init(kFakePtr, 8UL); in TEST()
104 Cache from; in TEST() local
109 cache.Transfer(&from); in TEST()
127 Cache from; in TEST() local
133 cache.Transfer(&from); in TEST()
156 Cache from; in TEST() local
[all …]
/llvm-project-15.0.7/compiler-rt/lib/asan/tests/
H A Dasan_str_test.cpp193 strcpy(from, "hello"); in TEST()
194 strcpy(to, from); in TEST()
207 free(from); in TEST()
216 strcpy(from, "hello"); in TEST()
218 strncpy(to, from, 0); in TEST()
247 free(from); in TEST()
423 strcat(to, from); in TEST()
424 strcat(to, from); in TEST()
443 strcat(to, from + 1); in TEST()
446 free(from); in TEST()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/Generic/
H A Daligned-memoperands.mir9 ; CHECK-NEXT: [[LOAD:%[0-9]+]]:_(s32) = G_LOAD [[DEF]](p0) :: (load (s32) from `ptr undef`)
11 ; CHECK-NEXT: [[LOAD1:%[0-9]+]]:_(s32) = G_LOAD [[DEF]](p0) :: (load (s32) from `ptr undef`)
19 %1:_(s32) = G_LOAD %0 :: (load (s32) from `ptr undef`)
20 %1:_(s32) = G_LOAD %0 :: (load (s32) from `ptr undef`, align 2)
21 %1:_(s32) = G_LOAD %0 :: (load (s32) from `ptr undef`, align 4) ; redundant
22 %1:_(s32) = G_LOAD %0 :: (load (s32) from `ptr undef`, align 8)
23 %1:_(s32) = G_LOAD %0 :: (load (s32) from `ptr undef` + 12, align 2)
24 %1:_(s32) = G_LOAD %0 :: (load (s32) from `ptr undef` + 12, align 4) ; redundant
25 %1:_(s32) = G_LOAD %0 :: (load (s32) from `ptr undef` + 12, basealign 2) ; printed as "align"
26 %1:_(s32) = G_LOAD %0 :: (load (s32) from `ptr undef` + 12, basealign 4) ; redundant
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCallHierarchyTests.cpp28 Stream << "{ from: " << Call.from << ", ranges: ["; in operator <<()
51 return Field(&CallHierarchyIncomingCall::from, M); in from()
83 ElementsAre(AllOf(from(withName("caller1")), in TEST()
87 ElementsAre(AllOf(from(withName("caller2")), in TEST()
90 AllOf(from(withName("caller3")), in TEST()
95 ElementsAre(AllOf(from(withName("caller3")), in TEST()
128 ElementsAre(AllOf(from(withName("caller1")), in TEST()
276 ElementsAre(AllOf(from(withName("caller2")), in TEST()
278 AllOf(from(withName("caller3")), in TEST()
385 ElementsAre(AllOf(from(withName("caller2")), in TEST()
[all …]

12345678910>>...200