LLVM 24.0.0git
HLSLUtils.h
Go to the documentation of this file.
1//===- HLSLUtils.h - HLSL helper functions --------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// Various helpers for working with HLSL shaders.
10///
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_FRONTEND_HLSL_HLSLUTILS_H
14#define LLVM_FRONTEND_HLSL_HLSLUTILS_H
15
16#include "llvm/ADT/StringRef.h"
17
18namespace llvm {
19namespace hlsl {
20
21LLVM_ABI void parseThreadCounts(StringRef Str, unsigned &Count1,
22 unsigned &Count2, unsigned &Count3);
23
24} // namespace hlsl
25} // namespace llvm
26
27#endif // LLVM_FRONTEND_HLSL_HLSLUTILS_H
#define LLVM_ABI
Definition Compiler.h:211
LLVM_ABI void parseThreadCounts(StringRef Str, unsigned &Count1, unsigned &Count2, unsigned &Count3)
Definition HLSLUtils.cpp:23
This is an optimization pass for GlobalISel generic memory operations.