Converts a scalar or vector LLVM type to its DXIL element type.
Declared in <llvm/Frontend/HLSL/HLSLResource.h>
dxil::ElementType
getDXILElementType(
Type* Ty,
bool IsSigned);
Integer signedness must be supplied separately because LLVM integer types are signless.
The corresponding DXIL element type.
| Name | Description |
|---|---|
| Ty | LLVM type to convert (scalar or vector). |
| IsSigned | Whether integer element types should be treated as signed. |