Home
last modified time | relevance | path

Searched refs:fptr (Results 1 – 25 of 151) sorted by relevance

1234567

/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dflat-address-space.ll17 store volatile i32 %x, i32* %fptr, align 4
51 store volatile i8 %y, i8* %fptr, align 2
178 %fptr.offset = getelementptr inbounds i8, i8* %fptr, i64 4095
179 store volatile i8 %x, i8* %fptr.offset
186 %fptr.offset = getelementptr inbounds i8, i8* %fptr, i64 4096
187 store volatile i8 %x, i8* %fptr.offset
198 %fptr.offset = getelementptr inbounds i8, i8* %fptr, i64 -2
199 store volatile i8 %x, i8* %fptr.offset
208 %fptr.offset = getelementptr inbounds i8, i8* %fptr, i64 4095
218 %fptr.offset = getelementptr inbounds i8, i8* %fptr, i64 4096
[all …]
H A Dreplace-lds-by-ptr-indirect-call-diamond-shape.ll36 ; CHECK: %fptr = load void ()*, void ()** @ptr_to_func, align 8
37 ; CHECK: call void %fptr()
40 %fptr = load void ()*, void ()** @ptr_to_func, align 8
41 call void %fptr()
48 ; CHECK: %fptr = load void ()*, void ()** @ptr_to_func, align 8
49 ; CHECK: call void %fptr()
52 %fptr = load void ()*, void ()** @ptr_to_func, align 8
53 call void %fptr()
/llvm-project-15.0.7/llvm/test/Other/
H A Dcgscc-observe-devirt.ll23 %fptr = alloca void()*
24 store void()* @test1_b2, void()** %fptr
26 %f = load void()*, void()** %fptr
42 %fptr = alloca void()*
45 %f = load void()*, void()** %fptr
74 %fptr = alloca void()*
77 %f = load void()*, void()** %fptr
84 %fptr = alloca void()*
89 %f = load void()*, void()** %fptr
96 %fptr = alloca void()*
[all …]
/llvm-project-15.0.7/llvm/test/Instrumentation/ThreadSanitizer/
H A Datomic-non-integer.ll5 define float @load_float(float* %fptr) {
6 %v = load atomic float, float* %fptr unordered, align 4
13 define double @load_double(double* %fptr) {
14 %v = load atomic double, double* %fptr unordered, align 8
21 define fp128 @load_fp128(fp128* %fptr) {
22 %v = load atomic fp128, fp128* %fptr unordered, align 16
29 define void @store_float(float* %fptr, float %v) {
30 store atomic float %v, float* %fptr unordered, align 4
37 define void @store_double(double* %fptr, double %v) {
45 define void @store_fp128(fp128* %fptr, fp128 %v) {
[all …]
/llvm-project-15.0.7/clang/test/Headers/
H A Darm-cmse-header-ns.c8 void func(callback_t fptr, void *p) in func() argument
12 cmse_TT_fptr(fptr); in func()
13 cmse_TTT_fptr(fptr); in func()
17 cmse_TTA_fptr(fptr); in func()
18 cmse_TTAT_fptr(fptr); in func()
H A Darm-cmse-header.c9 void func(callback_t fptr, void *p) in func() argument
16 cmse_TT_fptr(fptr); in func()
17 cmse_TTT_fptr(fptr); in func()
18 cmse_TTA_fptr(fptr); in func()
19 cmse_TTAT_fptr(fptr); in func()
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-main-return-type.c36 typedef void *(*fptr)(int a); typedef
41 fptr main(void) { in main()
43 return (fptr) 0; in main()
49 return (fptr) 0; in main()
H A Darm-cmse.c9 callback_1t fptr) __attribute__((cmse_nonsecure_call)) in foo() argument
12 …callback_ns_1t fp2 = fptr; // expected-warning{{incompatible function pointer types initializing '… in foo()
13 callback_2t fp3 = fptr; in foo()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Darm-cmse-attr.c13 void f1(callback_t fptr) in f1() argument
15 fptr(); in f1()
18 void f2(callback2_t *fptr) in f2() argument
20 fptr(); in f2()
H A Dfunc-ptr-cast-decl.c6 typedef int (*fptr)(double); typedef
7 void a(void) { ((fptr)q_sk_num)(0); } in a()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_ftn_entry.h1037 int (*fptr)(); in KMP_EXPAND_NAME()
1039 return (*fptr)(); in KMP_EXPAND_NAME()
1041 return (*fptr)(); in KMP_EXPAND_NAME()
1043 return (*fptr)(); in KMP_EXPAND_NAME()
1421 int (*fptr)(kmp_pause_status_t, int); in KMP_EXPAND_NAME()
1423 return (*fptr)(kind, device_num); in KMP_EXPAND_NAME()
1437 int (*fptr)(kmp_pause_status_t, int); in KMP_EXPAND_NAME()
1552 int (*fptr)(const omp_interop_t); in FTN_GET_NUM_INTEROP_PROPERTIES()
1554 return (*fptr)(interop); in FTN_GET_NUM_INTEROP_PROPERTIES()
1595 return (*fptr)(interop, property_id); in FTN_GET_INTEROP_NAME()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/WholeProgramDevirt/
H A Dbad-read-from-vtable.ll22 %fptr = load i8*, i8** %fptrptr_casted
23 %fptr_casted = bitcast i8* %fptr to void (i8*)*
38 %fptr = load i8*, i8** %fptrptr_casted
39 %fptr_casted = bitcast i8* %fptr to void (i8*)*
54 %fptr = load i8*, i8** %fptrptr_casted
55 %fptr_casted = bitcast i8* %fptr to void (i8*)*
70 %fptr = load i8*, i8** %fptrptr_casted
71 %fptr_casted = bitcast i8* %fptr to void (i8*)*
H A Dstruct-vtable.ll22 %fptr = load i8*, i8** %fptrptr
23 %fptr_casted = bitcast i8* %fptr to void (i8*)*
37 %fptr = load i8*, i8** %fptrptr
38 %fptr_casted = bitcast i8* %fptr to void (i8*)*
53 %fptr = load i8*, i8** %fptrptr_casted
54 %fptr_casted = bitcast i8* %fptr to void (i8*)*
H A Dvcp-type-mismatch.ll31 %fptr = load i8*, i8** %fptrptr
32 %fptr_casted = bitcast i8* %fptr to i32 (i8*, i64)*
46 %fptr = load i8*, i8** %fptrptr
47 %fptr_casted = bitcast i8* %fptr to i32 (i8*, i64, i64)*
61 %fptr = load i8*, i8** %fptrptr
62 %fptr_casted = bitcast i8* %fptr to i64 (i8*, i32)*
H A Dsoa-vtable.ll26 %fptr = load i8*, i8** %fptrptr
27 %fptr_casted = bitcast i8* %fptr to void (i8*)*
41 %fptr = load i8*, i8** %fptrptr
42 %fptr_casted = bitcast i8* %fptr to void (i8*)*
/llvm-project-15.0.7/llvm/test/SafepointIRVerifier/
H A Dhidden-constant-base.ll35 %vptr = phi i8 addrspace(1)* [ %fptr, %loop ], [ undef, %entry ]
36 %fptr = freeze i8 addrspace(1)* %vptr
37 … i32 0, i32 0, i32 0, i32 0) [ "deopt"(i8 addrspace(1)* %fptr), "gc-live"(i8 addrspace(1)* %fptr) ]
38 …%fptr.relocated = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %statepoi…
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dx86-regcall-got.ll8 ;int (REGCALL *fptr) (int, int, int, int, int) = func;
10 ; return fptr(1,2,3,4,5);
13 @fptr = global ptr @__regcall3__func, align 4
24 ; CHECK-NEXT: movl fptr@GOT(%eax), %eax
34 %0 = load ptr, ptr @fptr, align 4
H A Dtail-call-win64.ll6 define void @tail_jmp_reg(i32, i32, ptr %fptr) {
7 tail call void () %fptr()
30 %fptr = load ptr, ptr @g_fptr
31 tail call void () %fptr()
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_trampoline_powerpc64.cpp10 auto fptr = __xray::XRayPatchedFunction.load(); in CallXRayPatchedFunction() local
11 if (fptr != nullptr) in CallXRayPatchedFunction()
12 (*fptr)(FuncId, Type); in CallXRayPatchedFunction()
/llvm-project-15.0.7/flang/test/Semantics/
H A Dallocate11.f90107 Type(C_FUNPTR) fptr local
142 allocate(varok, varok2(2), MOLD=fptr)
151 allocate(var[5:*], MOLD=fptr)
159 allocate(varok2(2), var2(2)[5:*], SOURCE=fptr)
H A Dc_f_pointer.f9016 call c_f_pointer(shape=[1_8], cptr=scalarC, fptr=arrayIntF) ! ok
17 call c_f_pointer(scalarC, shape=[1_8], fptr=arrayIntF) ! ok
19 call c_f_pointer(scalarC, fptr=arrayIntF, [1_8])
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dfunction-template-specialization.cpp14 void test(int *iptr, float *fptr, int diff) { in test() argument
19 fptr = next(fptr, diff); in test()
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/
H A Dthinlto_samplepgo_icp3.ll4 @fptr = external local_unnamed_addr global ptr, align 8
9 store ptr @_ZL3foov, ptr @fptr, align 8
16 %0 = load ptr, ptr @fptr, align 8
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/Inputs/
H A Dcallees-metadata.ll4 @fptr = internal unnamed_addr global i32 (i32)* @f2, align 8
8 %0 = load i32 (i32)*, i32 (i32)** @fptr, align 8
19 store i32 (i32)* @f1, i32 (i32)** @fptr, align 8
/llvm-project-15.0.7/clang/test/Analysis/
H A Dnullability.c5 void(*fptr)() = it_takes_two; in function_pointer_arity_mismatch() local
6 fptr(1); // no-crash expected-warning {{Function taking 2 arguments is called with fewer (1)}} in function_pointer_arity_mismatch()

1234567