HLOperationLower.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // HLOperationLower.h //
  4. // Copyright (C) Microsoft Corporation. All rights reserved. //
  5. // This file is distributed under the University of Illinois Open Source //
  6. // License. See LICENSE.TXT for details. //
  7. // //
  8. // Lower functions to lower HL operations to DXIL operations. //
  9. // //
  10. ///////////////////////////////////////////////////////////////////////////////
  11. #pragma once
  12. #include <unordered_set>
  13. namespace llvm {
  14. class Instruction;
  15. class LoadInst;
  16. class Function;
  17. }
  18. namespace hlsl {
  19. class HLModule;
  20. class DxilResourceBase;
  21. class HLSLExtensionsCodegenHelper;
  22. void TranslateBuiltinOperations(
  23. HLModule &HLM, HLSLExtensionsCodegenHelper *extCodegenHelper,
  24. std::unordered_set<llvm::LoadInst *> &UpdateCounterSet);
  25. }