LLVM
24.0.0git
include
llvm
Frontend
HLSL
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
18
namespace
llvm
{
19
namespace
hlsl
{
20
21
LLVM_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
LLVM_ABI
#define LLVM_ABI
Definition
Compiler.h:211
StringRef.h
llvm::hlsl
Definition
CBuffer.h:26
llvm::hlsl::parseThreadCounts
LLVM_ABI void parseThreadCounts(StringRef Str, unsigned &Count1, unsigned &Count2, unsigned &Count3)
Definition
HLSLUtils.cpp:23
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
DefaultTargetInfo.h:21
Generated on
for LLVM by
1.14.0