| /llvm-project-15.0.7/clang/test/CodeGen/VE/ |
| H A D | ve-velintrin.c | 15 void __attribute__((noinline)) 22 void __attribute__((noinline)) 29 void __attribute__((noinline)) 36 void __attribute__((noinline)) 43 void __attribute__((noinline)) 50 void __attribute__((noinline)) 57 void __attribute__((noinline)) 64 void __attribute__((noinline)) 71 void __attribute__((noinline)) 78 void __attribute__((noinline)) [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/fuzzer/ |
| H A D | MultipleConstraintsOnSmallInputTest.cpp | 14 __attribute__((noinline)) 22 __attribute__((noinline)) 30 __attribute__((noinline)) 38 __attribute__((noinline)) 46 __attribute__((noinline)) 54 __attribute__((noinline)) 62 __attribute__((noinline)) 70 __attribute__((noinline)) 78 __attribute__((noinline)) 86 __attribute__((noinline)) [all …]
|
| H A D | OnlySomeBytesTest.cpp | 18 __attribute__((noinline)) void bad() { in bad() 25 __attribute__((noinline)) void f0(IN in) { in f0() 39 __attribute__((noinline)) void fD(IN in) { f0(in); } in fD() 40 __attribute__((noinline)) void fC(IN in) { if (in[2] == 'C') fD(in); } in fC() 41 __attribute__((noinline)) void fB(IN in) { if (in[1] == 'B') fC(in); } in fB() 42 __attribute__((noinline)) void fA(IN in) { if (in[0] == 'A') fB(in); } in fA()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | attr-noinline.cpp | 8 [[gnu::noinline]] void noinline_fn(void) { } in noinline_fn() 11 [[clang::noinline]] bar(); in foo() 12 [[clang::noinline(0)]] bar(); // expected-error {{'noinline' attribute takes no arguments}} in foo() 14 …[[clang::noinline]] x = 0; // expected-warning {{'noinline' attribute is ignored because there exi… in foo() 15 …[[clang::noinline]] { asm("nop"); } // expected-warning {{'noinline' attribute is ignored because … in foo() 16 …[[clang::noinline]] label: x = 1; // expected-warning {{'noinline' attribute only applies to funct… in foo() 19 …[[clang::noinline]] always_inline_fn(); // expected-warning {{statement attribute 'noinline' has h… in foo() 20 …[[clang::noinline]] flatten_fn(); // expected-warning {{statement attribute 'noinline' has higher … in foo() 21 [[clang::noinline]] noinline_fn(); in foo() 23 …[[gnu::noinline]] bar(); // expected-warning {{attribute is ignored on this statement as it only a… in foo() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/PowerPC/ |
| H A D | ppc-xmmintrin.c | 45 void __attribute__((noinline)) 62 void __attribute__((noinline)) 83 void __attribute__((noinline)) 97 void __attribute__((noinline)) 249 void __attribute__((noinline)) 297 void __attribute__((noinline)) 430 void __attribute__((noinline)) 447 void __attribute__((noinline)) 467 void __attribute__((noinline)) 491 void __attribute__((noinline)) [all …]
|
| H A D | ppc-mmintrin.c | 35 void __attribute__((noinline)) 85 void __attribute__((noinline)) 119 void __attribute__((noinline)) 167 void __attribute__((noinline)) 197 void __attribute__((noinline)) 225 void __attribute__((noinline)) 249 void __attribute__((noinline)) 265 void __attribute__((noinline)) 288 void __attribute__((noinline)) 310 void __attribute__((noinline)) [all …]
|
| H A D | ppc-smmintrin.c | 34 void __attribute__((noinline)) 62 void __attribute__((noinline)) 92 void __attribute__((noinline)) 114 void __attribute__((noinline)) 183 void __attribute__((noinline)) 231 void __attribute__((noinline)) 286 void __attribute__((noinline)) 309 void __attribute__((noinline)) 323 void __attribute__((noinline)) 337 void __attribute__((noinline)) [all …]
|
| H A D | ppc-emmintrin.c | 40 void __attribute__((noinline)) 90 void __attribute__((noinline)) 104 void __attribute__((noinline)) 135 void __attribute__((noinline)) 165 void __attribute__((noinline)) 346 void __attribute__((noinline)) 382 void __attribute__((noinline)) 404 void __attribute__((noinline)) 562 void __attribute__((noinline)) 576 void __attribute__((noinline)) [all …]
|
| H A D | ppc-tmmintrin.c | 21 void __attribute__((noinline)) 57 void __attribute__((noinline)) 105 void __attribute__((noinline)) 162 void __attribute__((noinline)) 222 void __attribute__((noinline)) 243 void __attribute__((noinline)) 295 void __attribute__((noinline)) 333 void __attribute__((noinline))
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | attr-noinline.cpp | 11 [[clang::noinline]] bool noi() { } in noi() 14 [[clang::noinline]] bar(); in foo() 16 [[clang::noinline]] i = baz(i); in foo() 18 [[clang::noinline]] (i = 4, bar()); in foo() 20 [[clang::noinline]] (void)(bar()); in foo() 22 [[clang::noinline]] f(bar(), bar()); in foo() 28 [[clang::noinline]] for (bar(); bar(); bar()) {} in foo() 34 [[clang::noinline]] noi(); in foo() 38 [[gnu::noinline]] bar(); in foo() 47 [[clang::noinline]]g(s1 == s2); in func() [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | exceptions.cpp | 7 __attribute__((noinline)) void throws_int() { in throws_int() 11 __attribute__((noinline)) void callee_throws() { in callee_throws() 19 __attribute__((noinline)) void throws_catches_rethrows() { in throws_catches_rethrows() 28 __attribute__((noinline)) void callee_rethrows() { in callee_rethrows() 36 __attribute__((noinline)) void throws_and_catches() { in throws_and_catches() 44 __attribute__((noinline)) void nested_try() { in nested_try() 56 __attribute__((noinline)) void nested_try2() { in nested_try2() 78 __attribute__((noinline)) void local_object_then_throw() { in local_object_then_throw() 91 __attribute__((noinline)) void recursive_call(long n) { in recursive_call() 99 __attribute__((noinline)) void multiframe_unwind() { in multiframe_unwind() [all …]
|
| H A D | simple_stack.c | 5 void __attribute__((noinline)) foo1() { in foo1() 9 void __attribute__((noinline)) bar1() { in bar1() 14 void __attribute__((noinline)) foo2() { in foo2() 18 void __attribute__((noinline)) bar2() { in bar2() 35 void __attribute__((noinline)) StartThread(pthread_t *t, void *(*f)(void*)) { in StartThread()
|
| /llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/ |
| H A D | deep-recursion.c | 31 __attribute__((noinline)) void OOB() { int x[4]; x[four] = 0; USE(&x[0]); } in OOB() 32 __attribute__((noinline)) void FUNC1() { int x; USE(&x); OOB(); } in FUNC1() 33 __attribute__((noinline)) void FUNC2() { int x; USE(&x); FUNC1(); } in FUNC2() 34 __attribute__((noinline)) void FUNC3() { int x; USE(&x); FUNC2(); } in FUNC3() 35 __attribute__((noinline)) void FUNC4() { int x; USE(&x); FUNC3(); } in FUNC4() 36 __attribute__((noinline)) void FUNC5() { int x; USE(&x); FUNC4(); } in FUNC5() 37 __attribute__((noinline)) void FUNC6() { int x; USE(&x); FUNC5(); } in FUNC6() 38 __attribute__((noinline)) void FUNC7() { int x; USE(&x); FUNC6(); } in FUNC7() 39 __attribute__((noinline)) void FUNC8() { int x; USE(&x); FUNC7(); } in FUNC8() 40 __attribute__((noinline)) void FUNC9() { int x; USE(&x); FUNC8(); } in FUNC9() [all …]
|
| H A D | try-catch.cpp | 17 __attribute__((noinline)) 24 __attribute__((noinline)) 32 __attribute__((noinline)) 39 __attribute__((noinline, no_sanitize("hwaddress"))) void after_catch() { in after_catch() 45 __attribute__((noinline))
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/param_entry_vals/basic_entry_values/ |
| H A D | main.cpp | 13 __attribute__((noinline)) void func1(int &sink) { in func1() 27 __attribute__((noinline)) void func2(int &sink, int x) { in func2() 38 __attribute__((noinline)) void func3(int &sink, int *p) { in func3() 46 __attribute__((noinline)) void func4_amb(int &sink, int x) { in func4_amb() 60 __attribute__((noinline)) void func5_amb() {} in func5_amb() 62 __attribute__((noinline)) void func6(int &sink, int x) { in func6() 69 __attribute__((noinline)) void func7(int &sink, int x) { in func7() 97 __attribute__((noinline)) void func11_tailcalled(int &sink, int x) { in func11_tailcalled() 111 __attribute__((noinline)) void func12(int &sink, int x) { in func12() 115 __attribute__((noinline)) void func13(int &sink, int x) { in func13() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/OpenMP/ |
| H A D | remove_noinline_attributes.ll | 8 define void @__kmpc_noinline() noinline nounwind { 18 define void @omp_noinline() noinline nounwind { 28 define void @_ZN4_OMP_noinline() noinline nounwind { 41 ; CHECK: Function Attrs: noinline nounwind optnone 50 ; CHECK: Function Attrs: noinline nounwind optnone 60 ; CHECK: Function Attrs: noinline nounwind optnone 68 define void @a___kmpc_noinline() noinline nounwind { 69 ; CHECK: Function Attrs: noinline nounwind 77 define void @a_omp_noinline() noinline nounwind { 78 ; CHECK: Function Attrs: noinline nounwind [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/ForcedFunctionAttrs/ |
| H A D | forced.ll | 2 ; RUN: opt < %s -S -forceattrs -force-attribute foo:noinline | FileCheck %s --check-prefix=CHECK-FOO 3 ; RUN: opt < %s -S -passes=forceattrs -force-attribute foo:noinline | FileCheck %s --check-prefix=C… 5 ; RUN: opt < %s -S -passes=forceattrs -force-remove-attribute goo:noinline | FileCheck %s --check-p… 6 …passes=forceattrs -force-attribute goo:cold -force-remove-attribute goo:noinline | FileCheck %s --… 7 …: opt < %s -S -passes=forceattrs -force-attribute goo:noinline -force-remove-attribute goo:noinlin… 18 ; Remove `noinline` attribute. 21 ; Add `cold` and remove `noinline` leaving `cold` only. 25 ; `noinline` is removed. 31 attributes #0 = { noinline } 33 ; CHECK-FOO: attributes #0 = { noinline } [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/Attributor/ |
| H A D | allow_list.ll | 17 ; CHECK_DISABLED: Function Attrs: noinline nounwind uwtable 24 ; CHECK_ENABLED: Function Attrs: noinline nounwind uwtable 31 ; CHECK_DISABLED_FUNCTION: Function Attrs: noinline nounwind uwtable 50 ; CHECK_DISABLED: Function Attrs: noinline nounwind uwtable 56 ; CHECK_ENABLED: Function Attrs: noinline nounwind uwtable 62 ; CHECK_DISABLED_FUNCTION: Function Attrs: noinline nounwind uwtable 79 ; CHECK_DISABLED: Function Attrs: noinline nounwind uwtable 85 ; CHECK_ENABLED: Function Attrs: noinline nounwind uwtable 91 ; CHECK_DISABLED_FUNCTION: Function Attrs: noinline nounwind uwtable 97 ; CHECK_ENABLED_FUNCTION: Function Attrs: noinline nounwind uwtable [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/FunctionAttrs/ |
| H A D | nofree-attributor.ll | 28 ; FNATTR: Function Attrs: noinline nounwind uwtable 47 ; FNATTR: Function Attrs: noinline nounwind uwtable 55 ; FNATTR: Function Attrs: noinline nounwind uwtable 102 ; FNATTR: Function Attrs: noinline nounwind uwtable 119 ; FNATTR: Function Attrs: noinline nounwind uwtable 149 ; FNATTR: Function Attrs: noinline nounwind uwtable 160 ; FNATTR: Function Attrs: noinline nounwind uwtable 175 ; FNATTRS: Function Attrs: noinline nounwind uwtable 187 ; FNATTRS: Function Attrs: noinline nounwind uwtable 194 ; FNATTRS: Function Attrs: noinline nounwind uwtable [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/cfi/ |
| H A D | stats.cpp | 18 extern "C" __attribute__((noinline)) void vcall(A *a) { in vcall() 23 extern "C" __attribute__((noinline)) void nvcall(A *a) { in nvcall() 28 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() 33 extern "C" __attribute__((noinline)) A *ucast(A *a) { in ucast() 38 extern "C" __attribute__((noinline)) void unreachable(A *a) { in unreachable()
|
| /llvm-project-15.0.7/compiler-rt/test/cfi/cross-dso/ |
| H A D | stats.cpp | 24 extern "C" __attribute__((noinline)) void vcall(A *a) { in vcall() 29 extern "C" __attribute__((noinline)) void nvcall(A *a) { in nvcall() 36 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() 41 extern "C" __attribute__((noinline)) A *ucast(A *a) { in ucast() 46 extern "C" __attribute__((noinline)) void unreachable(A *a) { in unreachable()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profgen/ |
| H A D | noinline-cs-noprobe.test | 3 …m-profgen --format=text --perfscript=%S/Inputs/noinline-cs-noprobe.perfscript --binary=%S/Inputs/n… 5 ; RUN: llvm-profgen --format=text --unsymbolized-profile=%t --binary=%S/Inputs/noinline-cs-noprobe.… 7 …m-profgen --format=text --perfscript=%S/Inputs/noinline-cs-noprobe.perfscript --binary=%S/Inputs/n… 9 …-profgen --format=text --perfscript=%S/Inputs/noinline-cs-noprobe.aggperfscript --binary=%S/Inputs… 11 …-profgen --format=text --perfscript=%S/Inputs/noinline-cs-noprobe.aggperfscript --binary=%S/Inputs… 14 …m-profgen --format=text --perfscript=%S/Inputs/noinline-cs-noprobe.perfscript --binary=%S/Inputs/n… 15 …fgen --format=extbinary --perfscript=%S/Inputs/noinline-cs-noprobe.perfscript --binary=%S/Inputs/n…
|
| H A D | noinline-cs-pseudoprobe.test | 1 …profgen --format=text --perfscript=%S/Inputs/noinline-cs-pseudoprobe.perfscript --binary=%S/Inputs… 3 …profgen --format=text --perfscript=%S/Inputs/noinline-cs-pseudoprobe.perfscript --binary=%S/Inputs… 5 …rofgen --format=text --perfscript=%S/Inputs/noinline-cs-pseudoprobe.aggperfscript --binary=%S/Inpu… 7 …rofgen --format=text --perfscript=%S/Inputs/noinline-cs-pseudoprobe.aggperfscript --binary=%S/Inpu…
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/ |
| H A D | main.cpp | 3 void __attribute__((noinline)) sink() { in sink() 11 void __attribute__((noinline)) func3() { sink(); /* tail */ } in func3() 13 void __attribute__((noinline)) func2() { sink(); /* tail */ } in func2() 15 void __attribute__((noinline)) func1() { func3(); /* tail */ } in func1()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/ |
| H A D | main.cpp | 3 void __attribute__((noinline)) sink() { in sink() 7 void __attribute__((noinline)) func3() { sink(); /* tail */ } in func3() 9 void __attribute__((disable_tail_calls, noinline)) func2() { func3(); /* regular */ } in func2() 11 void __attribute__((noinline)) func1() { func2(); /* tail */ } in func1()
|