Searched refs:RSScript (Results 1 - 8 of 8) sorted by relevance

/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp17 #include "bcc/Renderscript/RSScript.h"
26 bool RSScript::LinkRuntime(RSScript &pScript, const char *core_lib) {
52 RSScript::RSScript(Source &pSource) function in class:RSScript
58 RSScript::RSScript(Source &pSource, const CompilerConfig * pCompilerConfig): RSScript(pSource) function in class:RSScript
72 bool RSScript::doReset() {
H A DAndroid.mk31 RSScript.cpp \
H A DRSCompilerDriver.cpp34 #include "bcc/Renderscript/RSScript.h"
70 bool RSCompilerDriver::setupConfig(const RSScript &pScript) {
114 Compiler::ErrorCode RSCompilerDriver::compileScript(RSScript& pScript, const char* pScriptName,
146 if (!RSScript::LinkRuntime(pScript, pRuntimePath)) {
267 RSScript script(*source, getConfig());
280 script.setOptimizationLevel(static_cast<RSScript::OptimizationLevel>(
387 RSScript script(*source);
391 script.setOptimizationLevel(RSScript::kOptLvl3);
414 bool RSCompilerDriver::buildForCompatLib(RSScript &pScript, const char *pOut,
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSScript.h29 class RSScript;
33 typedef llvm::Module* (*RSLinkRuntimeCallback) (bcc::RSScript *, llvm::Module *, llvm::Module *);
36 class RSScript : public Script { class in namespace:bcc
40 // to llvm::CodeGenOpt::Level. This makes RSScript LLVM-free.
70 static bool LinkRuntime(RSScript &pScript, const char *rt_path = nullptr);
72 RSScript(Source &pSource);
76 RSScript(Source &pSource, const CompilerConfig * pCompilerConfig);
78 virtual ~RSScript() { }
H A DRSCompilerDriver.h21 #include "bcc/Renderscript/RSScript.h"
69 bool setupConfig(const RSScript &pScript);
73 Compiler::ErrorCode compileScript(RSScript& pScript, const char* pScriptName,
160 bool buildForCompatLib(RSScript &pScript, const char *pOut,
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp116 RSScript *PrepareRSScript(BCCContext &pContext,
118 RSScript *result = nullptr;
137 result = new (std::nothrow) RSScript(*source);
277 std::unique_ptr<RSScript> s(PrepareRSScript(context, OptInputFilenames));
/frameworks/compile/libbcc/lib/Core/
H A DCompiler.cpp36 #include "bcc/Renderscript/RSScript.h"
209 // Script passed to RSCompiler must be a RSScript.
210 RSScript &script = static_cast<RSScript &>(pScript);
321 RSScript &script = static_cast<RSScript &>(pScript);
433 RSScript &script = static_cast<RSScript &>(pScript);
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp351 std::unique_ptr<RSScript> s(new (std::nothrow) RSScript(*source, RSCD.getConfig()));

Completed in 2724 milliseconds