Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 3768) sorted by relevance

12345678910>>...151

/llvm-project-15.0.7/llvm/test/tools/llvm-xray/X86/Inputs/
H A Dsimple-instrmap.yaml4 - { id: 1, address: 0x1, function: 0x1, kind: function-enter, always-instrument: true}
5 - { id: 1, address: 0x2, function: 0x1, kind: function-exit, always-instrument: true}
6 - { id: 2, address: 0x2, function: 0x2, kind: function-enter, always-instrument: true}
7 - { id: 2, address: 0x3, function: 0x2, kind: function-exit, always-instrument: true}
8 - { id: 3, address: 0x3, function: 0x3, kind: function-enter, always-instrument: true}
9 - { id: 3, address: 0x4, function: 0x3, kind: function-exit, always-instrument: true}
10 - { id: 4, address: 0x4, function: 0x4, kind: function-enter, always-instrument: true}
11 - { id: 4, address: 0x5, function: 0x4, kind: function-exit, always-instrument: true}
12 - { id: 5, address: 0x5, function: 0x5, kind: function-enter, always-instrument: true}
13 - { id: 5, address: 0x6, function: 0x5, kind: function-exit, always-instrument: true}
[all …]
H A Dgraph-diff-B.yaml9 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 }
10 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10090 }
11 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 }
12 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10180 }
13 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10200 }
14 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10270 }
15 - { type: 0, func-id: 4, cpu: 1, thread: 111, kind: function-enter, tsc: 10300 }
16 - { type: 0, func-id: 4, cpu: 1, thread: 111, kind: function-exit, tsc: 10360 }
17 - { type: 0, func-id: 5, cpu: 1, thread: 111, kind: function-enter, tsc: 10400 }
18 - { type: 0, func-id: 5, cpu: 1, thread: 111, kind: function-exit, tsc: 10450 }
[all …]
H A Dgraph-diff-A.yaml9 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 }
10 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10010 }
11 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 }
12 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10120 }
13 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10200 }
14 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10230 }
15 - { type: 0, func-id: 4, cpu: 1, thread: 111, kind: function-enter, tsc: 10300 }
16 - { type: 0, func-id: 4, cpu: 1, thread: 111, kind: function-exit, tsc: 10340 }
17 - { type: 0, func-id: 5, cpu: 1, thread: 111, kind: function-enter, tsc: 10400 }
18 - { type: 0, func-id: 5, cpu: 1, thread: 111, kind: function-exit, tsc: 10450 }
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/
H A Dnoncopyable_return_type.pass.cpp47 std::function<NonCopyable()> f3a = LargeLambda(); in test()
48 std::function<NonCopyable()> f4a = std::ref(f1a); in test()
51 std::function<NonCopyable(int)> f3b = LargeLambda(); in test()
52 std::function<NonCopyable(int)> f4b = std::ref(f1b); in test()
81 std::function<void()> f3a = LargeLambda(); in void_test()
82 std::function<void()> f4a = std::ref(f1a); in void_test()
85 std::function<void(int)> f3b = LargeLambda(); in void_test()
86 std::function<void(int)> f4b = std::ref(f1b); in void_test()
93 std::function<const void()> f3a = LargeLambda(); in const_void_test()
94 std::function<const void()> f4a = std::ref(f1a); in const_void_test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Ddeduct_ptr.pass.cpp36 std::function a = f0; in main()
39 std::function b = &f0; in main()
43 std::function c{f0}; in main()
46 std::function d{&f0}; in main()
51 std::function a = f1; in main()
58 std::function c{f1}; in main()
61 std::function d{&f1}; in main()
66 std::function a = f2; in main()
73 std::function c{f2}; in main()
88 std::function c{f3}; in main()
[all …]
H A Ddeduct_F.pass.cpp56 std::function g0 = f0_##N{}; \ in main()
57 ASSERT_SAME_TYPE(decltype(g0), std::function<R()>); \ in main()
59 std::function g1 = f1_##N{}; \ in main()
60 ASSERT_SAME_TYPE(decltype(g1), std::function<R(A1)>); \ in main()
62 std::function g2 = f2_##N{}; \ in main()
63 ASSERT_SAME_TYPE(decltype(g2), std::function<R(A1, A2)>); \ in main()
65 std::function g3 = f3_##N{}; \ in main()
66 ASSERT_SAME_TYPE(decltype(g3), std::function<R(A1, A2, A3)>); \ in main()
69 std::function g4{f0_##N{}}; \ in main()
70 ASSERT_SAME_TYPE(decltype(g4), std::function<R()>); \ in main()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/AArch64/
H A Dextract-instrmap.test9 … CHECK-NEXT: - { id: 1, address: 0x420, function: 0x420, kind: function-enter, always-instrument: …
10 # CHECK-NEXT: - { id: 1, address: 0x440, function: 0x420, kind: function-exit, always-instrument: t…
11 … CHECK-NEXT: - { id: 2, address: 0x464, function: 0x464, kind: function-enter, always-instrument: …
12 # CHECK-NEXT: - { id: 2, address: 0x484, function: 0x464, kind: function-exit, always-instrument: t…
13 … CHECK-NEXT: - { id: 3, address: 0x4A8, function: 0x4A8, kind: function-enter, always-instrument: …
14 # CHECK-NEXT: - { id: 3, address: 0x4C8, function: 0x4A8, kind: function-exit, always-instrument: t…
21 …ANGLED-NEXT: - { id: 1, address: 0x420, function: 0x420, kind: function-enter, always-instrument: …
22 …MANGLED-NEXT: - { id: 1, address: 0x440, function: 0x420, kind: function-exit, always-instrument: …
23 …ANGLED-NEXT: - { id: 2, address: 0x464, function: 0x464, kind: function-enter, always-instrument: …
24 …MANGLED-NEXT: - { id: 2, address: 0x484, function: 0x464, kind: function-exit, always-instrument: …
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_printer.cpp23 if (!function) return nullptr; in StripFunctionName()
24 if (!prefix) return function; in StripFunctionName()
27 return function + prefix_len; in StripFunctionName()
28 return function; in StripFunctionName()
32 if (!function) return nullptr; in DemangleFunctionName()
38 if (!internal_strcmp(function, "__libc_mutex_init")) in DemangleFunctionName()
40 if (!internal_strcmp(function, "__libc_mutex_lock")) in DemangleFunctionName()
54 if (!internal_strcmp(function, "__libc_cond_init")) in DemangleFunctionName()
60 if (!internal_strcmp(function, "__libc_cond_wait")) in DemangleFunctionName()
104 return function; in DemangleFunctionName()
[all …]
/llvm-project-15.0.7/flang/module/
H A Domp_lib.h141 end function omp_get_num_procs
146 end function omp_in_parallel
156 end function omp_get_dynamic
171 end function omp_get_nested
206 end function omp_get_level
218 end function omp_get_team_size
228 end function omp_in_final
318 end function omp_get_team_num
379 end function omp_test_lock
416 end function omp_get_wtime
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/X86/
H A Dconvert-fdr-to-yaml.txt11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 5, thread: 5, kind: function-enter, ts…
12 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 5, thread: 5, kind: function-exit, tsc…
13 ; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 5, thread: 5, kind: function-enter, ts…
14 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 5, thread: 5, kind: function-enter, ts…
15 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 5, thread: 5, kind: function-exit, tsc…
16 ; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 5, thread: 5, kind: function-exit, tsc…
17 ; CHECK-NEXT: - { type: 0, func-id: 4, function: '4', cpu: 5, thread: 5, kind: function-enter, ts…
18 ; CHECK-NEXT: - { type: 0, func-id: 5, function: '5', cpu: 5, thread: 5, kind: function-enter, ts…
19 ; CHECK-NEXT: - { type: 0, func-id: 5, function: '5', cpu: 5, thread: 5, kind: function-tail-exit…
22 ; CHECK-NEXT: - { type: 0, func-id: 6, function: '6', cpu: 6, thread: 5, kind: function-enter, ts…
[all …]
H A Dconvert-with-debug-syms.txt12 ; CHECK-NEXT: - { type: 0, func-id: 3, function: main, cpu: 37, thread: 84697, kind: function-ent…
13 ; CHECK-NEXT: - { type: 0, func-id: 2, function: {{.*foo.*}}, cpu: 37, thread: 84697, kind: funct…
14 ; CHECK-NEXT: - { type: 0, func-id: 2, function: {{.*foo.*}}, cpu: 37, thread: 84697, kind: funct…
15 ; CHECK-NEXT: - { type: 0, func-id: 1, function: {{.*bar.*}}, cpu: 37, thread: 84697, kind: funct…
16 ; CHECK-NEXT: - { type: 0, func-id: 1, function: {{.*bar.*}}, cpu: 37, thread: 84697, kind: funct…
17 ; CHECK-NEXT: - { type: 0, func-id: 3, function: main, cpu: 37, thread: 84697, kind: function-exi…
30 ; MANGLED-NEXT: - { type: 0, func-id: 3, function: main, cpu: 37, thread: 84697, kind: function-e…
31 ; MANGLED-NEXT: - { type: 0, func-id: 2, function: _Z3foov, cpu: 37, thread: 84697, kind: functio…
32 ; MANGLED-NEXT: - { type: 0, func-id: 2, function: _Z3foov, cpu: 37, thread: 84697, kind: functio…
34 ; MANGLED-NEXT: - { type: 0, func-id: 1, function: _Z3barv, cpu: 37, thread: 84697, kind: functio…
[all …]
H A Dstack-multithread.yaml12 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }
13 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 }
14 - { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10101 }
37 # PER-THREAD: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
45 # PER-THREAD: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
51 # AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
57 # AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
62 # AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
70 # AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
76 # AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
[all …]
H A Dconvert-basic-log-version3-to-yaml.txt11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 7, thread: 25518, process: 25518, kind…
12 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 7, thread: 25518, process: 25518, kind…
13 ; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 7, thread: 25518, process: 25518, kind…
14 ; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 7, thread: 25518, process: 25518, kind…
15 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 7, thread: 25518, process: 25518, kind…
16 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 7, thread: 25518, process: 25518, kind…
17 ; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 7, thread: 25518, process: 25518, kind…
18 ; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 7, thread: 25518, process: 25518, kind…
H A Dextract-instrmap-symbolize.ll2 ; function addresses.
6 …CK-NEXT: - { id: 1, address: 0x41C900, function: 0x41C900, kind: function-enter, always-instrument…
7 …CK-NEXT: - { id: 1, address: 0x41C912, function: 0x41C900, kind: function-exit, always-instrument:…
8 …CK-NEXT: - { id: 2, address: 0x41C930, function: 0x41C930, kind: function-enter, always-instrument…
9 …CK-NEXT: - { id: 2, address: 0x41C946, function: 0x41C930, kind: function-exit, always-instrument:…
/llvm-project-15.0.7/clang/test/Parser/
H A Dpragma-attribute.cpp3 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = function)
5 void function();
93 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( function, function
94 …ibute push(__attribute__((annotate("test"))), apply_to = any( function, function, function )) // e…
95 …tribute push(__attribute__((annotate("test"))), apply_to = any( function, enum, function )) // exp…
126 #pragma clang attribute push (__attribute__((objc_bridge_related)), apply_to=function)
148 #pragma clang attribute push ([[noreturn]], apply_to = any(function))
151 #pragma clang attribute push ([[clang::disable_tail_calls]], apply_to = function)
154 #pragma clang attribute push ([[gnu::abi_tag]], apply_to=any(function))
163 #pragma clang attribute push ([[]], apply_to = function) // A noop
[all …]
H A Dskip-function-bodies.mm1 #include "skip-function-bodies.h"
31 // CHECK: skip-function-bodies.mm:3:7: ClassDecl=A:3:7 (Definition) Extent=[3:1 - 14:2]
32 // CHECK: skip-function-bodies.mm:4:9: ClassDecl=B:4:9 (Definition) Extent=[4:3 - 4:13]
33 // CHECK: skip-function-bodies.mm:6:1: CXXAccessSpecifier=:6:1 (Definition) Extent=[6:1 - 6:8]
35 // CHECK-NOT: skip-function-bodies.mm:8:12: StructDecl=C:8:12 (Definition) Extent=[8:5 - 10:6]
36 // CHECK-NOT: skip-function-bodies.mm:9:12: CXXMethod=d:9:12 (Definition) Extent=[9:7 - 9:18]
38 // CHECK: skip-function-bodies.mm:13:11: TypeRef=class A::B:4:9 Extent=[13:11 - 13:12]
39 // CHECK: skip-function-bodies.mm:16:12: ObjCInterfaceDecl=F:16:12 Extent=[16:1 - 18:5]
44 // CHECK-NOT: skip-function-bodies.mm:21:11: TypeRef=class A:3:7 Extent=[21:11 - 21:12]
45 // CHECK: skip-function-bodies.mm:26:6: FunctionDecl=J:26:6 Extent=[26:1 - 26:9]
[all …]
/llvm-project-15.0.7/openmp/runtime/src/include/
H A Domp_lib.f90.var218 end function omp_in_final
248 end function omp_get_level
319 end function omp_get_wtime
324 end function omp_get_wtick
433 end function omp_test_lock
676 end function omp_alloc
692 end function omp_calloc
710 end function omp_realloc
839 end function kmp_malloc
853 end function kmp_calloc
[all …]
/llvm-project-15.0.7/compiler-rt/lib/builtins/riscv/
H A Drestore.S26 .type __riscv_restore_12,@function
33 .type __riscv_restore_11,@function
35 .type __riscv_restore_10,@function
37 .type __riscv_restore_9,@function
39 .type __riscv_restore_8,@function
52 .type __riscv_restore_7,@function
54 .type __riscv_restore_6,@function
56 .type __riscv_restore_5,@function
58 .type __riscv_restore_4,@function
71 .type __riscv_restore_3,@function
[all …]
H A Dsave.S22 .type __riscv_save_12,@function
30 .type __riscv_save_11,@function
32 .type __riscv_save_10,@function
34 .type __riscv_save_9,@function
36 .type __riscv_save_8,@function
51 .type __riscv_save_7,@function
53 .type __riscv_save_6,@function
55 .type __riscv_save_5,@function
57 .type __riscv_save_4,@function
77 .type __riscv_save_3,@function
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Passes/
H A DPassBuilder.h519 const std::function<void(CGSCCAnalysisManager &)> &C) { in registerAnalysisRegistrationCallback()
523 const std::function<void(FunctionAnalysisManager &)> &C) { in registerAnalysisRegistrationCallback()
527 const std::function<void(LoopAnalysisManager &)> &C) { in registerAnalysisRegistrationCallback()
531 const std::function<void(ModuleAnalysisManager &)> &C) { in registerAnalysisRegistrationCallback()
644 SmallVector<std::function<void(ModuleAnalysisManager &)>, 2>
646 SmallVector<std::function<bool(StringRef, ModulePassManager &,
654 SmallVector<std::function<void(CGSCCAnalysisManager &)>, 2>
656 SmallVector<std::function<bool(StringRef, CGSCCPassManager &,
661 SmallVector<std::function<void(FunctionAnalysisManager &)>, 2>
668 SmallVector<std::function<void(LoopAnalysisManager &)>, 2>
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/ARM/
H A Dextract-instrmap.test132 …CHECK-NEXT: - { id: 1, address: 0x12B0, function: 0x12B0, kind: function-enter, always-instrument:…
133 …CHECK-NEXT: - { id: 1, address: 0x12CC, function: 0x12B0, kind: function-exit, always-instrument: …
134 …CHECK-NEXT: - { id: 2, address: 0x12EC, function: 0x12EC, kind: function-enter, always-instrument:…
135 …CHECK-NEXT: - { id: 2, address: 0x1308, function: 0x12EC, kind: function-exit, always-instrument: …
136 …CHECK-NEXT: - { id: 3, address: 0x1328, function: 0x1328, kind: function-enter, always-instrument:…
137 …CHECK-NEXT: - { id: 3, address: 0x1344, function: 0x1328, kind: function-exit, always-instrument: …
143 …NGLED-NEXT: - { id: 1, address: 0x12B0, function: 0x12B0, kind: function-enter, always-instrument:…
144 …NGLED-NEXT: - { id: 1, address: 0x12CC, function: 0x12B0, kind: function-exit, always-instrument: …
145 …NGLED-NEXT: - { id: 2, address: 0x12EC, function: 0x12EC, kind: function-enter, always-instrument:…
146 …NGLED-NEXT: - { id: 2, address: 0x1308, function: 0x12EC, kind: function-exit, always-instrument: …
[all …]
/llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-function.cpp28 class function<R (Args...)> { class
31 function() : invoker (0) { } in function() function in function
32 function(const function& other) : invoker(0) { in function() function in function
41 ~function() { in ~function()
46 function& operator=(const function& other) { in operator =()
47 function(other).swap(*this); in operator =()
52 function& operator=(const F& f) { in operator =()
53 function(f).swap(*this); in operator =()
57 void swap(function& other) { in swap()
79 function<int(int, int)> f2a; in test_function()
[all …]
/llvm-project-15.0.7/llvm/bindings/ocaml/transforms/scalar_opts/
H A Dllvm_scalar_opts.mli14 (** See the [llvm::createAggressiveDCEPass] function. *)
19 (** See the [llvm::createDCEPass] function. *)
39 (** See [llvm::createScalarizerPass] function. *)
49 (** See the [llvm::createGVNPass] function. *)
69 (** See the [llvm::createLICMPass] function. *)
79 (** See the [llvm::createLoopIdiomPass] function. *)
129 (** See the [llvm::createSCCPPass] function. *)
134 (** See the [llvm::createSROAPass] function. *)
139 (** See the [llvm::createSROAPass] function. *)
144 (** See the [llvm::createSROAPass] function. *)
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
H A Dinvoke.pass.cpp56 std::function<int ()> r1(f_int_0); in test_int_0()
62 std::function<int ()> r1(fp); in test_int_0()
68 std::function<int ()> r1(a0); in test_int_0()
92 std::function<void ()> r1(f_void_0); in test_void_0()
100 std::function<void ()> r1(fp); in test_void_0()
108 std::function<void ()> r1(a0); in test_void_0()
148 std::function<void (int)> r1(fp); in test_void_1()
157 std::function<void (int)> r1(a0); in test_void_1()
225 std::function<int (int)> r1(fp); in test_int_1()
232 std::function<int (int)> r1(a0); in test_int_1()
[all …]
/llvm-project-15.0.7/llvm/test/Verifier/
H A Dinvalid-patchable-function-entry.ll3 ; CHECK: "patchable-function-entry" takes an unsigned integer:
4 ; CHECK: "patchable-function-entry" takes an unsigned integer: a
5 ; CHECK: "patchable-function-entry" takes an unsigned integer: -1
6 ; CHECK: "patchable-function-entry" takes an unsigned integer: 3,
8 define void @f() "patchable-function-entry" { ret void }
9 define void @fa() "patchable-function-entry"="a" { ret void }
10 define void @f_1() "patchable-function-entry"="-1" { ret void }
13 ; CHECK: "patchable-function-prefix" takes an unsigned integer:
14 ; CHECK: "patchable-function-prefix" takes an unsigned integer: a
18 define void @g() "patchable-function-prefix" { ret void }
[all …]

12345678910>>...151