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