Home
last modified time | relevance | path

Searched refs:ca (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/llvm-project-15.0.7/flang/test/Evaluate/
H A Dfold-substr.f9010 character(4), parameter :: ca(3) = ["abcd", "efgh", "ijkl"] variable
11 logical, parameter :: test_04a = ca(2)(2:4) == "fgh"
12 logical, parameter :: test_04b = len(ca(2)(2:4)) == 3
13 logical, parameter :: test_05a = all(ca(:)(2:4) == ["bcd", "fgh", "jkl"])
14 logical, parameter :: test_05b = len(ca(:)(2:4)) == 3
15 logical, parameter :: test_06a = ca(1)(1:2)//ca(2)(2:3)//ca(3)(3:4) == "abfgkl"
16 logical, parameter :: test_06b = len(ca(1)(1:2)//ca(2)(2:3)//ca(3)(3:4)) == 6
H A Dfolding08.f9013 character(len=2) :: ca(-1:1) variable
30 integer, parameter :: lbca1(*) = lbound(ca)
32 integer, parameter :: ubca1(*) = ubound(ca)
34 integer, parameter :: lbca2(*) = lbound(ca(:)(1:1))
36 integer, parameter :: ubca2(*) = ubound(ca(:)(1:1))
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
H A Dany_cast_pointer.pass.cpp34 const std::any& ca = a; in test_cast_is_noexcept() local
35 ASSERT_NOEXCEPT(std::any_cast<int>(&ca)); in test_cast_is_noexcept()
44 const std::any& ca = a; in test_cast_return_type() local
55 const std::any *ca = nullptr; in test_cast_nullptr() local
56 assert(nullptr == std::any_cast<int>(ca)); in test_cast_nullptr()
67 const std::any& ca = a; in test_cast_empty() local
78 const std::any& ca = a; in test_cast_empty() local
90 const std::any& ca = a; in test_cast() local
120 cv = std::any_cast<Type>(&ca); in test_cast()
126 cv = std::any_cast<Type const>(&ca); in test_cast()
[all …]
H A Dany_cast_reference.pass.cpp58 const std::any& ca = a; in test_cast_return_type() local
59 static_assert(std::is_same<decltype(std::any_cast<int>(ca)), int>::value, ""); in test_cast_return_type()
60 static_assert(std::is_same<decltype(std::any_cast<int const>(ca)), int>::value, ""); in test_cast_return_type()
61 static_assert(std::is_same<decltype(std::any_cast<int const&>(ca)), int const&>::value, ""); in test_cast_return_type()
62 static_assert(std::is_same<decltype(std::any_cast<int const&&>(ca)), int const&&>::value, ""); in test_cast_return_type()
118 const std::any& ca = a; in test_cast_to_reference() local
140 Type const& v = std::any_cast<Type const&>(ca); in test_cast_to_reference()
143 Type const &cv = std::any_cast<Type const&>(ca); in test_cast_to_reference()
148 Type const& v = std::any_cast<Type const&>(std::move(ca)); in test_cast_to_reference()
151 Type const &cv = std::any_cast<Type const&>(std::move(ca)); in test_cast_to_reference()
/llvm-project-15.0.7/llvm/test/tools/llvm-profgen/Inputs/
H A Dprofile-density-cs.raw.prof52 6b0-6ca:683
55 6b9-6ca:62
67 6ca->6ec:755
86 7bd-7ca:791
91 7ca->790:805
122 6b0-6ca:351
125 6b9-6ca:81
138 6ca->6ec:452
146 7bd-7ca:632
153 7ca->790:661
H A Dcold-profile-trimming.raw.prof24 4007bd-4007ca:12
37 4006ca->4006ec:3
50 4007ca->400790:12
H A Dfs-discriminator.raw.prof14 6b0-6ca:1
17 6b9-6ca:1
55 6ca->6ec:1
/llvm-project-15.0.7/flang/test/Semantics/
H A Dcritical02.f9030 integer, allocatable, codimension[:] :: ca local
34 allocate(ca[*])
39 deallocate(ca)
97 integer, allocatable, codimension[:] :: ca local
98 allocate(ca[*])
103 cb = ca
110 integer, allocatable, codimension[:] :: ca, cb local
113 call move_alloc(cb, ca)
H A Ddoconcurrent01.f90123 integer, allocatable, codimension[:] :: ca, cb local
129 allocate(ca[*])
130 allocate(ca[*], pvar%type1_field%coarray_type0_field(3)[*])
138 allocate(ca[*])
143 deallocate(ca)
158 allocate(ca[*], pvar%type1_field%coarray_type0_field(3)[*])
163 deallocate(ca, pvar%type1_field%coarray_type0_field)
167 call move_alloc(ca, cb)
177 call move_alloc(ca, cb)
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/
H A Dfill.pass.cpp38 char ca[n] = {0}; in test_char() local
39 std::fill(Iter(ca), Iter(ca+n), char(1)); in test_char()
40 assert(ca[0] == 1); in test_char()
41 assert(ca[1] == 1); in test_char()
42 assert(ca[2] == 1); in test_char()
43 assert(ca[3] == 1); in test_char()
/llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/
H A Dmusttail_cc.ll7 ; CHECK: %ca = musttail call i32 @foo(i32 %a)
8 %ca = musttail call i32 @foo(i32 %a)
9 ret i32 %ca
20 %ca = call i32 @foo1(i32 %a)
21 ret i32 %ca
26 ; CHECK: %ca = musttail call i32 @foo2(i32 %a)
27 %ca = musttail call i32 @foo2(i32 %a)
28 ret i32 %ca
H A Dalias-used-address-space.ll12 @llvm.used = appending global [1 x i8*] [i8* addrspacecast (i8 addrspace(1)* @ca to i8*)], section …
13 ; CHECK-DAG: @llvm.used = appending global [1 x i8*] [i8* addrspacecast (i8 addrspace(1)* @ca to i8…
18 @sameAsUsed = global [1 x i8*] [i8* addrspacecast(i8 addrspace(1)* @ca to i8*)]
21 @ca = internal alias i8, i8 addrspace(1)* @c
22 ; CHECK: @ca = internal alias i8, i8 addrspace(1)* @c
25 ret i8 addrspace(1)* @ca
H A Dalias-used.ll9 …[i8* bitcast (void ()* @fa to i8*), i8* bitcast (void ()* @f to i8*), i8* @ca], section "llvm.meta…
10 ; CHECK-DAG: @llvm.used = appending global [3 x i8*] [i8* @ca, i8* bitcast (void ()* @f to i8*), i8…
15 …d = global [3 x i8*] [i8* bitcast (void ()* @fa to i8*), i8* bitcast (void ()* @f to i8*), i8* @ca]
30 @ca = internal alias i8, i8* @c
31 ; CHECK: @ca = internal alias i8, i8* @c
46 ret i8* @ca
/llvm-project-15.0.7/llvm/test/Transforms/LoopDeletion/
H A Dupdate-scev.ll89 %ca.19 = phi i64 [ 0, %for.cond5.preheader.lr.ph ], [ %ca.3.lcssa, %for.cond.loopexit ]
100 …%ca.2.lcssa = phi i64 [ %ca.19, %for.cond5.preheader ], [ %inc.lcssa, %for.cond8.preheader.loopexi…
107 %ca.26 = phi i64 [ %inc, %for.body7 ], [ %ca.19, %for.body7.preheader ]
108 %inc = add nsw i64 %ca.26, 1
114 %ca.37 = phi i64 [ %inc11, %for.body10 ], [ %ca.2.lcssa, %for.body10.preheader ]
115 %inc11 = add nsw i64 %ca.37, 1
128 %ca.19.1 = phi i64 [ 0, %for.cond5.preheader.lr.ph.1 ], [ %ca.3.lcssa.1, %for.cond.loopexit.1 ]
135 %ca.26.1 = phi i64 [ %inc.1, %for.body7.1 ], [ %ca.19.1, %for.body7.preheader.1 ]
136 %inc.1 = add nsw i64 %ca.26.1, 1
153 %ca.37.1 = phi i64 [ %inc11.1, %for.body10.1 ], [ %ca.2.lcssa.1, %for.body10.preheader.1 ]
[all …]
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.range/
H A Dbegin-end.pass.cpp61 const auto& ca = a; in test_arrays_and_initializer_lists_forward() local
63 ASSERT_SAME_TYPE(decltype(std::end(ca)), const int*); in test_arrays_and_initializer_lists_forward()
64 assert(std::begin(ca) == a); in test_arrays_and_initializer_lists_forward()
65 assert(std::end(ca) == a + 3); in test_arrays_and_initializer_lists_forward()
69 assert(std::cbegin(ca) == a); in test_arrays_and_initializer_lists_forward()
70 assert(std::cend(ca) == a + 3); in test_arrays_and_initializer_lists_forward()
115 const auto& ca = a; in test_arrays_and_initializer_lists_backward() local
118 assert(std::rbegin(ca).base() == a + 3); in test_arrays_and_initializer_lists_backward()
119 assert(std::rend(ca).base() == a); in test_arrays_and_initializer_lists_backward()
122 assert(std::crbegin(ca).base() == a + 3); in test_arrays_and_initializer_lists_backward()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/forward/
H A Dforward.fail.cpp29 const A ca = A(); in main() local
30 std::forward<A&>(ca); // expected-error {{no matching function for call to 'forward'}} in main()
36 const A ca = A(); in main() local
37 std::forward<A>(ca); // expected-error {{no matching function for call to 'forward'}} in main()
H A Dforward.pass.cpp45 const A ca = A(); in main() local
48 ((void)ca); // Prevent unused warning in main()
64 static_assert(std::is_same<decltype(std::forward<const A&>(ca)), const A&>::value, ""); in main()
65 static_assert(std::is_same<decltype(std::forward<const A>(ca)), const A&&>::value, ""); in main()
67 ASSERT_NOEXCEPT(std::forward<const A&>(ca)); in main()
68 ASSERT_NOEXCEPT(std::forward<const A>(ca)); in main()
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dasync-copy.ll74 declare void @llvm.nvvm.cp.async.ca.shared.global.4(i8 addrspace(3)* %a, i8 addrspace(1)* %b)
78 ; CHECK_PTX32: cp.async.ca.shared.global [%r{{[0-9]+}}], [%r{{[0-9]+}}], 4;
79 ; CHECK_PTX64: cp.async.ca.shared.global [%rd{{[0-9]+}}], [%rd{{[0-9]+}}], 4;
80 tail call void @llvm.nvvm.cp.async.ca.shared.global.4(i8 addrspace(3)* %a, i8 addrspace(1)* %b)
84 declare void @llvm.nvvm.cp.async.ca.shared.global.8(i8 addrspace(3)* %a, i8 addrspace(1)* %b)
88 ; CHECK_PTX32: cp.async.ca.shared.global [%r{{[0-9]+}}], [%r{{[0-9]+}}], 8;
89 ; CHECK_PTX64: cp.async.ca.shared.global [%rd{{[0-9]+}}], [%rd{{[0-9]+}}], 8;
90 tail call void @llvm.nvvm.cp.async.ca.shared.global.8(i8 addrspace(3)* %a, i8 addrspace(1)* %b)
94 declare void @llvm.nvvm.cp.async.ca.shared.global.16(i8 addrspace(3)* %a, i8 addrspace(1)* %b)
98 ; CHECK_PTX32: cp.async.ca.shared.global [%r{{[0-9]+}}], [%r{{[0-9]+}}], 16;
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-reinterpret-base-class.cpp91 void reinterpret_not_updowncast(A *pa, const A *pca, A &a, const A &ca) { in reinterpret_not_updowncast() argument
105 (void)reinterpret_cast<const C &>(ca); in reinterpret_not_updowncast()
106 (void)reinterpret_cast<const volatile C &>(ca); in reinterpret_not_updowncast()
109 void reinterpret_pointer_downcast(A *a, const A *ca) { in reinterpret_pointer_downcast() argument
115 (void)*reinterpret_cast<const DA *>(ca); in reinterpret_pointer_downcast()
116 (void)*reinterpret_cast<const volatile DA *>(ca); in reinterpret_pointer_downcast()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo16Instr.td289 (outs CARRY:$ca), (ins), "setc16", []> {
300 (outs CARRY:$ca), (ins), "clrc16", []> {
480 def : Pat<(brcond CARRY:$ca, bb:$offset),
481 (BT16 CARRY:$ca, bb:$offset)>;
555 def : Pat<(select CARRY:$ca, sGPR:$rx, sGPR:$false),
556 (ISEL16 CARRY:$ca, sGPR:$rx, sGPR:$false)>;
558 (ISEL16 CARRY:$ca, sGPR:$rx, sGPR:$false)>;
680 def : CompressPat<(MVCV32 sGPR:$rd, CARRY:$ca),
681 (MVCV16 sGPR:$rd, CARRY:$ca)>;
682 def : CompressPat<(MOV32 sGPR:$rd, sGPR:$ca),
[all …]
/llvm-project-15.0.7/clang/test/CXX/class.access/
H A Dp4.cpp80 const A &ca = a; in test() local
81 ca + pub; in test()
82 ca + prot; in test()
83 ca + priv; in test()
84 -ca; in test()
86 ca(pub); in test()
87 ca(prot); // expected-error {{'operator void (*)(Protected &)' is a protected member}} in test()
88 ca(priv); // expected-error {{'operator void (*)(Private &)' is a private member}} in test()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dsuspicious-memset-usage.cpp26 char ca[3] = {'a', 'b', 'c'}; in foo() local
62 memset(ca, '0', sizeof(ca)); in foo()
/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_ptr_02.pass.cpp27 const A ca = A(); variable
65 throw &ca; in test3()
81 throw &ca; in test4()
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.swap/
H A Dswap_array.pass.cpp110 CA ca; in main() local
112 static_assert(!noexcept(std::swap(ca, ca)), ""); in main()
/llvm-project-15.0.7/clang/test/CXX/over/over.built/
H A Dp26.cpp14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { in foo() argument
15 return cond? ca : cb; in foo()

12345678910>>...14