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.h47 bool setupConfig(const RSScript &pScript);
49 RSExecutable *compileScript(RSScript &pScript,
H A DRSScript.h52 static bool LinkRuntime(RSScript &pScript);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp25 bool RSScript::LinkRuntime(RSScript &pScript) { argument
26 // Using the same context with the source in pScript.
27 BCCContext &context = pScript.getSource().getContext();
33 const RSInfo* info = pScript.getInfo();
46 if (!pScript.getSource().merge(*libclcore_source,
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);
H A DRSCompilerDriver.cpp146 bool RSCompilerDriver::setupConfig(const RSScript &pScript) { argument
150 static_cast<llvm::CodeGenOpt::Level>(pScript.getOptimizationLevel());
172 assert((pScript.getInfo() != NULL) && "NULL RS info!");
173 if (pScript.getInfo()->getFloatPrecisionRequirement() == RSInfo::FP_Full) {
184 RSCompilerDriver::compileScript(RSScript &pScript, argument
197 info = RSInfo::ExtractFromSource(pScript.getSource(), pDeps);
207 pScript.setInfo(info);
212 if (!RSScript::LinkRuntime(pScript)) {
245 bool compiler_need_reconfigure = setupConfig(pScript);
270 Compiler::ErrorCode compile_result = mCompiler.compile(pScript, *output_fil
[all...]
/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.cpp152 bool ABCCompilerDriver::compile(Script &pScript, llvm::raw_ostream &pOutput) { argument
159 Compiler::ErrorCode result = mCompiler.compile(pScript, pOutput);
169 bool ABCCompilerDriver::link(const Script &pScript, argument
195 const Source &source = pScript.getSource();
/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.h36 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM);
H A DABCCompilerDriver.h51 bool compile(Script &pScript, llvm::raw_ostream &pOutput);
52 bool link(const Script &pScript, const std::string &input_relocatable,
/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 55 milliseconds