Files
clang-p2996/llvm/lib/Target/DirectX/DXILOpBuilder.cpp
Justin Bogner e56ad22b4a [DirectX] Encapsulate DXILOpLowering's state into a class. NFC
This introduces an anonymous class "OpLowerer" to help with lowering DXIL ops,
and moves the DXILOpBuilder there instead of creating a new one for every
operation. DXILOpBuilder is also changed to own its IRBuilder, since that makes
it simpler to ensure that it isn't misused.

Pull Request: https://github.com/llvm/llvm-project/pull/104248
2024-08-20 10:51:32 -07:00

14 KiB