HLOperationLower.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  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 Value;
  16. class LoadInst;
  17. class Function;
  18. }
  19. namespace hlsl {
  20. class HLModule;
  21. class DxilResourceBase;
  22. class HLSLExtensionsCodegenHelper;
  23. void TranslateBuiltinOperations(
  24. HLModule &HLM, HLSLExtensionsCodegenHelper *extCodegenHelper,
  25. std::unordered_set<llvm::LoadInst *> &UpdateCounterSet,
  26. std::unordered_set<llvm::Value *> &NonUniformSet);
  27. }