/llvm-project/libclc/generic/lib/relational/ |
H A D | relational.h |
|
/llvm-project/libclc/generic/lib/ |
H A D | clcmacro.h |
|
/llvm-project/clang/test/Sema/ |
H A D | arm-no-fp16.c | 3 // RUN: -fsyntax-only -verify -Wno-error=implicit-function-declaration 10 …/ expected-warning{{call to undeclared function 'vcvt_f16_f32'}} expected-error{{returning 'int' … in test_vcvt_f16_f32() 14 …// expected-warning{{call to undeclared function 'vcvt_f32_f16'}} expected-error{{returning 'int' … in test_vcvt_f32_f16() 18 … // expected-warning{{call to undeclared function 'vrnda_f16'}} expected-error{{returning 'int' fr… in test_vrnda_f16() 22 … // expected-warning{{call to undeclared function 'vrndaq_f16'}} expected-error{{returning 'int' f… in test_vrndaq_f16() 26 …; // expected-warning{{call to undeclared function 'vrnd_f16'}} expected-error{{returning 'int' fr… in test_vrnd_f16() 30 … // expected-warning{{call to undeclared function 'vrndq_f16'}} expected-error{{returning 'int' fr… in test_vrndq_f16() 34 … // expected-warning{{call to undeclared function 'vrndi_f16'}} expected-error{{returning 'int' fr… in test_vrndi_f16() 38 … // expected-warning{{call to undeclared function 'vrndiq_f16'}} expected-error{{returning 'int' f… in test_vrndiq_f16() 42 … // expected-warning{{call to undeclared function 'vrndm_f16'}} expected-error{{returning 'int' fr… in test_vrndm_f16() [all …]
|
H A D | zvk-invalid-features.c | 8 …/ expected-error {{call to undeclared function '__riscv_vbrev'; ISO C99 and later do not support i… in test_zvk_features() 9 …// expected-error {{call to undeclared function '__riscv_vclz'; ISO C99 and later do not support i… in test_zvk_features() 10 …// expected-error {{call to undeclared function '__riscv_vctz'; ISO C99 and later do not support i… in test_zvk_features() 11 …/ expected-error {{call to undeclared function '__riscv_vcpopv'; ISO C99 and later do not support … in test_zvk_features() 12 …/ expected-error {{call to undeclared function '__riscv_vwsll'; ISO C99 and later do not support i… in test_zvk_features() 15 …/ expected-error {{call to undeclared function '__riscv_vclmul'; ISO C99 and later do not support … in test_zvk_features() 16 … expected-error {{call to undeclared function '__riscv_vclmulh'; ISO C99 and later do not support … in test_zvk_features() 19 …/ expected-error {{call to undeclared function '__riscv_vandn'; ISO C99 and later do not support i… in test_zvk_features() 20 …/ expected-error {{call to undeclared function '__riscv_vbrev8'; ISO C99 and later do not support … in test_zvk_features() 21 …/ expected-error {{call to undeclared function '__riscv_vrev8'; ISO C99 and later do not support i… in test_zvk_features() [all …]
|
/llvm-project/flang/test/Semantics/ |
H A D | call01.f90 | 4 non_recursive function f01(n) result(res) 13 end function 15 non_recursive function f02(n) result(res) 24 integer function nested() 27 end function nested 28 end function 30 !ERROR: An assumed-length CHARACTER(*) function cannot be RECURSIVE 31 recursive character(*) function f03(n) ! C723 34 end function 36 !ERROR: An assumed-length CHARACTER(*) function cannot be RECURSIVE [all …]
|
H A D | resolve59.f90 | 2 ! Testing 15.6.2.2 point 4 (What function-name refers to depending on the 11 function f1() 17 end function 18 function f2(i) 25 end function 26 function f3(i) 33 end function 35 ! testing with function pointer results 36 function rf() 38 end function [all …]
|
/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/ |
H A D | simple-instrmap.yaml | 4 - { id: 1, address: 0x1, function: 0x1, kind: function-enter, always-instrument: true} key 5 - { id: 1, address: 0x2, function: 0x1, kind: function-exit, always-instrument: true} key 6 - { id: 2, address: 0x2, function: 0x2, kind: function-enter, always-instrument: true} key 7 - { id: 2, address: 0x3, function: 0x2, kind: function-exit, always-instrument: true} key 8 - { id: 3, address: 0x3, function: 0x3, kind: function-enter, always-instrument: true} key 9 - { id: 3, address: 0x4, function: 0x3, kind: function-exit, always-instrument: true} key 10 - { id: 4, address: 0x4, function: 0x4, kind: function-enter, always-instrument: true} key 11 - { id: 4, address: 0x5, function: 0x4, kind: function-exit, always-instrument: true} key 12 - { id: 5, address: 0x5, function: 0x5, kind: function-enter, always-instrument: true} key 13 - { id: 5, address: 0x6, function: 0x5, kind: function-exit, always-instrument: true} key [all …]
|
/llvm-project/llvm/test/Transforms/OpenMP/ |
H A D | add_attributes.ll | 672 ; Function Attrs: noinline cold 756 ; CHECK: ; Function Attrs: nounwind 759 ; CHECK: ; Function Attrs: nounwind 762 ; CHECK: ; Function Attrs: nounwind 765 ; CHECK: ; Function Attrs: nounwind 768 ; CHECK: ; Function Attrs: nounwind 771 ; CHECK: ; Function Attrs: nounwind 774 ; CHECK-NOT: Function Attrs 777 ; CHECK: ; Function Attrs: nounwind 780 ; CHECK: ; Function Attr [all...] |
/llvm-project/libcxx/test/libcxx/diagnostics/ |
H A D | cmath.nodiscard.verify.cpp | 28 …std::ceil(0.); // expected-warning-re {{ignoring return value of function declared… in test() 29 …std::fabs(0.); // expected-warning-re {{ignoring return value of function declared… in test() 30 …std::floor(0.); // expected-warning-re {{ignoring return value of function declared… in test() 31 …std::cbrt(0.); // expected-warning-re {{ignoring return value of function declared… in test() 32 …std::copysign(0., 0.); // expected-warning-re {{ignoring return value of function declared… in test() 33 …std::fmax(0., 0.); // expected-warning-re {{ignoring return value of function declared… in test() 34 …std::fmin(0., 0.); // expected-warning-re {{ignoring return value of function declared… in test() 35 …std::nearbyint(0.); // expected-warning-re {{ignoring return value of function declared… in test() 36 …std::rint(0.); // expected-warning-re {{ignoring return value of function declared… in test() 37 …std::round(0.); // expected-warning-re {{ignoring return value of function declared… in test() [all …]
|
H A D | algorithm.nodiscard.verify.cpp | 28 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 31 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 34 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 37 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 40 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 43 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 47 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 50 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 54 // expected-warning@+1 {{ignoring return value of function declared with 'nodiscard' attribute}} in test() 57 // expected-warning@+1 {{ignoring return value of function declare in test() [all...] |
/llvm-project/clang/test/CodeGen/SystemZ/ |
H A D | builtins-systemz-zvector-error.c | 65 len = __lcbb(cptr, idx); // expected-error {{no matching function}} in test_core() 67 len = __lcbb(cptr, 200); // expected-error {{no matching function}} in test_core() 69 len = __lcbb(cptr, 32); // expected-error {{no matching function}} in test_core() 71 len = __lcbb(cptr, 8192); // expected-error {{no matching function}} in test_core() 74 vsl = vec_permi(vsl, vsl, idx); // expected-error {{no matching function}} expected-error {{argument to '__builtin_s390_vpdi' must be a constant integer}} in test_core() 75 // expected-note@vecintrin.h:* 3 {{candidate function not viable}} in test_core() 77 vsl = vec_permi(vsl, vsl, -1); // expected-error {{no matching function}} in test_core() 78 // expected-note@vecintrin.h:* 3 {{candidate function not viable}} in test_core() 80 vsl = vec_permi(vsl, vsl, 4); // expected-error {{no matching function}} in test_core() 81 // expected-note@vecintrin.h:* 3 {{candidate function no in test_core() [all...] |
/llvm-project/lld/test/ELF/ |
H A D | arm-thunk-linkerscript-sort.s | 15 // Define a function aligned on a megabyte boundary 16 .macro FUNCTION suff macro 21 .type tfunc\suff\(), %function 26 FUNCTION 31 27 FUNCTION 30 28 FUNCTION 29 29 FUNCTION 28 30 FUNCTION 27 31 FUNCTION 26 32 FUNCTION 25 [all …]
|
/llvm-project/compiler-rt/test/ubsan/TestCases/TypeCheck/Function/ |
H A D | function.cpp | 1 // RUN: %clangxx -std=c++17 -fsanitize=function %s -O3 -g -DSHARED_LIB -fPIC -shared -o %dynamiclib… 2 // RUN: %clangxx -std=c++17 -fsanitize=function %s -O3 -g -o %t %ld_flags_rpath_exe 41 // CHECK-NOT: runtime error: call to function g in make_valid_call() 46 …// CHECK: function.cpp:[[@LINE+4]]:3: runtime error: call to function f() through pointer to incor… in make_invalid_call() 47 // CHECK-NEXT: function.cpp:[[@LINE-11]]:{{(11:)?}} note: f() defined here in make_invalid_call() 48 …// NOSYM: function.cpp:[[@LINE+2]]:3: runtime error: call to function (unknown) through pointer to… in make_invalid_call() 63 …// CHECK: function.cpp:[[@LINE+2]]:3: runtime error: call to function f2(unsigned int) through poi… in check_noexcept_calls() 64 …// NOSYM: function.cpp:[[@LINE+1]]:3: runtime error: call to function (unknown) through pointer to… in check_noexcept_calls() 69 …// CHECK: function.cpp:[[@LINE+2]]:3: runtime error: call to function f4(unsigned int) through poi… in check_noexcept_calls() 70 …// NOSYM: function.cpp:[[@LINE+1]]:3: runtime error: call to function (unknown) through pointer to… in check_noexcept_calls() [all …]
|
/llvm-project/llvm/test/Transforms/Attributor/reduced/ |
H A D | register_benchmark_test.ll | 1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-sign… 175 ; Function Attrs: uwtable 180 ; Function Attrs: uwtable 185 ; Function Attrs: nounwind 188 ; Function Attrs: nounwind 191 ; Function Attrs: uwtable 194 ; Function Attrs: nounwind uwtable 197 ; Function Attrs: nounwind uwtable 200 ; Function Attrs: uwtable 203 ; Function Attrs: argmemonly nounwind willreturn [all …]
|
/llvm-project/clang/test/SemaCUDA/ |
H A D | function-overload.cu | 38 // CurrentFnPtr is a function pointer to a {host,device} function during 53 // expected-error@-1 {{__host__ function 'hdh' cannot overload __host__ __device__ function 'hdh'}} 57 // expected-error@-1 {{__host__ __device__ function 'hhd' cannot overload __host__ function 'hhd'}} 61 // expected-error@-1 {{__device__ function 'hdd' cannot overload __host__ __device__ function 'hdd'… 65 // expected-error@-1 {{__host__ __device__ function 'dhd' cannot overload __device__ function 'dhd'… 78 // expected-error@-1 {{__host__ function 'chhd1' cannot overload __host__ __device__ function 'chhd… 82 // expected-error@-1 {{__host__ __device__ function 'chhd2' cannot overload __host__ function 'chhd… 87 // hostdefer-note@-2 1+ {{candidate function not viable: call to __device__ function from __host__ … 88 // expected-note@-3 0+ {{candidate function not viable: call to __device__ function from __host__ _… 92 // devdefer-note@-2 1+ {{candidate function not viable: call to __host__ function from __device__ f… [all …]
|
/llvm-project/llvm/test/tools/llvm-xray/AArch64/ |
H A D | extract-instrmap.test | 9 … 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/clang/test/Analysis/ |
H A D | block-in-critical-section.cpp | 49 // global params for dummy function calls 62 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionWithStdMutex() 63 // expected-note@-1 {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionWithStdMutex() 64 getc(stream); // expected-warning {{Call to blocking function 'getc' inside of critical section}} in testBlockInCriticalSectionWithStdMutex() 65 // expected-note@-1 {{Call to blocking function 'getc' inside of critical section}} in testBlockInCriticalSectionWithStdMutex() 66 …fgets(str, stream); // expected-warning {{Call to blocking function 'fgets' inside of critical sec… in testBlockInCriticalSectionWithStdMutex() 67 // expected-note@-1 {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionWithStdMutex() 68 …read(fd, buf, count); // expected-warning {{Call to blocking function 'read' inside of critical se… in testBlockInCriticalSectionWithStdMutex() 69 // expected-note@-1 {{Call to blocking function 'read' inside of critical section}} in testBlockInCriticalSectionWithStdMutex() 70 …recv(sockfd, buf, count, flags); // expected-warning {{Call to blocking function 'recv' inside of … in testBlockInCriticalSectionWithStdMutex() [all …]
|
/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
H A D | deduct_ptr.pass.cpp | 12 // function(R(*)(Args...)) -> function<R(Args...)>; 35 std::function a = f0; in main() 36 ASSERT_SAME_TYPE(decltype(a), std::function<R()>); in main() 38 std::function b = &f0; in main() 39 ASSERT_SAME_TYPE(decltype(b), std::function<R()>); in main() 42 std::function c{f0}; in main() 43 ASSERT_SAME_TYPE(decltype(c), std::function<R()>); in main() 45 std::function d{&f0}; in main() 46 ASSERT_SAME_TYPE(decltype(d), std::function<R()>); in main() 50 std::function a = f1; in main() [all …]
|
/llvm-project/lld/test/wasm/ |
H A D | many-functions.ll | 8 ; 128 function and so the final output requires a 2-byte LEB in 9 ; the CODE section header to store the function count. 821 ; CHECK-NEXT: Kind: FUNCTION 824 ; CHECK-NEXT: Function: 0 832 ; CHECK-NEXT: Kind: FUNCTION 835 ; CHECK-NEXT: Function: 1 837 ; CHECK-NEXT: Kind: FUNCTION 840 ; CHECK-NEXT: Function: 2 842 ; CHECK-NEXT: Kind: FUNCTION 845 ; CHECK-NEXT: Function: 3 [all …]
|
/llvm-project/openmp/runtime/src/include/ |
H A D | omp_lib.F90.var | 228 function omp_get_num_threads() bind(c) 231 end function omp_get_num_threads 233 function omp_get_max_threads() bind(c) 236 end function omp_get_max_threads 238 function omp_get_thread_num() bind(c) 241 end function omp_get_thread_num 243 function omp_get_num_procs() bind(c) 246 end function omp_get_num_procs 248 function omp_in_parallel() bind(c) 251 end function omp_in_paralle [all...] |
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | function-cognitive-complexity-flags.cpp | 1 // RUN: %check_clang_tidy %s readability-function-cognitive-complexity %t -- \ 3 // RUN: {readability-function-cognitive-complexity.Threshold: 0, \ 4 // RUN: readability-function-cognitive-complexity.DescribeBasicIncrements: "false"}}' 5 // RUN: %check_clang_tidy -check-suffix=THRESHOLD5 %s readability-function-cognitive-complexity %t … 7 // RUN: {readability-function-cognitive-complexity.Threshold: 5, \ 8 // RUN: readability-function-cognitive-complexity.DescribeBasicIncrements: "false"}}' 9 // RUN: %check_clang_tidy -check-suffix=IGNORE-MACROS %s readability-function-cognitive-complexity … 11 // RUN: {readability-function-cognitive-complexity.Threshold: 0, \ 12 // RUN: readability-function-cognitive-complexity.IgnoreMacros: "true", \ 13 // RUN: readability-function-cognitive-complexity.DescribeBasicIncrements: "false"}}' [all …]
|
/llvm-project/lldb/include/lldb/Symbol/ |
H A D | Function.h | 1 //===-- Function.h ----------------------------------------------*- C++ -*-===// 26 /// \class FunctionInfo Function.h "lldb/Symbol/Function.h" 27 /// A class that contains generic function information. 29 /// This provides generic function information that gets reused between inline 30 /// functions and function types. 33 /// Construct with the function method name and optional declaration 37 /// A C string name for the method name for this function. This 43 /// function was declared. This can be NULL. 46 /// Construct with the function metho 249 class Function; global() variable [all...] |
/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
H A D | noncopyable_return_type.pass.cpp | 12 // std::function that only differ in constness of the return type, with this 14 // include/c++/v1/__functional/function.h:254:31: error: definition with same mangled name '??0?$__… 16 // include/c++/v1/__functional/function.h:254:31: note: previous definition is here 26 // Prevent warning on the `const NonCopyable()` function type. 45 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; in test() 46 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; in test() 47 std::function<NonCopyable()> f3a = LargeLambda(); in test() 48 std::function<NonCopyable()> f4a = std::ref(f1a); in test() 49 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; in test() 50 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; in test() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/ |
H A D | no-recursion.cpp | 3 // We don't have the definition of this function, 7 // This function is obviously not recursive. 17 // Function calls itself - obviously a recursion. 22 // CHECK-NOTES: :[[@LINE-4]]:6: warning: function 'endless_recursion' is within a recursive call ch… 23 // CHECK-NOTES: :[[@LINE-5]]:6: note: example recursive call chain, starting from function 'endless… 24 // CHECK-NOTES: :[[@LINE-5]]:3: note: Frame #1: function 'endless_recursion' calls function 'endles… 30 // Function calls itself if some external function said so - recursion. 36 // CHECK-NOTES: :[[@LINE-5]]:6: warning: function 'maybe_endless_recursion' is within a recursive c… 37 // CHECK-NOTES: :[[@LINE-6]]:6: note: example recursive call chain, starting from function 'maybe_e… 38 // CHECK-NOTES: :[[@LINE-5]]:5: note: Frame #1: function 'maybe_endless_recursion' calls function '… [all …]
|
/llvm-project/clang/test/SemaTemplate/ |
H A D | ms-function-specialization-class-scope.cpp | 101 this->x; // expected-error {{invalid use of 'this' outside of a non-static member function}} in f() 102 x; // expected-error {{invalid use of member 'x' in static member function}} in f() 103 A::x; // expected-error {{invalid use of member 'x' in static member function}} in f() 104 +x; // expected-error {{invalid use of member 'x' in static member function}} in f() 105 +A::x; // expected-error {{invalid use of member 'x' in static member function}} in f() 106 &x; // expected-error {{invalid use of member 'x' in static member function}} in f() 108 this->y; // expected-error {{invalid use of 'this' outside of a non-static member function}} in f() 117 g(); // expected-error {{call to non-static member function without an object argument}} in f() 118 g<void>(); // expected-error {{call to non-static member function without an object argument}} in f() 119 i(); // expected-error {{call to non-static member function withou in f() [all...] |