CUDA: IR generation support for device stubs
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141304 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGCUDARuntime.h b/lib/CodeGen/CGCUDARuntime.h
index 79890e8..a99a67a 100644
--- a/lib/CodeGen/CGCUDARuntime.h
+++ b/lib/CodeGen/CGCUDARuntime.h
@@ -24,6 +24,7 @@
class CodeGenFunction;
class CodeGenModule;
+class FunctionArgList;
class ReturnValueSlot;
class RValue;
@@ -39,6 +40,9 @@
const CUDAKernelCallExpr *E,
ReturnValueSlot ReturnValue);
+ virtual void EmitDeviceStubBody(CodeGenFunction &CGF,
+ FunctionArgList &Args) = 0;
+
};
/// Creates an instance of a CUDA runtime class.