summaryrefslogtreecommitdiff
path: root/cpu_ref/rsd_cpu.h
diff options
context:
space:
mode:
authorDavid Gross <dgross@google.com>2015-05-29 11:38:15 -0700
committerDavid Gross <dgross@google.com>2015-05-29 13:40:12 -0700
commitb043df0676fef226336deb3a00ead2f31e02343f (patch)
tree896cf6dfafd9e746325bd1d47699cca682e1d946 /cpu_ref/rsd_cpu.h
parentcee9e9898ed549d00c1fd1c911feff66dbb4225e (diff)
downloadrs-b043df0676fef226336deb3a00ead2f31e02343f.tar.gz
Remove dead uses of RSCompilerDriver and of compiler callbacks.
Change-Id: Ibe8725074724b75e35c25a404daaba07ffbca2ab
Diffstat (limited to 'cpu_ref/rsd_cpu.h')
-rw-r--r--cpu_ref/rsd_cpu.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/cpu_ref/rsd_cpu.h b/cpu_ref/rsd_cpu.h
index 0eed22c0..8e205d85 100644
--- a/cpu_ref/rsd_cpu.h
+++ b/cpu_ref/rsd_cpu.h
@@ -19,25 +19,8 @@
#include "rsAllocation.h"
-namespace llvm {
-
-class Module;
-
-} // end namespace llvm
-
-namespace bcc {
-
-class RSCompilerDriver;
-class RSScript;
-typedef llvm::Module* (*RSLinkRuntimeCallback)
- (bcc::RSScript *, llvm::Module *, llvm::Module *);
-
-} // end namespace bcc;
-
typedef const char* (*RSSelectRTCallback) (const char*, size_t);
-typedef void (*RSSetupCompilerCallback) (bcc::RSCompilerDriver *);
-
namespace android {
namespace renderscript {
@@ -46,7 +29,6 @@ class Script;
class ScriptGroupBase;
class ScriptKernelID;
-
class RsdCpuReference {
public:
struct CpuSymbol {
@@ -128,8 +110,7 @@ public:
static RsdCpuReference * create(Context *c, uint32_t version_major,
uint32_t version_minor, sym_lookup_t lfn, script_lookup_t slfn
- , bcc::RSLinkRuntimeCallback pLinkRuntimeCallback = nullptr,
- RSSelectRTCallback pSelectRTCallback = nullptr,
+ , RSSelectRTCallback pSelectRTCallback = nullptr,
const char *pBccPluginName = nullptr
);
virtual ~RsdCpuReference();
@@ -142,12 +123,6 @@ public:
virtual void* createScriptGroup(const ScriptGroupBase *sg) = 0;
virtual bool getInForEach() = 0;
-#ifndef RS_COMPATIBILITY_LIB
- virtual void setSetupCompilerCallback(
- RSSetupCompilerCallback pSetupCompilerCallback) = 0;
- virtual RSSetupCompilerCallback getSetupCompilerCallback() const = 0;
-#endif
-
// Set to true if we should embed global variable information in the code.
virtual void setEmbedGlobalInfo(bool v) = 0;