llvm-capstone/clang/test/CodeGenHLSL
Nikita Popov 158d72d728
[Clang] Set writable and dead_on_unwind attributes on sret arguments (#77116)
Set the writable and dead_on_unwind attributes for sret arguments. These
indicate that the argument points to writable memory (and it's legal to
introduce spurious writes to it on entry to the function) and that the
argument memory will not be used if the call unwinds.

This enables additional MemCpyOpt/DSE/LICM optimizations.
2024-01-11 09:46:54 +01:00
..
builtins [Clang] Use poison as base for vector literals 2023-12-19 11:53:18 +01:00
semantics [HLSL] Add SV_DispatchThreadID 2022-10-18 16:17:19 -07:00
basic_types.hlsl Move HLSL builtins into hlsl namespace 2022-10-19 10:59:31 -05:00
basic-target.c
buffer-array-operator.hlsl
cbuf_in_namespace.hlsl [HLSL] CodeGen hlsl cbuffer/tbuffer. 2022-10-12 21:17:38 -07:00
cbuf.hlsl [HLSL][DirectX] Move handling of resource element types into the frontend 2023-12-18 11:43:52 -07:00
disable_opt.hlsl [clang] [test] Use %clang_cc1 substitution consistently 2022-09-29 20:59:00 +02:00
entry.hlsl [HLSL] clang codeGen for HLSLNumThreadsAttr 2022-09-22 15:30:52 -07:00
float3.hlsl
GlobalConstructorFunction.hlsl [HLSL] Remove global ctor/dtor variable for non-lib profile. 2022-10-06 15:00:50 -07:00
GlobalConstructorLib.hlsl [HLSL] Remove global ctor/dtor variable for non-lib profile. 2022-10-06 15:00:50 -07:00
GlobalConstructors.hlsl [HLSL] Remove global ctor/dtor variable for non-lib profile. 2022-10-06 15:00:50 -07:00
GlobalDestructors.hlsl [Sema][HLSL] Consolidate handling of HLSL attributes 2023-08-29 08:55:38 -07:00
group_shared.hlsl [HLSL] Add groupshare address space. 2022-10-20 09:29:09 -07:00
half.hlsl
lit.local.cfg [NFC][Py Reformat] Reformat python files in clang and clang-tools-extra 2023-05-23 08:29:52 +02:00
no_int_promotion.hlsl [HLSL] Disable integer promotion to avoid int16_t being promoted to int for HLSL. 2022-10-20 16:06:25 -07:00
shader_type_attr.hlsl
sret_output.hlsl [Clang] Set writable and dead_on_unwind attributes on sret arguments (#77116) 2024-01-11 09:46:54 +01:00
static_global_and_function_in_cb.hlsl [HLSL] CodeGen hlsl cbuffer/tbuffer. 2022-10-12 21:17:38 -07:00
this-assignment-overload.hlsl [HLSL] Added HLSL this as a reference 2022-11-07 13:50:08 -08:00
this-assignment.hlsl [HLSL] Added HLSL this as a reference 2022-11-07 13:50:08 -08:00
this-reference.hlsl [HLSL] Cleanup support for this as an l-value 2023-09-05 19:38:50 -05:00
validator_version.hlsl [clang] [test] Use %clang_cc1 substitution consistently 2022-09-29 20:59:00 +02:00