Searched refs:pScript (Results 1 - 13 of 13) sorted by relevance

/frameworks/compile/libbcc/include/bcc/
H A DCompiler.h82 enum ErrorCode runLTO(Script &pScript);
83 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult);
92 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult);
95 enum ErrorCode compile(Script &pScript, OutputFile &pResult);
110 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) argument
114 virtual bool afterAddLTOPasses(Script &pScript, llvm::PassManager &pPM) argument
118 virtual bool beforeExecuteLTOPasses(Script &pScript, argument
123 virtual bool afterExecuteLTOPasses(Script &pScript) argument
127 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM) argument
131 virtual bool afterAddCodeGenPasses(Script &pScript, llv argument
135 beforeExecuteCodeGenPasses(Script &pScript, llvm::PassManager &pPM) argument
140 afterExecuteCodeGenPasses(Script &pScript) argument
[all...]
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSCompiler.h26 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM);
27 virtual bool beforeExecuteLTOPasses(Script &pScript, llvm::PassManager &pPM);
H A DRSCompilerDriver.h50 bool setupConfig(const RSScript &pScript);
52 RSExecutable *compileScript(RSScript &pScript,
89 RSExecutable *build(RSScript &pScript, const char *pOut,
H A DRSScript.h63 static bool LinkRuntime(RSScript &pScript, const char *rt_path = NULL);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp25 bool RSScript::LinkRuntime(RSScript &pScript, const char *rt_path) { argument
26 // Using the same context with the source in pScript.
27 BCCContext &context = pScript.getSource().getContext();
38 const RSInfo* info = pScript.getInfo();
55 if (NULL != pScript.mLinkRuntimeCallback) {
56 pScript.mLinkRuntimeCallback(&pScript,
57 &pScript.getSource().getModule(), &libclcore_source->getModule());
60 if (!pScript.getSource().merge(*libclcore_source,
H A DRSCompilerDriver.cpp151 bool RSCompilerDriver::setupConfig(const RSScript &pScript) { argument
155 static_cast<llvm::CodeGenOpt::Level>(pScript.getOptimizationLevel());
177 assert((pScript.getInfo() != NULL) && "NULL RS info!");
178 if (pScript.getInfo()->getFloatPrecisionRequirement() == RSInfo::FP_Full) {
189 RSCompilerDriver::compileScript(RSScript &pScript, argument
204 info = RSInfo::ExtractFromSource(pScript.getSource(), pDeps);
214 pScript.setInfo(info);
219 if (!RSScript::LinkRuntime(pScript, pRuntimePath)) {
256 bool compiler_need_reconfigure = setupConfig(pScript);
281 Compiler::ErrorCode compile_result = mCompiler.compile(pScript, *output_fil
436 build(RSScript &pScript, const char *pOut, const char *pRuntimePath) argument
[all...]
H A DRSCompiler.cpp32 bool RSCompiler::beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) { argument
35 RSScript &script = static_cast<RSScript &>(pScript);
90 bool RSCompiler::beforeExecuteLTOPasses(Script &pScript, argument
96 RSScript &script = static_cast<RSScript &>(pScript);
/frameworks/compile/libbcc/lib/Core/
H A DCompiler.cpp155 enum Compiler::ErrorCode Compiler::runLTO(Script &pScript) { argument
171 if (!beforeAddLTOPasses(pScript, lto_passes)) {
260 if (!afterAddLTOPasses(pScript, lto_passes)) {
265 if (!beforeExecuteLTOPasses(pScript, lto_passes)) {
269 lto_passes.run(pScript.getSource().getModule());
272 if (!afterExecuteLTOPasses(pScript)) {
279 enum Compiler::ErrorCode Compiler::runCodeGen(Script &pScript, argument
297 if (!beforeAddCodeGenPasses(pScript, codegen_passes)) {
309 if (!afterAddCodeGenPasses(pScript, codegen_passes)) {
314 if (!beforeExecuteCodeGenPasses(pScript, codegen_passe
329 compile(Script &pScript, llvm::raw_ostream &pResult) argument
362 compile(Script &pScript, OutputFile &pResult) argument
[all...]
/frameworks/compile/libbcc/include/bcc/AndroidBitcode/
H A DABCCompiler.h39 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM);
H A DABCCompilerDriver.h50 bool compile(Script &pScript, llvm::raw_ostream &pOutput);
51 bool link(const Script &pScript, const std::string &input_relocatable,
/frameworks/compile/libbcc/lib/AndroidBitcode/
H A DABCCompiler.cpp32 bool ABCCompiler::beforeAddCodeGenPasses(Script &pScript, argument
35 llvm::Module &module = pScript.getSource().getModule();
H A DABCCompilerDriver.cpp156 bool ABCCompilerDriver::compile(Script &pScript, llvm::raw_ostream &pOutput) { argument
163 Compiler::ErrorCode result = mCompiler.compile(pScript, pOutput);
173 bool ABCCompilerDriver::link(const Script &pScript, argument
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp265 bool CompileScript(Compiler &pCompiler, Script &pScript, argument
277 Compiler::ErrorCode result = pCompiler.compile(pScript, output_file);

Completed in 353 milliseconds