/llvm-project/llvm/test/tools/llvm-profdata/ |
H A D | sample-overlap.test | 10 ; OVERLAP0: overlap functions: 4 11 ; OVERLAP0: functions unique in base profile: 0 12 ; OVERLAP0: functions unique in test profile: 0 14 ; OVERLAP0: overlap hot functions: 4 15 ; OVERLAP0: hot functions unique in base profile: 0 16 ; OVERLAP0: hot functions unique in test profile: 0 31 ; OVERLAP1: overlap functions: 4 32 ; OVERLAP1: functions unique in base profile: 0 33 ; OVERLAP1: functions unique in test profile: 0 35 ; OVERLAP1: overlap hot functions: 4 [all …]
|
H A D | multiple-inputs.test | 4 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 26 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefixes=FOO3FOO3BAR3,FOO3… 27 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefixes=FOO3FOO3BAR3,FOO3… 36 FOO3FOO3BAR3: Total functions: 2 41 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefixes=DISJOINT,DISJOINT… 42 RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s --check-prefixes=DISJOINT,DISJOINT… [all …]
|
H A D | cutoff.test | 5 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 … 10 CUTOFF1FUNC: Functions shown: 2 13 CUTOFF1000FUNC: Functions shown: 1 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 [all …]
|
/llvm-project/clang/test/CodeGen/ |
H A D | packed-structure.c | 3 // RUN: FileCheck --check-prefix=CHECK-FUNCTIONS < %t %s 19 // CHECK-FUNCTIONS-LABEL: define{{.*}} i32 @s0_load_x 20 // CHECK-FUNCTIONS: [[s0_load_x:%.*]] = load i32, ptr {{.*}}, align 4 21 // CHECK-FUNCTIONS: ret i32 [[s0_load_x]] 27 // CHECK-FUNCTIONS-LABEL: define{{.*}} i32 @s0_load_y 28 // CHECK-FUNCTIONS: [[s0_load_y:%.*]] = load i32, ptr {{.*}}, align 4 29 // CHECK-FUNCTIONS: ret i32 [[s0_load_y]] 31 // CHECK-FUNCTIONS-LABEL: define{{.*}} void @s0_copy 32 // CHECK-FUNCTIONS: call void @llvm.memcpy.p0.p0.i64(ptr align 4 {{.*}}, ptr align 4 {{.*}}, i64 8, i1 false) 49 // CHECK-FUNCTIONS [all...] |
/llvm-project/lldb/test/API/tools/lldb-dap/breakpoint/ |
H A D | TestDAP_setFunctionBreakpoints.py | 34 functions = ["twelve"] 36 response = self.dap_server.request_setFunctionBreakpoints(functions) 41 len(functions), 42 "expect %u source breakpoints" % (len(functions)), 49 functions.append("thirteen") 50 response = self.dap_server.request_setFunctionBreakpoints(functions) 55 len(functions), 56 "expect %u source breakpoints" % (len(functions)), 63 functions.remove("thirteen") 64 response = self.dap_server.request_setFunctionBreakpoints(functions) [all …]
|
/llvm-project/clang/test/Driver/ |
H A D | fsplit-machine-functions.c | 1 // RUN: %clang -### --target=x86_64 -fprofile-use=default.profdata -fsplit-machine-functions %s 2>&… 2 // RUN: %clang -### --target=aarch64 -fprofile-use=default.profdata -fsplit-machine-functions %s 2>… 3 …et=x86_64 -fprofile-use=default.profdata -fsplit-machine-functions -fno-split-machine-functions %s… 5 // CHECK: "-fsplit-machine-functions" 8 // NEG-NOT: "-fsplit-machine-functions" 10 // RUN: %clang -### --target=x86_64-linux -flto -fsplit-machine-functions %s 2>&1 | FileCheck %s --… 11 … %clang -### --target=x86_64-linux -flto -fsplit-machine-functions -fno-split-machine-functions %s… 13 // LTO: "-plugin-opt=-split-machine-functions" 14 // LTO-NEG-NOT: "-plugin-opt=-split-machine-functions" 16 // RUN: not %clang -### -c --target=arm-unknown-linux -fsplit-machine-functions %s 2>&1 | FileCheck… [all …]
|
H A D | finline.c | 1 /// -fno-inline overrides -finline-functions/-finline-hint-functions. 2 // RUN: %clang -### -c --target=x86_64-apple-darwin10 -O2 -fno-inline -fno-inline-functions %s 2>&1… 3 // RUN: %clang -### -c --target=x86_64 -O2 -finline -fno-inline -finline-functions %s 2>&1 | FileCh… 4 // NOINLINE-NOT: "-finline-functions" 6 // NOINLINE-NOT: "-finline-functions" 8 /// -finline overrides -finline-functions. 9 // RUN: %clang -### -c --target=x86_64 -O2 -fno-inline -finline -finline-functions %s 2>&1 | FileCh… 10 // INLINE-NOT: "-finline-functions" 14 …clang -### -c --target=aarch64 -O2 -finline-functions %s 2>&1 | FileCheck %s --check-prefix=INLINE… 15 // INLINE-FUNCTIONS: "-finline-functions"
|
H A D | no-knr-functions.c | 3 // RUN: not %clang -fno-no-knr-functions -x c++ %s 2>&1 | FileCheck --check-prefixes=NONO %s 4 // RUN: not %clang -fno-no-knr-functions -x c %s 2>&1 | FileCheck --check-prefixes=NONO %s 5 // RUN: not %clang -fno-no-knr-functions -std=c89 -x c %s 2>&1 | FileCheck --check-prefixes=NONO %s 6 // RUN: not %clang -fknr-functions -x c++ %s 2>&1 | FileCheck --check-prefixes=POS %s 7 // RUN: not %clang -fknr-functions -x c %s 2>&1 | FileCheck --check-prefixes=POS %s 8 // RUN: not %clang -fknr-functions -std=c89 -x c %s 2>&1 | FileCheck --check-prefixes=POS %s 11 // RUN: %clang -fno-knr-functions -### %s 2>&1 | FileCheck --check-prefixes=ACCEPTED %s 13 // NONO: error: unknown argument: '-fno-no-knr-functions' 14 // POS: error: unknown argument: '-fknr-functions' 15 // ACCEPTED-NOT: warning: argument unused during compilation: '-fno-knr-functions'
|
/llvm-project/mlir/docs/ |
H A D | ShapeInference.md | 22 ## Shape functions 39 NOTE: The C++ shape functions are an intermediate step until the shape dialect 40 is more full-fledged, at which point the C++ functions should become the 59 focus will be on shape functions that describe shape functions could be used in 64 This will focus on the shape functions (e.g., determine the rank and dimensions 71 * Not all shape functions need to provide all the information (e.g., one could 78 functions, with some considering shape and elemental types different and some considering them both… 84 The requirements for the shape inference functions are determined by the 89 #### Shape inference functions 91 * **Expressiveness** shape functions need to support programs where tensors [all …]
|
/llvm-project/compiler-rt/lib/asan_abi/ |
H A D | asan_abi.h | 19 // Functions concerning instrumented global variables: 27 // Functions concerning dynamic library initialization 31 // Functions concerning block memory destinations 36 // Functions concerning RTL startup and initialization 40 // Functions concerning memory load and store reporting 46 // Functions concerning memory load and store 52 // Functions concerning query about whether memory is poisoned 56 // Functions concerning the poisoning of memory 60 // Functions concerning the partial poisoning of memory 63 // Functions concerning stack poisoning [all …]
|
H A D | asan_abi.cpp | 12 // Functions concerning instrumented global variables: 20 // Functions concerning dynamic library initialization 24 // Functions concerning block memory destinations 29 // Functions concerning RTL startup and initialization 33 // Functions concerning memory load and store reporting 39 // Functions concerning memory load and store 45 // Functions concerning query about whether memory is poisoned 51 // Functions concerning the poisoning of memory 55 // Functions concerning the partial poisoning of memory 58 // Functions concerning stack poisoning [all …]
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
H A D | unsafe-functions.rst | 1 .. title:: clang-tidy - bugprone-unsafe-functions 3 bugprone-unsafe-functions 6 Checks for functions that have safer, more secure replacements available, or 8 The check heavily relies on the functions from the 12 - Recommendation `MSC24-C. Do not use deprecated or obsolescent functions 13 <https://wiki.sei.cmu.edu/confluence/display/c/MSC24-C.+Do+not+use+deprecated+or+obsolescent+functions>`_. 19 Unsafe functions 22 The following functions are reported if :option:`ReportDefaultFunctions` is enabled. 25 following functions: 40 following functions fro [all...] |
H A D | exception-escape.rst | 6 Finds functions which may throw an exception directly or indirectly, but they 7 should not. The functions which should not throw exceptions are the following: 12 * The ``main()`` functions 13 * ``swap()`` functions 14 * ``iter_swap()`` functions 15 * ``iter_move()`` functions 16 * Functions marked with ``throw()`` or ``noexcept`` 17 * Other functions given as option 27 Functions declared explicitly with ``noexcept(false)`` or ``throw(exception)`` 29 functions like ``swap()``, ``main()``, move constructors, move assignment operators [all …]
|
H A D | signal-handler.rst | 6 Finds specific constructs in signal handler functions that can cause undefined 11 - Calls to non-asynchronous-safe functions are not allowed. 15 - Calls to non-asynchronous-safe functions are not allowed. 18 - Calls to functions with non-C linkage are not allowed (including the signal 24 of known functions. In addition, the function must come from a system header 28 including user functions for which only the declaration is visible. 29 Calls to user-defined functions with visible definitions are checked 33 `SIG30-C. Call only asynchronous-safe functions within signal handlers 34 …ding.cert.org/confluence/display/c/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+ha… 45 Selects which set of functions is considered as asynchronous-safe [all …]
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cert/ |
H A D | oop57-cpp.rst | 6 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/openmp/runtime/doc/doxygen/ |
H A D | libomp_interface.h | 20 Routines that are directly called as simple functions by user code are 77 functions are not available: 105 functions that can then be invoked in multiple threads. For instance, 159 that support lexically nested functions. 171 the variables in the parent that are accessed from outlined functions into 173 to the outlined functions. In this way the offsets of the shared variables 180 A scheme like this is how gcc\other generates outlined functions. 183 The library functions used for specific parts of the OpenMP\other language implementation 187 - @ref DEPRECATED functions that are in the library but are no longer required 188 - @ref STARTUP_SHUTDOWN functions for initializing and finalizing the runtime [all …]
|
/llvm-project/llvm/test/Transforms/HipStdPar/ |
H A D | allocation-no-interposition.ll | 3 …_alloc. Tried to run the allocation interposition pass without the replacement functions available. 4 …r_free. Tried to run the allocation interposition pass without the replacement functions available. 5 …calloc. Tried to run the allocation interposition pass without the replacement functions available. 6 …malloc. Tried to run the allocation interposition pass without the replacement functions available. 7 …_alloc. Tried to run the allocation interposition pass without the replacement functions available. 8 …_alloc. Tried to run the allocation interposition pass without the replacement functions available. 9 …ealloc. Tried to run the allocation interposition pass without the replacement functions available. 10 …_array. Tried to run the allocation interposition pass without the replacement functions available. 11 …or_new. Tried to run the allocation interposition pass without the replacement functions available. 12 …delete. Tried to run the allocation interposition pass without the replacement functions available. [all …]
|
/llvm-project/llvm/test/Analysis/LazyCallGraph/ |
H A D | basic.ll | 13 ; A bunch more functions just to make it easier to test several call edges at once. 259 ; 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: [all …]
|
/llvm-project/libc/docs/ |
H A D | strings.rst |
|
/llvm-project/bolt/lib/Passes/ |
H A D | IdenticalCodeFolding.cpp | 49 ICF("icf", cl::desc("fold functions with identical code"), in equalJumpTables() 81 /// Compare two jump tables in 2 functions. The function relies on consistent in equalJumpTables() 82 /// ordering of basic blocks in both binary functions (e.g. DFS). in equalJumpTables() 125 /// given instruction of the given function. The functions should have in isInstrEquivalentWith() 183 /// potentially identical but different functions are ignored during the in isIdenticalWith() 187 assert(A.hasCFG() && B.hasCFG() && "both functions should have CFG"); in isIdenticalWith() 189 // Compare the two functions, one basic block at a time. in isIdenticalWith() 192 // functions. The latter is important for CFG equality. in isIdenticalWith() 197 // Comparing multi-entry functions could be non-trivial. in isIdenticalWith() 204 // Process both functions i in isIdenticalWith() [all...] |
/llvm-project/llvm/test/Transforms/Inline/ |
H A D | inline_stats.ll | 11 ; CHECK-BASIC-NOT: -- List of inlined functions: 13 ; CHECK-VERBOSE: -- List of inlined functions: 21 ; CHECK: All functions: 10, imported functions: 7 22 ; CHECK: inlined functions: 5 [50% of all functions] 23 ; CHECK: imported functions inlined anywhere: 4 [57.14% of imported functions] 24 ; CHECK: imported functions inlined into importing module: 3 [42.86% of imported functions], remain… 25 ; CHECK: non-imported functions inlined anywhere: 1 [33.33% of non-imported functions] 26 ; CHECK: non-imported functions inlined into importing module: 1 [33.33% of non-imported functions]
|
/llvm-project/libcxx/include/ |
H A D | random | 41 // constructors and seeding functions 49 // generating functions 103 // constructors and seeding functions 111 // generating functions 163 // constructors and seeding functions 171 // generating functions 213 // constructors and seeding functions 223 // generating functions 227 // property functions 266 // constructors and seeding functions [all...] |
/llvm-project/libc/utils/docgen/ |
H A D | docgen.py | 3 # ====- Generate documentation for libc functions ------------*- python -*--==# 35 * an optional functions object 37 Formatting of ``macros`` and ``functions`` objects 40 If a macros or functions object is present, then it may contain nested 77 # Validate functions 78 if "functions" in api: 81 f"warning: Function definitions are listed for {header.name}, but no function implementation directory exists at {header.fns_dir}. All functions will be listed as not implemented.", 85 fns = api["functions"] 115 def print_functions_rst(header: Header, functions: Dict): 116 tbl_hdr = "Functions" [all...] |
/llvm-project/clang/test/SemaCXX/ |
H A D | attr-cpuspecific.cpp | 29 …-error@+1 {{attribute 'cpu_specific' multiversioned functions do not yet support constexpr functio… 33 …-error@+1 {{attribute 'cpu_specific' multiversioned functions do not yet support constexpr functio… 63 // FIXME: Add support for templates and virtual functions! 64 // expected-error@+2 {{multiversioned functions do not yet support function templates}} 67 // expected-error@+2 {{multiversioned functions do not yet support function templates}} 72 // expected-error@+2 {{multiversioned functions do not yet support function templates}} 76 // expected-error@+2 {{multiversioned functions do not yet support function templates}} 80 // expected-error@+1 {{multiversioned functions do not yet support virtual functions}} 100 // expected-error@+1 {{multiversioned functions do not yet support constructors}} 102 // expected-error@+1 {{multiversioned functions do not yet support destructors}} [all …]
|
/llvm-project/llvm/docs/TableGen/ |
H A D | BackGuide.rst | 25 various data structures and functions involved, see the primary TableGen 41 Unless otherwise noted, functions associated with classes are instance 42 functions. 65 The ``RecordKeeper`` class provides a few useful functions. 67 * Functions to get the complete class and record maps. 69 * Functions to get a subset of the records based on their parent classes. 71 * Functions to get individual classes, records, and globals, by name. 108 The ``Record`` class provides many useful functions. 110 * Functions to get the record name, fields, source file locations, 113 * Functions t [all...] |