Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 25 of 72) sorted by relevance

123

/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dfrexp.inc30 __CLC_INTN ai = i & 0x7fffffff;
31 __CLC_INTN d = ai > 0 & ai < 0x00800000;
33 __CLC_GENTYPE s = __CLC_AS_GENTYPE(ai | 0x0d800000) - 0x1.0p-100f;
34 ai = select(ai, __CLC_AS_INTN(s), d);
35 __CLC_INTN e = (ai >> 23) - 126 - select((__CLC_INTN)0, (__CLC_INTN)26, d);
36 __CLC_INTN t = ai == (__CLC_INTN)0 | e == (__CLC_INTN)129;
56 __CLC_LONGN ai = i & 0x7fffffffffffffffL;
57 __CLC_LONGN d = ai > 0 & ai < 0x0010000000000000L;
59 __CLC_GENTYPE s = __CLC_AS_GENTYPE(ai | 0x0370000000000000L) - 0x1.0p-968;
60 ai = select(ai, __CLC_AS_LONGN(s), d);
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dinline-asm-validate-amdgpu.cl55 float ai = a[i];
59 __asm("v_add_f32_e32 v1, v2, v3" : "={v1}"(ci) : "{v2}"(ai), "{v3}"(bi) : );
60 …__asm("v_add_f32_e32 v1, v2, v3" : ""(ci) : "{v2}"(ai), "{v3}"(bi) : ); // expected-error {{invali…
61 …__asm("v_add_f32_e32 v1, v2, v3" : "="(ci) : "{v2}"(ai), "{v3}"(bi) : ); // expected-error {{inval…
63 …__asm("v_add_f32_e32 v1, v2, v3" : "={"(ci) : "{v2}"(ai), "{v3}"(bi) : ); // expected-error {{inva…
64 …__asm("v_add_f32_e32 v1, v2, v3" : "={}"(ci) : "{v2}"(ai), "{v3}"(bi) : ); // expected-error {{inv…
72 __asm("v_add_f32_e32 v1, v2, v3" : "={v[1]}"(ci) : "{v[2]}"(ai), "{v[3]}"(bi) : );
77 __asm("v_add_f32_e32 v1, v2, v3" : "=v"(ci) : "v"(ai), "v"(bi) : );
78 …__asm("v_add_f32_e32 v1, v2, v3" : "=v1"(ci) : "v2"(ai), "v3"(bi) : ); /// expected-error {{invali…
88 double ai = a[i];
[all …]
H A Datomic-ops.c602 _Atomic(int) ai; in nullPointerWarning()
687 __c11_atomic_init(&ai, 0); in nullPointerWarning()
691 __c11_atomic_store(&ai, 0, memory_order_relaxed); in nullPointerWarning()
695 (void)__c11_atomic_exchange(&ai, 0, memory_order_relaxed); in nullPointerWarning()
699 (void)__c11_atomic_compare_exchange_weak(&ai, &i, 0, memory_order_relaxed, memory_order_relaxed); in nullPointerWarning()
707 (void)__c11_atomic_fetch_add(&ai, 0, memory_order_relaxed); in nullPointerWarning()
709 (void)__c11_atomic_fetch_sub(&ai, 0, memory_order_relaxed); in nullPointerWarning()
711 (void)__c11_atomic_fetch_and(&ai, 0, memory_order_relaxed); in nullPointerWarning()
713 (void)__c11_atomic_fetch_or(&ai, 0, memory_order_relaxed); in nullPointerWarning()
715 (void)__c11_atomic_fetch_xor(&ai, 0, memory_order_relaxed); in nullPointerWarning()
[all …]
/llvm-project-15.0.7/compiler-rt/test/msan/
H A Dgetaddrinfo-positive.cpp14 struct addrinfo *ai; in main() local
16 int res = getaddrinfo("localhost", NULL, NULL, &ai); in main()
17 if (ai) z = 1; // OK in main()
18 res = getaddrinfo("localhost", NULL, &hint, &ai); in main()
H A Dgetaddrinfo.cpp16 struct addrinfo *ai; in main() local
22 int res = getaddrinfo("not-in-etc-hosts", NULL, NULL, &ai); in main()
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dhvx-byte-store-double.ll11 tail call void @llvm.hexagon.V6.vS32b.qpred.ai.128B(<128 x i1> %v0, i8* %a1, <32 x i32> %a2)
16 declare void @llvm.hexagon.V6.vS32b.qpred.ai.128B(<128 x i1>, i8*, <32 x i32>) #0
24 tail call void @llvm.hexagon.V6.vS32b.nqpred.ai.128B(<128 x i1> %v0, i8* %a1, <32 x i32> %a2)
29 declare void @llvm.hexagon.V6.vS32b.nqpred.ai.128B(<128 x i1>, i8*, <32 x i32>) #0
37 tail call void @llvm.hexagon.V6.vS32b.nt.qpred.ai.128B(<128 x i1> %v0, i8* %a1, <32 x i32> %a2)
42 declare void @llvm.hexagon.V6.vS32b.nt.qpred.ai.128B(<128 x i1>, i8*, <32 x i32>) #0
50 tail call void @llvm.hexagon.V6.vS32b.nt.nqpred.ai.128B(<128 x i1> %v0, i8* %a1, <32 x i32> %a2)
54 declare void @llvm.hexagon.V6.vS32b.nt.nqpred.ai.128B(<128 x i1>, i8*, <32 x i32>) #0
H A Dhvx-byte-store.ll11 tail call void @llvm.hexagon.V6.vS32b.qpred.ai(<64 x i1> %v0, i8* %a1, <16 x i32> %a2)
16 declare void @llvm.hexagon.V6.vS32b.qpred.ai(<64 x i1>, i8*, <16 x i32>) #0
24 tail call void @llvm.hexagon.V6.vS32b.nqpred.ai(<64 x i1> %v0, i8* %a1, <16 x i32> %a2)
29 declare void @llvm.hexagon.V6.vS32b.nqpred.ai(<64 x i1>, i8*, <16 x i32>) #0
37 tail call void @llvm.hexagon.V6.vS32b.nt.qpred.ai(<64 x i1> %v0, i8* %a1, <16 x i32> %a2)
42 declare void @llvm.hexagon.V6.vS32b.nt.qpred.ai(<64 x i1>, i8*, <16 x i32>) #0
50 tail call void @llvm.hexagon.V6.vS32b.nt.nqpred.ai(<64 x i1> %v0, i8* %a1, <16 x i32> %a2)
54 declare void @llvm.hexagon.V6.vS32b.nt.nqpred.ai(<64 x i1>, i8*, <16 x i32>) #0
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A D1elt-ptr-vec-alignment-crash.ll6 %"struct.z::ai" = type { i32 }
16 %0 = bitcast <1 x %"struct.z::ai"*> zeroinitializer to %"struct.z::ai"*
17 …%retval.sroa.0.0..sroa_idx.i = getelementptr inbounds %"struct.z::ai", %"struct.z::ai"* %0, i64 0,…
/llvm-project-15.0.7/lldb/test/API/lang/cpp/class_types/
H A Dmain.cpp50 B(int ai, int bi) : in B() argument
51 A(ai), in B()
80 C(int ai, int bi, int ci) : in C() argument
81 B(ai, bi), in C()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan.cpp199 void HandleTagMismatch(AccessInfo ai, uptr pc, uptr frame, void *uc, in HandleTagMismatch() argument
216 bool fatal = flags()->halt_on_error || !ai.recover; in HandleTagMismatch()
217 ReportTagMismatch(stack, ai.addr, ai.size, ai.is_store, fatal, in HandleTagMismatch()
223 __hwasan::AccessInfo ai; in HwasanTagMismatch() local
224 ai.is_store = access_info & 0x10; in HwasanTagMismatch()
225 ai.is_load = !ai.is_store; in HwasanTagMismatch()
226 ai.recover = access_info & 0x20; in HwasanTagMismatch()
227 ai.addr = addr; in HwasanTagMismatch()
229 ai.size = outsize; in HwasanTagMismatch()
231 ai.size = 1 << (access_info & 0xf); in HwasanTagMismatch()
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Doperator-function-id-template.cpp13 bool test_qualified_id(A<int> ai) { in test_qualified_id() argument
14 return ::operator==<0, int>(ai, ai); in test_qualified_id()
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Daddrspace-auto.clcpp4 //CHECK: |-VarDecl {{.*}} ai '__global int':'__global int'
5 auto ai = i;
9 //CHECK: VarDecl {{.*}} ai '__private int':'__private int'
10 auto ai = i;
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dpr32140.ll7 @ai = dso_local local_unnamed_addr global i32 0, align 4
13 ; CHECK-NEXT: addis 3, 2, ai@toc@ha
15 ; CHECK-NEXT: lwa 3, ai@toc@l(3)
22 ; CHECK-LE-NEXT: addis 3, 2, ai@toc@ha
24 ; CHECK-LE-NEXT: lwa 3, ai@toc@l(3)
32 ; CHECK-BE-NEXT: addis 3, 2, ai@toc@ha
34 ; CHECK-BE-NEXT: lwa 3, ai@toc@l(3)
40 %0 = load i32, i32* @ai, align 4
/llvm-project-15.0.7/compiler-rt/test/ubsan/TestCases/Misc/
H A Dlog-path_test.cpp35 unsigned int ai = (unsigned int) a; in main() local
36 printf("%f %u\n", a, ai); in main()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dloop-address.ll15 %ai.06 = phi i32 [ %add, %for.body ], [ 0, %entry ]
17 %arrayidx = getelementptr inbounds i32, i32 addrspace(1)* %out, i32 %ai.06
19 %add = add nsw i32 %ai.06, 1
H A Ddisconnected-predset-break-bug.ll19 %ai.06 = phi i32 [ %add, %for.body ], [ 0, %entry ]
21 %arrayidx = getelementptr inbounds i32, i32 addrspace(1)* %out, i32 %ai.06
23 %add = add nsw i32 %ai.06, 1
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dblocks-aligned-byref-variable.c3 typedef int __attribute__((aligned(32))) ai; typedef
6 __block ai a = 10; in f()
H A Dmay-alias.c16 void test0(aliasing_int *ai, int *i) { in test0() argument
19 *ai = 0; in test0()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Datomic-type.cpp28 void test_overloading(int i, float f, _Atomic(int) ai, _Atomic(float) af, // expected-warning 2 {{'… in test_overloading() argument
32 int& ir2 = ovl1(ai); in test_overloading()
98 _Atomic(int) ai = { 4 }; // expected-error {{illegal initializer type}} \
H A Ddeduced-return-type-cxx14.cpp612 A<int> ai; variable
613 int k1 = g0(ai);
614 int k2 = X::g0(ai);
616 int k3 = g1(ai);
617 int k4 = X::g1(ai);
625 int k5 = g2(ai);
626 int k6 = X::g2(ai);
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp194 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(), in checkASTCodeBody() local
195 ae = i->AllocCall->arg_end(); ai != ae; ++ai) { in checkASTCodeBody()
196 if (!(*ai)->getType()->isIntegralOrUnscopedEnumerationType()) in checkASTCodeBody()
200 SFinder.Visit(*ai); in checkASTCodeBody()
/llvm-project-15.0.7/polly/lib/External/isl/
H A Dflow_test.sh.in8 for i in $srcdir/test_inputs/flow/*.ai; do
10 base=`basename $i .ai`
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/autohvx/
H A Dpred-vmem-128b.ll4 declare <32 x i32> @llvm.hexagon.V6.vL32b.pred.ai.128B(i1, <32 x i32>*, i32)
5 declare <32 x i32> @llvm.hexagon.V6.vL32b.npred.ai.128B(i1, <32 x i32>*, i32)
6 declare <32 x i32> @llvm.hexagon.V6.vL32b.nt.pred.ai.128B(i1, <32 x i32>*, i32)
7 declare <32 x i32> @llvm.hexagon.V6.vL32b.nt.npred.ai.128B(i1, <32 x i32>*, i32)
19 declare void @llvm.hexagon.V6.vS32b.pred.ai.128B(i1, <32 x i32>*, i32, <32 x i32>)
20 declare void @llvm.hexagon.V6.vS32b.npred.ai.128B(i1, <32 x i32>*, i32, <32 x i32>)
21 declare void @llvm.hexagon.V6.vS32Ub.pred.ai.128B(i1, <32 x i32>*, i32, <32 x i32>)
22 declare void @llvm.hexagon.V6.vS32Ub.npred.ai.128B(i1, <32 x i32>*, i32, <32 x i32>)
23 declare void @llvm.hexagon.V6.vS32b.nt.pred.ai.128B(i1, <32 x i32>*, i32, <32 x i32>)
24 declare void @llvm.hexagon.V6.vS32b.nt.npred.ai.128B(i1, <32 x i32>*, i32, <32 x i32>)
[all …]
H A Dpred-vmem-64b.ll4 declare <16 x i32> @llvm.hexagon.V6.vL32b.pred.ai(i1, <16 x i32>*, i32)
5 declare <16 x i32> @llvm.hexagon.V6.vL32b.npred.ai(i1, <16 x i32>*, i32)
6 declare <16 x i32> @llvm.hexagon.V6.vL32b.nt.pred.ai(i1, <16 x i32>*, i32)
7 declare <16 x i32> @llvm.hexagon.V6.vL32b.nt.npred.ai(i1, <16 x i32>*, i32)
19 declare void @llvm.hexagon.V6.vS32b.pred.ai(i1, <16 x i32>*, i32, <16 x i32>)
20 declare void @llvm.hexagon.V6.vS32b.npred.ai(i1, <16 x i32>*, i32, <16 x i32>)
21 declare void @llvm.hexagon.V6.vS32Ub.pred.ai(i1, <16 x i32>*, i32, <16 x i32>)
22 declare void @llvm.hexagon.V6.vS32Ub.npred.ai(i1, <16 x i32>*, i32, <16 x i32>)
23 declare void @llvm.hexagon.V6.vS32b.nt.pred.ai(i1, <16 x i32>*, i32, <16 x i32>)
24 declare void @llvm.hexagon.V6.vS32b.nt.npred.ai(i1, <16 x i32>*, i32, <16 x i32>)
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/SROA/
H A Dassume.ll10 %class.ao = type { %class.ai }
11 %class.ai = type { i32, i32 }

123