mirror-llvm-project/clang/test/CodeGenHLSL
joaosaffran 1b161aad81
[HLSL] Move cross implementation to header files (#211446)
This patch removes the previous implementation of cross; instead, it
adds a new one inside the header files.

Fix: https://github.com/llvm/llvm-project/issues/135425

Assisted by: Claude Opus 4.8

---------

Co-authored-by: Joao Saffran <jderezende@microsoft.com>
2026-07-29 15:26:05 -07:00
..
BasicFeatures [HLSL] Adds diagnostics for missing/ambiguous shader entry function. (#184892) 2026-07-15 18:39:53 +00:00
builtins [HLSL] Move cross implementation to header files (#211446) 2026-07-29 15:26:05 -07:00
convergence Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
debug [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
groupsharedArgs [clang][DirectX] Specify element-aligned vectors in TargetInfo (#185954) 2026-03-13 16:35:39 -07:00
Inputs [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
loops
Operators [IR] Add fast-math support to {u,s}itofp (#198470) 2026-06-04 16:45:02 +08:00
resources [HLSL] Enable frontend IR generation for SPIR-V in TypedBuffers-constructor.hlsl (#207421) 2026-07-17 15:56:35 -04:00
semantics [HLSL][SPIRV] Support Flat and Location decorators in the frontend (#210116) 2026-07-21 15:20:45 -04:00
sgep [HLSL][Clang] Start emitting @llvm.structured.alloca (#190157) 2026-04-20 10:09:36 +00:00
SysInputs [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
vk-features [AsmWriter] Change the output syntax of floating-point literals. (#190649) 2026-05-07 13:16:14 -04:00
all-resources-bound.hlsl [HLSL] Add allresourcesbound option to DXC driver and set corresponding module flag (#173411) 2025-12-30 10:15:46 -08:00
ArrayAssignable.hlsl [HLSL] Set visibility of cbuffer global variables to internal (2nd attempt) (#202745) 2026-06-11 13:40:36 -07:00
ArrayAssignable.logicalptr.hlsl [HLSL] Set visibility of cbuffer global variables to internal (2nd attempt) (#202745) 2026-06-11 13:40:36 -07:00
ArrayTemporary.hlsl
basic-target.c [DirectX] Specify element-aligned vectors (#180622) 2026-03-11 15:49:48 -07:00
basic_types.hlsl [clang][DirectX] Specify element-aligned vectors in TargetInfo (#185954) 2026-03-13 16:35:39 -07:00
Bool.hlsl [CodeGen] Change -O0 bool load codegen to have nonzero model (#193783) 2026-04-27 17:07:20 -04:00
BoolMatrix.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
BoolVector.hlsl [CodeGen] Change -O0 bool load codegen to have nonzero model (#193783) 2026-04-27 17:07:20 -04:00
cbuffer-matrix-layout-keyword.hlsl [HLSL] Set visibility of cbuffer global variables to internal (2nd attempt) (#202745) 2026-06-11 13:40:36 -07:00
convergent-functions.hlsl
default_validator_version.hlsl
dx-source-metadata-disabled.hlsl [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
dx-source-metadata-includes.hlsl [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
dx-source-metadata-mailformed-command-line.hlsl [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
dx-source-metadata.hlsl [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
enable-16bit-types.hlsl [HLSL] Add NativeInt16Type langopt to control whether short type is supported. Enabled by default for all but HLSL. (#165584) 2025-10-31 09:49:32 -07:00
entry.hlsl
export.hlsl
float3.hlsl [clang][DirectX] Specify element-aligned vectors in TargetInfo (#185954) 2026-03-13 16:35:39 -07:00
GlobalConstructorFunction.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
GlobalConstructorLib.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
GlobalConstructors.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
group_shared.hlsl [HLSL] groupshared variables should be implicitly extern and should not be initialized (#184459) 2026-03-04 12:18:56 -08:00
half.hlsl
HLSLControlFlowHint.hlsl [HLSL] Add NativeInt16Type langopt to control whether short type is supported. Enabled by default for all but HLSL. (#165584) 2025-10-31 09:49:32 -07:00
implicit-norecurse-attrib.hlsl [Clang][CodeGen] Emit alignment information for indirect arguments (#201999) 2026-07-02 09:35:24 -07:00
inline-functions.hlsl [HLSL] Reintroduce dx.disable_optimizations to set DisableOptimization Shader Flag (#180069) 2026-03-02 10:53:55 -08:00
lit.local.cfg [Clang][HLSL][DebugInfo] Emit dx.source metadata nodes (#199689) 2026-06-15 11:40:32 +00:00
matrix-layout-attr-overrides-default.hlsl [Matrix][HLSL] Fix transpose matrix layout bugs (#202486) 2026-06-17 13:20:55 -04:00
matrix-member-one-based-accessor-scalar-load.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
matrix-member-one-based-accessor-scalar-store.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
matrix-member-one-based-swizzle-load.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
matrix-member-one-based-swizzle-store.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
matrix-member-zero-based-accessor-scalar-load.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
matrix-member-zero-based-accessor-scalar-store.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
matrix-member-zero-based-swizzle-load.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
matrix-member-zero-based-swizzle-store.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
matrix_types.hlsl [HLSL][Cbuffer][Matrix] Add Cbuffer padding and createBufferMatrixTempAddress (#181903) 2026-02-18 13:42:10 -05:00
no_int_promotion.hlsl [HLSL] Add NativeInt16Type langopt to control whether short type is supported. Enabled by default for all but HLSL. (#165584) 2025-10-31 09:49:32 -07:00
out-of-line-static.hlsl
preserve-interface-dce.hlsl Reapply "[clang][SPIR-V] Implement -fspv-preserve-interface (#196404)" (#204249) 2026-06-17 14:41:43 +02:00
preserve-interface.hlsl Reapply "[clang][SPIR-V] Implement -fspv-preserve-interface (#196404)" (#204249) 2026-06-17 14:41:43 +02:00
res-may-alias.hlsl [NFC][HLSL] Replace use of clang_dxc with clang_cc1 in testing (#160359) 2025-09-23 13:18:19 -07:00
resources-declared-only-once.hlsl [HLSL] Stop redeclaration of resources types in HLSLExternalSemaSource (#178808) 2026-02-02 13:40:23 -08:00
RootSignature-Target.hlsl [HLSL][DirectX] Add support for rootsig as a target environment (#156373) 2025-09-09 09:14:58 -06:00
RootSignature.hlsl [AsmWriter] Change the output syntax of floating-point literals. (#190649) 2026-05-07 13:16:14 -04:00
shader_type_attr.hlsl
shift-mask.hlsl
sret_output.hlsl [HLSL] Add initial support for output semantics (#168095) 2025-11-19 14:51:46 +01:00
static-local-ctor.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
static-variable.hlsl
strict-bool.hlsl [CodeGen] Change -O0 bool load codegen to have nonzero model (#193783) 2026-04-27 17:07:20 -04:00
this-assignment-overload.hlsl [HLSL] Disable implicit constructors for user-defined structs/classes (#194989) 2026-06-13 12:06:37 -07:00
this-assignment.hlsl [HLSL] Disable implicit constructors for user-defined structs/classes (#194989) 2026-06-13 12:06:37 -07:00
this-reference.hlsl Reland "[HLSL][DirectX] Emit convergence control tokens when targeting DirectX" (#194452) 2026-05-26 11:55:15 -07:00
validator_version.hlsl
vk-input-builtin.hlsl [SPIR-V] Change DL for logical SPIR-V (#190807) 2026-04-08 09:24:45 +00:00
vk-output-builtin.hlsl [SPIR-V] Change DL for logical SPIR-V (#190807) 2026-04-08 09:24:45 +00:00
vk_binding_attr.hlsl [SPIRV][HLSL] Add Sema and CodeGen for implicit typed buffer counters (#162291) 2025-10-09 12:30:58 -04:00
wavesize.hlsl