From 3a61f317e6d60056f07f87918196c8523241a97f Mon Sep 17 00:00:00 2001
From: akashk4 <akashk4@illinois.edu>
Date: Wed, 8 Jan 2020 13:25:48 -0600
Subject: [PATCH] Updated function declaration types to FunctionCallees

---
 .../DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp         | 22 +++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/hpvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp b/hpvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp
index dc714af6c2..5a77856604 100644
--- a/hpvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp
+++ b/hpvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp
@@ -169,17 +169,17 @@ private:
   Kernel* kernel;
 
   // VISC Runtime API
-  Constant* llvm_visc_ocl_launch;
-  Constant* llvm_visc_ocl_wait;
-  Constant* llvm_visc_ocl_initContext;
-  Constant* llvm_visc_ocl_clearContext;
-  Constant* llvm_visc_ocl_argument_shared;
-  Constant* llvm_visc_ocl_argument_scalar;
-  Constant* llvm_visc_ocl_argument_ptr;
-  Constant* llvm_visc_ocl_output_ptr;
-  Constant* llvm_visc_ocl_free;
-  Constant* llvm_visc_ocl_getOutput;
-  Constant* llvm_visc_ocl_executeNode;
+  FunctionCallee llvm_visc_ocl_launch;
+  FunctionCallee llvm_visc_ocl_wait;
+  FunctionCallee llvm_visc_ocl_initContext;
+  FunctionCallee llvm_visc_ocl_clearContext;
+  FunctionCallee llvm_visc_ocl_argument_shared;
+  FunctionCallee llvm_visc_ocl_argument_scalar;
+  FunctionCallee llvm_visc_ocl_argument_ptr;
+  FunctionCallee llvm_visc_ocl_output_ptr;
+  FunctionCallee llvm_visc_ocl_free;
+  FunctionCallee llvm_visc_ocl_getOutput;
+  FunctionCallee llvm_visc_ocl_executeNode;
 
   //Functions
   std::string getKernelsModuleName(Module &M);
-- 
GitLab