Home
last modified time | relevance | path

Searched refs:functions (Results 1 – 25 of 1575) sorted by relevance

12345678910>>...63

/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/breakpoint/
H A DTestVSCode_setFunctionBreakpoints.py38 functions = ['twelve']
43 self.assertEquals(len(breakpoints), len(functions),
51 functions.append('thirteen')
55 self.assertEquals(len(breakpoints), len(functions),
63 functions.remove('thirteen')
67 self.assertEquals(len(breakpoints), len(functions),
83 self.assertEquals(len(breakpoints), len(functions),
94 functions = []
98 self.assertEquals(len(breakpoints), len(functions),
117 functions = ['twelve']
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dsample-overlap.test10 ; OVERLAP0: overlap functions: 4
14 ; OVERLAP0: overlap hot functions: 4
31 ; OVERLAP1: overlap functions: 4
35 ; OVERLAP1: overlap hot functions: 4
52 ; OVERLAP2: overlap functions: 4
56 ; OVERLAP2: overlap hot functions: 4
77 ; OVERLAP3: overlap functions: 2
81 ; OVERLAP3: overlap hot functions: 1
102 ; OVERLAP4: overlap functions: 4
130 ; CS: overlap functions: 8
[all …]
H A Dmultiple-inputs.test4 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3
6 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3
11 FOO3: Total functions: 1
16 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO3EMPTY
21 FOO3EMPTY: Total functions: 1
36 FOO3FOO3BAR3: Total functions: 2
51 DISJOINT: Total functions: 2
58 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO4
62 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefix=FOO4
67 FOO4: Total functions: 1
[all …]
H A Dsample-hot-func-list.test3 ; CHECK:8 out of 10 functions with profile (80.00%) are considered hot functions (max sample >…
4 ; CHECK-NEXT:355251 out of 356026 profile counts (99.78%) are from hot functions.
17 ; CS:2 out of 8 functions with profile (25.00%) are considered hot functions (max sample >= 23…
18 ; CS-NEXT:1968152 out of 1968919 profile counts (99.96%) are from hot functions.
26 ; TOPN:8 out of 10 functions with profile (80.00%) are considered hot functions (max sample >=…
27 ; TOPN-NEXT:355251 out of 356026 profile counts (99.78%) are from hot functions.
34 ; CS-TOPN:2 out of 8 functions with profile (25.00%) are considered hot functions (max sample …
35 ; CS-TOPN-NEXT:1968152 out of 1968919 profile counts (99.96%) are from hot functions.
H A Dcutoff.test5 RUN: llvm-profdata show -all-functions -value-cutoff=1 %p/Inputs/cutoff.proftext | FileCheck %s -ch…
6 RUN: llvm-profdata show -all-functions -value-cutoff=1000 %p/Inputs/cutoff.proftext | FileCheck %s …
14 BELOW1: The list of functions with the maximum counter less than 1:
16 BELOW1000:The list of functions with the maximum counter less than 1000:
19 CHECK: Total functions: 3
20 CUTOFF1: Number of functions with maximum count (< 1): 1
21 CUTOFF1: Number of functions with maximum count (>= 1): 2
22 CUTOFF1000: Number of functions with maximum count (< 1000): 2
23 CUTOFF1000: Number of functions with maximum count (>= 1000): 1
H A Dcsprof-dump.test7 ZEROSUMMARY: Total functions: 0
11 SUMMARY: Total functions: 1
15 Basic tests for context sensitive profile dump functions:
18 RUN: llvm-profdata show --all-functions -counts -showcs %p/Inputs/cs.proftext > %t-text.csdump
19 RUN: llvm-profdata show --all-functions -counts -showcs %t-combined.profdata > %t-index.csdump
22 RUN: llvm-profdata show --all-functions -counts %p/Inputs/noncs.proftext > %t-text.noncsdump
23 RUN: llvm-profdata show --all-functions -counts %t-combined.profdata > %t-index.noncsdump
/llvm-project-15.0.7/compiler-rt/lib/dfsan/scripts/
H A Dbuild-libc-list.py44 functions = []
55 functions.append(function_name)
56 return functions
76 functions = [] variable
79 functions += defined_function_list(l)
88 functions = list(set(functions)) variable
89 functions.sort()
91 for f in functions:
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Doop57-cpp.rst6 Flags use of the `C` standard library functions ``memset``, ``memcpy`` and
14 Specify extra functions to flag that act similarly to ``memset``.
17 The check will detect the following functions:
22 Specify extra functions to flag that act similarly to ``memcpy``.
25 The check will detect the following functions:
31 Specify extra functions to flag that act similarly to ``memcmp``.
34 The check will detect the following functions:
38 `OOP57-CPP. Prefer special member functions and overloaded operators to C
39 Standard Library functions
40 …cplusplus/OOP57-CPP.+Prefer+special+member+functions+and+overloaded+operators+to+C+Standard+Librar…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dsignal-handler.rst6 Finds functions registered as signal handlers that call non asynchronous-safe
7 functions. Any function that cannot be determined to be an asynchronous-safe
9 including user functions for which only the declaration is visible.
13 arguments passed to the functions (the ``signal`` call is allowed without
17 `SIG30-C. Call only asynchronous-safe functions within signal handlers
18 …ding.cert.org/confluence/display/c/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+ha…
23 Selects which set of functions is considered as asynchronous-safe
25 a minimal set that is defined in the CERT SIG30-C rule and includes functions
27 selects a larger set of functions that is listed in POSIX.1-2017 (see `this
29 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04_03>`_
[all …]
H A Dspuriously-wake-up-functions.rst1 .. title:: clang-tidy - bugprone-spuriously-wake-up-functions
3 bugprone-spuriously-wake-up-functions
25 `CON54-CPP. Wrap functions that can spuriously wake up in a loop
26 <https://wiki.sei.cmu.edu/confluence/display/cplusplus/CON54-CPP.+Wrap+functions+that+can+spuriousl…
28 `CON36-C. Wrap functions that can spuriously wake up in a loop
29 <https://wiki.sei.cmu.edu/confluence/display/c/CON36-C.+Wrap+functions+that+can+spuriously+wake+up+…
/llvm-project-15.0.7/llvm/test/Transforms/FunctionAttrs/
H A Dstats.ll19 ; CHECK: 1 function-attrs - Number of functions marked argmemonly
21 ; CHECK-NEXT: 1 function-attrs - Number of functions marked as nofree
22 ; CHECK-NEXT: 2 function-attrs - Number of functions marked as norecurse
23 ; CHECK-NEXT: 2 function-attrs - Number of functions marked as nosync
24 ; CHECK-NEXT: 2 function-attrs - Number of functions marked as nounwind
25 ; CHECK-NEXT: 1 function-attrs - Number of functions marked readonly
27 ; CHECK-NEXT: 2 function-attrs - Number of functions marked as willreturn
28 ; CHECK-NEXT: 1 function-attrs - Number of functions marked writeonly
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinline_stats.ll16 ; CHECK-BASIC-NOT: -- List of inlined functions:
18 ; CHECK-VERBOSE: -- List of inlined functions:
26 ; CHECK: All functions: 10, imported functions: 7
27 ; CHECK: inlined functions: 5 [50% of all functions]
28 ; CHECK: imported functions inlined anywhere: 4 [57.14% of imported functions]
29 ; CHECK: imported functions inlined into importing module: 3 [42.86% of imported functions], remain…
30 ; CHECK: non-imported functions inlined anywhere: 1 [33.33% of non-imported functions]
31 ; CHECK: non-imported functions inlined into importing module: 1 [33.33% of non-imported functions]
/llvm-project-15.0.7/libc/docs/
H A Dstrings.rst9 This site tracks the status of the implementation of string functions in LLVM
10 Libc. This includes a few extra functions that are not in string.h, such as
11 functions converting strings to numbers.
17 - The main source for string functions is located at:
20 - The source for string conversion functions is located at:
34 Primary memory functions
37 .. TODO(gchatelet): add details about the memory functions.
103 These functions are not in strings.h, but are still primarily string
104 functions, and are therefore tracked along with the rest of the string
105 functions.
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dspecial-member-functions.rst1 .. title:: clang-tidy - hicpp-special-member-functions
3 :http-equiv=refresh: 5;URL=../cppcoreguidelines/special-member-functions.html
5 hicpp-special-member-functions
8 … an alias for `cppcoreguidelines-special-member-functions <../cppcoreguidelines/special-member-fun…
9 Checks that special member functions have the correct signature, according to `rule 12.5.7 <http://…
/llvm-project-15.0.7/llvm/test/tools/sancov/
H A Dignorelist.test2 RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | F…
3 RUN: sancov -covered-functions -ignorelist %p/Inputs/fun_ignorelist.txt %p/Inputs/test-linux_x86_64…
4 RUN: sancov -covered-functions -blacklist %p/Inputs/fun_ignorelist.txt %p/Inputs/test-linux_x86_64 …
5 RUN: sancov -covered-functions -ignorelist %p/Inputs/src_ignorelist.txt %p/Inputs/test-linux_x86_64…
6 RUN: sancov -covered-functions -blacklist %p/Inputs/src_ignorelist.txt %p/Inputs/test-linux_x86_64 …
22 STATS: all-functions: 3
23 STATS: cov-functions: 3
27 STATS-BLIST: all-functions: 2
28 STATS-BLIST: cov-functions: 2
/llvm-project-15.0.7/llvm/test/Analysis/LazyCallGraph/
H A Dbasic.ll259 ; CHECK-NEXT: SCC with 1 functions:
263 ; CHECK-NEXT: SCC with 1 functions:
267 ; CHECK-NEXT: SCC with 1 functions:
271 ; CHECK-NEXT: SCC with 1 functions:
275 ; CHECK-NEXT: SCC with 1 functions:
279 ; CHECK-NEXT: SCC with 1 functions:
283 ; CHECK-NEXT: SCC with 1 functions:
287 ; CHECK-NEXT: SCC with 1 functions:
291 ; CHECK-NEXT: SCC with 1 functions:
295 ; CHECK-NEXT: SCC with 1 functions:
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/concurrency/
H A Dmt-unsafe.rst6 Checks for some thread-unsafe functions against a black list of
7 known-to-be-unsafe functions. Usually they access static variables without
9 The set of functions to check is specified with the `FunctionSet` option.
11 Note that using some thread-unsafe functions may be still valid in
13 however, some functions may track a state in global variables which
37 Specifies which functions in libc should be considered thread-safe,
40 `posix` means POSIX defined thread-unsafe functions. POSIX.1-2001
41 in "2.9.1 Thread-Safety" defines that all functions specified in the
43 functions.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dfunction-size.rst8 Checks for large functions based on various metrics.
15 Flag functions exceeding this number of lines. The default is `-1` (ignore
20 Flag functions exceeding this number of statements. This may differ
26 Flag functions exceeding this number of control statements. The default is
31 Flag functions that exceed a specified number of parameters. The default
42 Flag functions exceeding this number of variables declared in the body.
45 GNU Statement Expressions, and nested class inline functions are not counted.
H A Dmake-member-function-const.rst6 Finds non-static member functions that can be made ``const``
7 because the functions don't use ``this`` in a non-const way.
22 method if this method uses private data and functions in a limited number of
30 For the same reason, it does not allow to call private member functions
31 or member functions on private member variables.
33 In addition, this check ignores functions that
40 …(see `readability-convert-member-functions-to-static <../readability/convert-member-functions-to-s…
67 might find more opportunities to mark member functions ``const``.
H A Dconvert-member-functions-to-static.rst1 .. title:: clang-tidy - readability-convert-member-functions-to-static
3 readability-convert-member-functions-to-static
6 Finds non-static member functions that can be made ``static``
7 because the functions don't use ``this``.
10 might find more opportunities to mark member functions ``static``.
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Dreferences.clcpp8 // References to functions are not allowed.
16 //expected-error@-2{{references to functions are not allowed}}
23 //expected-error@-2{{references to functions are not allowed}}
27 //expected-error@-2{{references to functions are not allowed}}
32 //expected-error@-2{{references to functions are not allowed}}
36 //expected-error@-2{{references to functions are not allowed}}
43 //expected-error@-2{{pointers to functions are not allowed}}
/llvm-project-15.0.7/llvm/test/tools/llvm-symbolizer/
H A Dfunctions.s7 # RUN: llvm-symbolizer 0 --functions --obj=%t.o | FileCheck %s --check-prefix=LINKAGE
9 # RUN: llvm-symbolizer 0 --functions=linkage --obj=%t.o | FileCheck %s --check-prefix=LINKAGE
11 # RUN: llvm-symbolizer 0 --functions=short --obj=%t.o | FileCheck %s --check-prefix=SHORT
13 # RUN: llvm-symbolizer 0 --functions=none --obj=%t.o | FileCheck %s --check-prefix=NONE
18 # RUN: llvm-symbolizer 0 --functions none --obj=%t.o | FileCheck %s --check-prefixes=LINKAGE,ERR
21 # LINKAGE-NEXT: functions.cpp:2:0
24 # SHORT-NEXT: functions.cpp:2:0
27 # NONE: functions.cpp:2:0
39 .loc 1 2 0 # functions.cpp:2:0
41 .loc 1 2 20 prologue_end # functions.cpp:2:20
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Ddllexport.mm4 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
6 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
8 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
10 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
12 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
15 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
H A Ddllimport.mm4 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
6 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
8 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
10 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
12 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
15 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dattr-malloc.m4 - (id) test1 __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
5 - (int) test2 __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
13 __attribute((malloc)) id (*f)(void); // expected-warning {{attribute only applies to functions}}
14 __attribute((malloc)) bptr (*g)(void); // expected-warning {{attribute only applies to functions}}
15 __attribute((malloc)) void *(^h)(void); // expected-warning {{attribute only applies to functions}}

12345678910>>...63