HLMatrixLowerHelper.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // HLMatrixLowerHelper.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. // This file provides helper functions to lower high level matrix. //
  9. // //
  10. ///////////////////////////////////////////////////////////////////////////////
  11. #pragma once
  12. #include "llvm/IR/IRBuilder.h"
  13. namespace llvm {
  14. class Type;
  15. class Value;
  16. template<typename T>
  17. class ArrayRef;
  18. }
  19. namespace hlsl {
  20. class DxilFieldAnnotation;
  21. class DxilTypeSystem;
  22. namespace HLMatrixLower {
  23. llvm::Value *BuildVector(llvm::Type *EltTy,
  24. llvm::ArrayRef<llvm::Value *> elts,
  25. llvm::IRBuilder<> &Builder);
  26. } // namespace HLMatrixLower
  27. } // namespace hlsl