Home
last modified time | relevance | path

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

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