clang  15.0.0git
CGHLSLRuntime.h
Go to the documentation of this file.
1 //===----- CGHLSLRuntime.h - Interface to HLSL Runtimes -----*- C++ -*-===//
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 // This provides an abstract class for HLSL code generation. Concrete
10 // subclasses of this implement code generation for specific HLSL
11 // runtime libraries.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_CLANG_LIB_CODEGEN_CGHLSLRUNTIME_H
16 #define LLVM_CLANG_LIB_CODEGEN_CGHLSLRUNTIME_H
17 
18 namespace clang {
19 
20 namespace CodeGen {
21 
22 class CodeGenModule;
23 
25 protected:
27 
28 public:
30  virtual ~CGHLSLRuntime() {}
31 
32  void finishCodeGen();
33 };
34 
35 } // namespace CodeGen
36 } // namespace clang
37 
38 #endif
clang::CodeGen::CGHLSLRuntime
Definition: CGHLSLRuntime.h:24
clang::CodeGen::CGHLSLRuntime::~CGHLSLRuntime
virtual ~CGHLSLRuntime()
Definition: CGHLSLRuntime.h:30
clang::CodeGen::CGHLSLRuntime::CGM
CodeGenModule & CGM
Definition: CGHLSLRuntime.h:26
clang::CodeGen::CGHLSLRuntime::finishCodeGen
void finishCodeGen()
Definition: CGHLSLRuntime.cpp:47
clang::CodeGen::CGHLSLRuntime::CGHLSLRuntime
CGHLSLRuntime(CodeGenModule &CGM)
Definition: CGHLSLRuntime.h:29
clang::CodeGen::CodeGenModule
This class organizes the cross-function state that is used while generating LLVM code.
Definition: CodeGenModule.h:275
clang
Definition: CalledOnceCheck.h:17