llvm-project/clang/test/CodeGenCoroutines
Chuanqi Xu 327141fb1d [C++] [Coroutines] Prefer aligned (de)allocation for coroutines -
implement the option2 of P2014R0

This implements the option2 of
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2014r0.pdf.

This also fixes https://github.com/llvm/llvm-project/issues/56671.

Although wg21 didn't get consensus for the direction of the problem,
we're happy to have some implementation and user experience first. And
from issue56671, the option2 should be the pursued one.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D133341
2022-09-22 11:28:29 +08:00
..
Inputs [NFC][Coroutines] Add regression test for heap allocation elision optimization 2022-07-11 16:41:05 +02:00
coro-aligned-alloc-2.cpp [C++] [Coroutines] Prefer aligned (de)allocation for coroutines - 2022-09-22 11:28:29 +08:00
coro-aligned-alloc.cpp [C++] [Coroutines] Prefer aligned (de)allocation for coroutines - 2022-09-22 11:28:29 +08:00
coro-alloc-2.cpp [C++20] [Coroutines] Conform the updates for CWG issue 2585 2022-05-25 10:31:26 +08:00
coro-alloc-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-alloc.cpp [C++20] [Coroutines] Prefer sized deallocation in promise_type 2022-09-14 15:07:31 +08:00
coro-always-inline-exp-namespace.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-always-inline.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-attributes.cpp [coroutine] add nomerge function attribute to `llvm.coro.save` 2022-07-12 10:39:38 -07:00
coro-await-domination-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-await-domination.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-await-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await-resume-eh-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await-resume-eh.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-builtins-err.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
coro-builtins.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-cleanup-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-cleanup.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-dealloc.cpp [NFC] Add test of sized deallocation for coroutines 2022-09-06 14:44:16 +08:00
coro-dest-slot-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-dest-slot.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-destructor-of-final_suspend.cpp [Coroutines] Store the index for final suspend point if there is unwind coro end 2022-08-26 14:05:46 +08:00
coro-dwarf-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-dwarf.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-eh-cleanup-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-eh-cleanup.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-elide.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro2-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro2.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-halo.cpp [NFC][Coroutines] Add regression test for heap allocation elision optimization 2022-07-11 16:41:05 +02:00
coro-lambda-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-lambda.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-newpm-pipeline-exp-namespace.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-newpm-pipeline.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-params-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-params.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-promise-dtor-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-promise-dtor.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-ret-void-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-ret-void.cpp [clang][NFC] Cleanup some coroutine tests 2022-05-16 05:15:12 -07:00
coro-return-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return-voidtype-initlist-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return-voidtype-initlist.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-01-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-01.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-02-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-02.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-03.cpp [NFC] [Coroutines] Add regression tests for symmetric transfer and coroutine elision 2022-01-12 19:39:56 +08:00
coro-unhandled-exception-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-unhandled-exception.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
microsoft-abi-operator-coawait-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
microsoft-abi-operator-coawait.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
pr56329.cpp [PowerPC][Coroutines] Add tail-call check with call information for coroutines 2022-08-21 22:20:40 -04:00
pr56919.cpp [Coroutines] Store the index for final suspend point if there is unwind coro end 2022-08-26 14:05:46 +08:00