39 lines
		
	
	
		
			994 B
		
	
	
	
		
			C++
		
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			994 B
		
	
	
	
		
			C++
		
	
	
	
//===----- CGHLSLRuntime.h - Interface to HLSL Runtimes -----*- C++ -*-===//
 | 
						|
//
 | 
						|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 | 
						|
// See https://llvm.org/LICENSE.txt for license information.
 | 
						|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 | 
						|
//
 | 
						|
//===----------------------------------------------------------------------===//
 | 
						|
//
 | 
						|
// This provides an abstract class for HLSL code generation.  Concrete
 | 
						|
// subclasses of this implement code generation for specific HLSL
 | 
						|
// runtime libraries.
 | 
						|
//
 | 
						|
//===----------------------------------------------------------------------===//
 | 
						|
 | 
						|
#ifndef LLVM_CLANG_LIB_CODEGEN_CGHLSLRUNTIME_H
 | 
						|
#define LLVM_CLANG_LIB_CODEGEN_CGHLSLRUNTIME_H
 | 
						|
 | 
						|
namespace clang {
 | 
						|
 | 
						|
namespace CodeGen {
 | 
						|
 | 
						|
class CodeGenModule;
 | 
						|
 | 
						|
class CGHLSLRuntime {
 | 
						|
protected:
 | 
						|
  CodeGenModule &CGM;
 | 
						|
 | 
						|
public:
 | 
						|
  CGHLSLRuntime(CodeGenModule &CGM) : CGM(CGM) {}
 | 
						|
  virtual ~CGHLSLRuntime() {}
 | 
						|
 | 
						|
  void finishCodeGen();
 | 
						|
};
 | 
						|
 | 
						|
} // namespace CodeGen
 | 
						|
} // namespace clang
 | 
						|
 | 
						|
#endif
 |