| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | init-randomized-struct.c | 29 func_ptr a; 30 func_ptr b; 31 func_ptr c; 32 func_ptr d; 33 func_ptr e; 34 func_ptr f; 35 func_ptr g; 44 func_ptr a; 45 func_ptr b[3]; 46 func_ptr c; [all …]
|
| H A D | 2009-07-17-VoidParameter.c | 4 void (*func_ptr)(vt my_vt); // expected-error {{argument may not have 'void' type}} variable
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | guard_nocf.cpp | 4 void (*func_ptr)() = &target_func; variable 8 (*func_ptr)(); in nocf0() 15 (*func_ptr)(); in cf0() 24 (*func_ptr)(); in nocf1() 31 (*func_ptr)(); in nocf2() 60 (*func_ptr)(); in nocf4() 76 (*func_ptr)(); in cf2()
|
| H A D | debug-info-composite-triviality-fwd-decl.cpp | 7 struct Incomplete (*func_ptr)(void) = 0; variable
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | guard_nocf.c | 4 void (*func_ptr)(void) = &target_func; variable 8 (*func_ptr)(); in nocf0() 15 (*func_ptr)(); in cf0() 24 (*func_ptr)(); in nocf1() 31 (*func_ptr)(); in nocf2()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | cfguard-checks.ll | 13 %func_ptr = alloca i32 ()*, align 8 14 store i32 ()* @target_func, i32 ()** %func_ptr, align 8 15 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 31 %func_ptr = alloca i32 ()*, align 8 32 store i32 ()* @target_func, i32 ()** %func_ptr, align 8 33 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 54 %func_ptr = alloca i32 ()*, align 8 55 store i32 ()* @target_func, i32 ()** %func_ptr, align 8 56 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 76 %func_ptr = alloca i32 ()*, align 8 [all …]
|
| H A D | cfguard-module-flag.ll | 13 %func_ptr = alloca void ()*, align 8 14 store void ()* @target_func, void ()** %func_ptr, align 8 15 %0 = load void ()*, void ()** %func_ptr, align 8
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | cfguard-checks.ll | 14 %func_ptr = alloca i32 ()*, align 8 16 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 37 %func_ptr = alloca i32 ()*, align 8 39 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 65 %func_ptr = alloca i32 ()*, align 8 67 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 90 %func_ptr = alloca i32 ()*, align 8 92 %1 = load i32 ()*, i32 ()** %func_ptr, align 8 158 %func_ptr = alloca i32 ()*, align 8 186 %func_ptr = alloca i32 ()*, align 8 [all …]
|
| H A D | cfguard-module-flag.ll | 14 %func_ptr = alloca ptr, align 8 15 store ptr @target_func, ptr %func_ptr, align 8 16 %0 = load ptr, ptr %func_ptr, align 8
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | cfguard-checks.ll | 13 %func_ptr = alloca i32 ()*, align 8 14 store i32 ()* @target_func, i32 ()** %func_ptr, align 8 15 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 32 %func_ptr = alloca i32 ()*, align 8 33 store i32 ()* @target_func, i32 ()** %func_ptr, align 8 34 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 57 %func_ptr = alloca i32 ()*, align 8 58 store i32 ()* @target_func, i32 ()** %func_ptr, align 8 59 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 80 %func_ptr = alloca i32 ()*, align 8 [all …]
|
| H A D | cfguard-module-flag.ll | 13 %func_ptr = alloca void ()*, align 8 14 store void ()* @target_func, void ()** %func_ptr, align 8 15 %0 = load void ()*, void ()** %func_ptr, align 8
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_locations/ |
| H A D | main.c | 29 int (*func_ptr) (void); in main() local 30 func_ptr = func_inlined; in main() 37 func_ptr (); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | misplaced-const.c | 7 typedef void (*func_ptr)(void); typedef 43 void func3(const func_ptr fp) { in func3() 44 const func_ptr fp2 = fp; in func3()
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/inlines/ |
| H A D | inlines.cpp | 43 int (*func_ptr) (int); in main() local 44 func_ptr = outer_inline; in main() 48 func_ptr (argc); in main()
|
| /llvm-project-15.0.7/lldb/test/API/python_api/frame/inlines/ |
| H A D | inlines.c | 43 int (*func_ptr) (int); in main() local 44 func_ptr = outer_inline; in main() 48 func_ptr (argc); // This should correspond to the second break stop. in main()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WinCFGuard/ |
| H A D | cfguard-giats.ll | 16 %func_ptr = alloca i32 ()*, align 8 17 store i32 ()* @target_func1, i32 ()** %func_ptr, align 8 18 %0 = load i32 ()*, i32 ()** %func_ptr, align 8 25 store i32 ()* @target_func3, i32 ()** %func_ptr, align 8 26 %4 = load i32 ()*, i32 ()** %func_ptr, align 8
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.invoke/ |
| H A D | invoke_constexpr.pass.cpp | 87 ClassFunc func_ptr = &TestClass::operator(); in test_b12() local 94 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)) in test_b12() 105 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)); in test_b12() 113 ClassFunc func_ptr = &TestClass::data; in test_b34() local 117 std::invoke(func_ptr, std::forward<Functor>(f)) in test_b34() 128 std::invoke(func_ptr, std::forward<Functor>(f)); in test_b34()
|
| H A D | invoke.pass.cpp | 90 ClassFunc func_ptr = &TestClass::operator(); in test_b12() local 97 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)) in test_b12() 108 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)); in test_b12() 116 ClassFunc func_ptr = &TestClass::data; in test_b34() local 120 std::invoke(func_ptr, std::forward<Functor>(f)) in test_b34() 131 std::invoke(func_ptr, std::forward<Functor>(f)); in test_b34()
|
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/ |
| H A D | icp_vararg_sret.ll | 11 @func_ptr = common global ptr null, align 8 23 %tmp = load ptr, ptr @func_ptr, align 8
|
| /llvm-project-15.0.7/llvm/test/Transforms/Coroutines/ |
| H A D | coro-async-addr-lifetime-start-bug.ll | 57 %resume.func_ptr = call i8* @llvm.coro.async.resume() 58 call void @store_resume(i8* %resume.func_ptr) 62 i8* %resume.func_ptr, 77 i8* %resume.func_ptr,
|
| H A D | coro-async.ll | 91 %resume.func_ptr = call i8* @llvm.coro.async.resume() 92 store i8* %resume.func_ptr, i8** %return_to_caller.addr 219 %resume.func_ptr = call i8* @llvm.coro.async.resume() 220 store i8* %resume.func_ptr, i8** %return_to_caller.addr 238 %resume.func_ptr.1 = call i8* @llvm.coro.async.resume() 339 %resume.func_ptr = call i8* @llvm.coro.async.resume() 340 store i8* %resume.func_ptr, i8** %return_to_caller.addr 385 %resume.func_ptr = call i8* @llvm.coro.async.resume() 386 store i8* %resume.func_ptr, i8** %return_to_caller.addr 456 %resume.func_ptr = call i8* @llvm.coro.async.resume() [all …]
|
| H A D | coro-async-addr-lifetime-infinite-loop-bug.ll | 64 %resume.func_ptr = call i8* @llvm.coro.async.resume() 65 call void @store_resume(i8* %resume.func_ptr) 69 i8* %resume.func_ptr,
|
| H A D | coro-async-dyn-align.ll | 84 %resume.func_ptr = call i8* @llvm.coro.async.resume() 85 store i8* %resume.func_ptr, i8** %return_to_caller.addr 90 i8* %resume.func_ptr,
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | inner-pointer.cpp | 357 void (*func_ptr)(std::string &) = std::func_ref<std::string>; in func_ptr_known() local 359 …func_ptr(s); // expected-note {{Inner buffer of 'std::string' reallocated by call to 'func_ref'}} in func_ptr_known() 364 void func_ptr_unknown(void (*func_ptr)(std::string &)) { in func_ptr_unknown() 368 func_ptr(s); in func_ptr_unknown()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SPARC/ |
| H A D | tailcall.ll | 73 define i32 @func_ptr_test(i32 ()* nocapture %func_ptr) #0 { 79 %call = tail call i32 %func_ptr() #1 83 define i32 @func_ptr_test2(i32 (i32, i32, i32)* nocapture %func_ptr, 94 %call = tail call i32 %func_ptr(i32 %r, i32 10, i32 %q) #1
|