llvm-project/llvm/lib/Target/DirectX
Alexander Shaposhnikov 7059a6c32c [IR] Split out IR printing passes into IRPrinter
This diff splits out (from LLVMCore) IR printing passes into IRPrinter.
This structure is similar to what we already have for IRReader and
enables us to avoid circular dependencies between LLVMCore and Analysis
(this is a preparation for https://reviews.llvm.org/D137768).
The legacy interface is left unchanged, once the legacy pass manager
is removed (in the future) we will be able to clean it up further.
The bazel build configuration has been updated as well.

Test plan:
1/ Tested the following cmake configurations: static/dynamic linking * lld/gold * clang/gcc
2/ bazel build --config=generic_clang @llvm-project//...

Differential revision: https://reviews.llvm.org/D138081
2022-11-18 01:47:56 +00:00
..
DXILWriter [DirectX backend] Fix build and test error caused by out of sync with upstream change. 2022-11-14 12:50:23 -08:00
MCTargetDesc [DirectX] Add DirectX target object writer 2022-06-17 21:33:08 -05:00
TargetInfo
CMakeLists.txt [DX] Create globals for DXContainer parts 2022-10-18 11:48:08 -05:00
DXContainerGlobals.cpp [DX] Create globals for DXContainer parts 2022-10-18 11:48:08 -05:00
DXIL.td [NFC] [DirectX] Prefix for intrinsics should be dx 2022-07-06 13:27:12 -05:00
DXILConstants.h [NFC] Make dxil namespace consistent 2022-09-21 17:48:13 -05:00
DXILMetadata.cpp [DirectX] Add DXIL metadata `dx.shaderModel` 2022-10-03 13:00:11 -05:00
DXILMetadata.h [DirectX] Add DXIL metadata `dx.shaderModel` 2022-10-03 13:00:11 -05:00
DXILOpBuilder.cpp [NFC] Make dxil namespace consistent 2022-09-21 17:48:13 -05:00
DXILOpBuilder.h [NFC] Make dxil namespace consistent 2022-09-21 17:48:13 -05:00
DXILOpLowering.cpp [NFC] Make dxil namespace consistent 2022-09-21 17:48:13 -05:00
DXILPrepare.cpp [DirectX backend] Fix build and test error caused by out of sync with upstream change. 2022-11-14 12:50:23 -08:00
DXILPrettyPrinter.cpp [DX] Add pass to pretty-print DXIL metadata in asm 2022-10-14 13:32:59 -05:00
DXILResource.cpp [HLSL] CodeGen hlsl resource binding. 2022-10-17 14:29:19 -07:00
DXILResource.h [HLSL] CodeGen hlsl resource binding. 2022-10-17 14:29:19 -07:00
DXILResourceAnalysis.cpp [DirectX backend] Add analysis to collect DXILResources 2022-10-06 19:34:29 -07:00
DXILResourceAnalysis.h [DirectX backend] Add analysis to collect DXILResources 2022-10-06 19:34:29 -07:00
DXILShaderFlags.cpp [DX] Create globals for DXContainer parts 2022-10-18 11:48:08 -05:00
DXILShaderFlags.h [DX] Fix missing preserved analysis 2022-10-19 12:11:03 -05:00
DXILStubs.td [NFC] Make dxil namespace consistent 2022-09-21 17:48:13 -05:00
DXILTranslateMetadata.cpp [DirectX backend] [NFC] Change Resources::write to const. 2022-10-13 12:38:12 -07:00
DirectX.h [DX] Create globals for DXContainer parts 2022-10-18 11:48:08 -05:00
DirectX.td [DirectX] Add MC Register and Frame stubs 2022-06-17 21:08:17 -05:00
DirectXAsmPrinter.cpp [DX] [NFC] Move hasSection check up 2022-08-03 15:54:53 -05:00
DirectXFrameLowering.h [DirectX] Add MC Register and Frame stubs 2022-06-17 21:08:17 -05:00
DirectXInstrInfo.cpp [DirectX] Add MC Register and Frame stubs 2022-06-17 21:08:17 -05:00
DirectXInstrInfo.h [DirectX] Add MC Register and Frame stubs 2022-06-17 21:08:17 -05:00
DirectXRegisterInfo.cpp [DirectX] Add MC Register and Frame stubs 2022-06-17 21:08:17 -05:00
DirectXRegisterInfo.h [DirectX] Add MC Register and Frame stubs 2022-06-17 21:08:17 -05:00
DirectXSubtarget.cpp [DirectX] Add DirectX target object writer 2022-06-17 21:33:08 -05:00
DirectXSubtarget.h [DirectX] Add DirectX target object writer 2022-06-17 21:33:08 -05:00
DirectXTargetLowering.h
DirectXTargetMachine.cpp [IR] Split out IR printing passes into IRPrinter 2022-11-18 01:47:56 +00:00
DirectXTargetMachine.h [DirectX backend] Add analysis to collect DXILResources 2022-10-06 19:34:29 -07:00
DirectXTargetTransformInfo.h [DirectX backend] change MinVectorRegisterBitWidth to 32. 2022-08-30 23:20:12 -07:00
PointerTypeAnalysis.cpp [DirectX backend] Support global ctor for DXILBitcodeWriter. 2022-09-30 11:27:23 -07:00
PointerTypeAnalysis.h [IR] Move support for dxil::TypedPointerType to LLVM core IR. 2022-08-04 10:41:11 -04:00