llvm-project/llvm/lib/Target/DirectX/DXILWriter
Xiang Li a80a888de5 [DirectX backend] Support global ctor for DXILBitcodeWriter.
1. Save typed pointer type for GlobalVariable/Function instead of the ObjectType.
   This will allow use GlobalVariable/Function as value.
2. Save target type for global ctors for Constant.
3. In DXILBitcodeWriter::getTypeID, check PointerMap first for Constant case.

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D133283
2022-09-30 11:27:23 -07:00
..
CMakeLists.txt [DirectX] Embed DXIL in LLVM Module 2022-06-06 15:04:26 -05:00
DXILBitcodeWriter.cpp [DirectX backend] Support global ctor for DXILBitcodeWriter. 2022-09-30 11:27:23 -07:00
DXILBitcodeWriter.h
DXILValueEnumerator.cpp [IR] Move support for dxil::TypedPointerType to LLVM core IR. 2022-08-04 10:41:11 -04:00
DXILValueEnumerator.h Support converting pointers from opaque to typed 2022-06-06 11:36:52 -05:00
DXILWriterPass.cpp [DirectX] Embed DXIL in LLVM Module 2022-06-06 15:04:26 -05:00
DXILWriterPass.h [DirectX] Embed DXIL in LLVM Module 2022-06-06 15:04:26 -05:00