| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | replace-lds-by-ptr-indirect-call-selected_functions.ll | 87 ; CHECK: %fptr1 = load void (float)*, void (float)** @ptr_to_func1, align 8 89 ; CHECK: call void %fptr1(float 2.000000e+00) 93 %fptr1 = load void (float)*, void (float)** @ptr_to_func1, align 8 95 call void %fptr1(float 2.0) 140 ; CHECK: %fptr1 = load void (float)*, void (float)** @ptr_to_func1, align 8 142 ; CHECK: call void %fptr1(float 5.000000e+00) 146 %fptr1 = load void (float)*, void (float)** @ptr_to_func1, align 8 148 call void %fptr1(float 5.0)
|
| H A D | replace-lds-by-ptr-indirect-call-signature-match.ll | 87 ; CHECK: %fptr1 = load void (i16)*, void (i16)** @ptr_to_func1, align 8 88 ; CHECK: call void %fptr1(i16 6) 91 %fptr1 = load void (i16)*, void (i16)** @ptr_to_func1, align 8 92 call void %fptr1(i16 6)
|
| /llvm-project-15.0.7/llvm/test/ThinLTO/X86/ |
| H A D | devirt_check.ll | 53 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 57 ; TRAP: %.not = icmp eq ptr %fptr1, @_ZN1A1nEi 69 ; FALLBACK: %0 = icmp eq ptr %fptr1, @_ZN1A1nEi 78 ; FALLBACK: tail call i32 %fptr1 85 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a), !prof !6, !callees !7
|
| H A D | devirt_local_same_guid.ll | 55 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 58 ; CHECK-IR1: %call = tail call i32 %fptr1 59 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_promote_legacy.ll | 40 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 44 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_vcall_vis_public.ll | 167 %fptr1 = load ptr, ptr %fptrptr, align 8 171 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 172 %call = tail call i32 %fptr1(ptr nonnull %obj, i32 %a) 203 %fptr1 = load ptr, ptr %fptrptr, align 8 207 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 208 %call = tail call i32 %fptr1(ptr nonnull %obj, i32 %a)
|
| H A D | devirt_pure_virtual_base.ll | 79 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 83 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 84 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_promote.ll | 58 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 62 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_external_comdat_same_guid.ll | 69 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 73 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_vcall_vis_hidden.ll | 84 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 88 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt.ll | 113 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 120 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a), !prof !5, !callees !6
|
| /llvm-project-15.0.7/llvm/test/Transforms/LowerTypeTests/ |
| H A D | cfi-direct-call1.ll | 28 %fptr1 = select i1 %cmp.i, i32 ()* @local_func1, i32 ()* @local_func2 30 %0 = bitcast i32 ()* %fptr1 to i8* 33 %call2 = tail call i32 %fptr1() 58 ; FULL: %fptr1 = select i1 %cmp.i, i32 ()* @local_func1, i32 ()* @local_func2 84 ; THIN: %fptr1 = select i1 %cmp.i, i32 ()* @local_func1, i32 ()* @local_func2
|
| H A D | drop_type_test_phi.ll | 28 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 29 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | cxx1z-class-template-argument-deduction.cpp | 588 template<class T> using fptr1 = void (*) (T); typedef 589 template<class T> using fptr2 = fptr1<fptr1<T>>; 591 template<class T> void foo0(fptr1<T>) { in foo0() 597 template<class T> void foo1(fptr1<const T *>) { in foo1() 606 void bar2(fptr1<const char * __restrict>); 609 template<class T> void foo3(fptr1<const T *>) {} in foo3() 616 void bar4(fptr1<char * __restrict>);
|
| /llvm-project-15.0.7/llvm/test/Transforms/WholeProgramDevirt/ |
| H A D | import-no-dominating-assume.ll | 17 %fptr1 = load i8*, i8** %fptrptr1 18 %fptr1_casted = bitcast i8* %fptr1 to i32 (i8*, i32)*
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-type.cpp | 17 X<float*>::typeof_expr &fptr1 = fptr0; variable
|
| /llvm-project-15.0.7/lld/test/ELF/lto/ |
| H A D | devirt_vcall_vis_shared_def.ll | 70 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 74 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 75 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_vcall_vis_localize.ll | 40 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 44 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_vcall_vis_public.ll | 75 %fptr1 = load ptr, ptr %fptrptr, align 8 79 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 80 %call = tail call i32 %fptr1(ptr nonnull %obj, i32 %a)
|
| H A D | devirt_vcall_vis_export_dynamic.ll | 143 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 148 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 149 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| /llvm-project-15.0.7/llvm/test/tools/gold/X86/ |
| H A D | devirt_vcall_vis_shared_def.ll | 90 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 94 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 95 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_vcall_vis_public.ll | 87 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 91 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 92 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| H A D | devirt_vcall_vis_export_dynamic.ll | 129 %fptr1 = load i32 (%struct.A*, i32)*, i32 (%struct.A*, i32)** %2, align 8 133 ; CHECK-NODEVIRT-IR: %call = tail call i32 %fptr1 134 %call = tail call i32 %fptr1(%struct.A* nonnull %obj, i32 %a)
|
| /llvm-project-15.0.7/clang/test/CXX/except/except.spec/ |
| H A D | p1.cpp | 39 void (*fptr1)() noexcept; variable
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | opaque-ptr.ll | 10 ; CHECK: @fptr1 = external global ptr 13 @fptr1 = external global ptr ()*
|