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

12

/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSCompiler.h26 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM);
27 bool addInternalizeSymbolsPass(Script &pScript, llvm::PassManager &pPM);
28 bool addExpandForEachPass(Script &pScript, llvm::PassManager &pPM);
H A DRSCompilerDriver.h59 bool setupConfig(const RSScript &pScript);
67 Compiler::ErrorCode compileScript(RSScript& pScript, const char* pScriptName,
117 bool buildForCompatLib(RSScript &pScript, const char *pOut, const char *pRuntimePath);
H A DRSScript.h57 static bool LinkRuntime(RSScript &pScript, const char *rt_path = NULL);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp26 bool RSScript::LinkRuntime(RSScript &pScript, const char *core_lib) { argument
29 // Using the same context with the source in pScript.
30 BCCContext &context = pScript.getSource().getContext();
38 if (NULL != pScript.mLinkRuntimeCallback) {
39 pScript.mLinkRuntimeCallback(&pScript,
40 &pScript.getSource().getModule(), &libclcore_source->getModule());
43 if (!pScript.getSource().merge(*libclcore_source,
H A DRSCompiler.cpp33 bool RSCompiler::addInternalizeSymbolsPass(Script &pScript, llvm::PassManager &pPM) { argument
36 RSScript &script = static_cast<RSScript &>(pScript);
91 bool RSCompiler::addExpandForEachPass(Script &pScript, llvm::PassManager &pPM) { argument
93 RSScript &script = static_cast<RSScript &>(pScript);
104 bool RSCompiler::beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) { argument
105 if (!addExpandForEachPass(pScript, pPM))
108 if (!addInternalizeSymbolsPass(pScript, pPM))
H A DRSCompilerDriver.cpp177 bool RSCompilerDriver::setupConfig(const RSScript &pScript) { argument
181 static_cast<llvm::CodeGenOpt::Level>(pScript.getOptimizationLevel());
206 assert((pScript.getInfo() != NULL) && "NULL RS info!");
207 bool script_full_prec = (pScript.getInfo()->getFloatPrecisionRequirement() ==
218 Compiler::ErrorCode RSCompilerDriver::compileScript(RSScript& pScript, const char* pScriptName, argument
232 info = RSInfo::ExtractFromSource(pScript.getSource(), pSourceHash, compileCommandLineToEmbed,
243 pScript.setInfo(info);
248 if (!RSScript::LinkRuntime(pScript, pRuntimePath)) {
280 bool compiler_need_reconfigure = setupConfig(pScript);
307 Compiler::ErrorCode compile_result = mCompiler.compile(pScript,
423 buildForCompatLib(RSScript &pScript, const char *pOut, const char *pRuntimePath) argument
[all...]
/frameworks/compile/libbcc/include/bcc/
H A DCompiler.h86 enum ErrorCode runLTO(Script &pScript);
87 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult);
99 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult,
103 enum ErrorCode compile(Script &pScript, OutputFile &pResult,
119 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) argument
123 virtual bool afterAddLTOPasses(Script &pScript, llvm::PassManager &pPM) argument
127 virtual bool beforeExecuteLTOPasses(Script &pScript, argument
132 virtual bool afterExecuteLTOPasses(Script &pScript) argument
136 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM) argument
140 virtual bool afterAddCodeGenPasses(Script &pScript, llv argument
144 beforeExecuteCodeGenPasses(Script &pScript, llvm::PassManager &pPM) argument
149 afterExecuteCodeGenPasses(Script &pScript) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DELFEmulation.h17 bool MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMEmulation.cpp17 static bool MCLDEmulateARMELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
39 pScript.sectionMap().insert(".ARM.exidx*", ".ARM.exidx");
40 pScript.sectionMap().insert(".ARM.extab*", ".ARM.extab");
41 pScript.sectionMap().insert(".ARM.attributes*", ".ARM.attributes");
49 bool emulateARMLD(LinkerScript& pScript, LinkerConfig& pConfig) argument
60 return MCLDEmulateARMELF(pScript, pConfig);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonEmulation.cpp17 static bool MCLDEmulateHexagonELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
41 bool emulateHexagonLD(LinkerScript& pScript, LinkerConfig& pConfig) argument
52 return MCLDEmulateHexagonELF(pScript, pConfig);
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64Emulation.cpp17 static bool MCLDEmulateAArch64ELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
39 pScript.sectionMap().insert(".ARM.attributes*", ".ARM.attributes");
47 bool emulateAArch64LD(LinkerScript& pScript, LinkerConfig& pConfig) argument
58 return MCLDEmulateAArch64ELF(pScript, pConfig);
/frameworks/compile/libbcc/lib/Core/
H A DCompiler.cpp149 enum Compiler::ErrorCode Compiler::runLTO(Script &pScript) { argument
165 if (!beforeAddLTOPasses(pScript, lto_passes)) {
181 if (!afterAddLTOPasses(pScript, lto_passes)) {
185 lto_passes.run(pScript.getSource().getModule());
188 if (!afterExecuteLTOPasses(pScript)) {
195 enum Compiler::ErrorCode Compiler::runCodeGen(Script &pScript, argument
213 if (!beforeAddCodeGenPasses(pScript, codegen_passes)) {
225 if (!afterAddCodeGenPasses(pScript, codegen_passes)) {
230 if (!beforeExecuteCodeGenPasses(pScript, codegen_passes)) {
235 codegen_passes.run(pScript
245 compile(Script &pScript, llvm::raw_ostream &pResult, llvm::raw_ostream *IRStream) argument
297 compile(Script &pScript, OutputFile &pResult, llvm::raw_ostream *IRStream) argument
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsEmulation.cpp17 static bool MCLDEmulateMipsELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
45 bool emulateMipsLD(LinkerScript& pScript, LinkerConfig& pConfig) argument
56 return MCLDEmulateMipsELF(pScript, pConfig);
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86Emulation.cpp17 static bool MCLDEmulateX86ELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
51 bool emulateX86LD(LinkerScript& pScript, LinkerConfig& pConfig) argument
62 return MCLDEmulateX86ELF(pScript, pConfig);
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp71 bool mcld::MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
80 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);
87 pScript.sectionMap().insert("", "");
95 pScript.directories().insert("=/usr/lib");
98 pScript.directories().insert("=/mingw/lib");
101 pScript.directories().insert("=/lib");
102 pScript.directories().insert("=/usr/lib");
/frameworks/compile/mclinker/include/mcld/
H A DLinker.h40 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig);
73 bool initEmulator(LinkerScript& pScript);
/frameworks/compile/mclinker/lib/Core/
H A DModule.cpp26 Module::Module(LinkerScript& pScript) argument
27 : m_Script(pScript), m_NamePool(1024) {
30 Module::Module(const std::string& pName, LinkerScript& pScript) argument
31 : m_Name(pName), m_Script(pScript), m_NamePool(1024) {
H A DLinker.cpp47 bool Linker::emulate(LinkerScript& pScript, LinkerConfig& pConfig) argument
60 if (!initEmulator(pScript))
374 bool Linker::initEmulator(LinkerScript& pScript) argument
377 return m_pTarget->emulate(pScript, *m_pConfig);
/frameworks/compile/mclinker/tools/mcld/include/mcld/
H A DScriptOptions.h28 bool parse(LinkerScript& pScript);
H A DDynamicSectionOptions.h26 bool parse(LinkerConfig& pConfig, LinkerScript& pScript);
H A DPositionalOptions.h45 const LinkerScript& pScript);
/frameworks/compile/mclinker/tools/mcld/lib/
H A DScriptOptions.cpp77 bool ScriptOptions::parse(LinkerScript& pScript) argument
87 pScript.renameMap().insert(*wname, exist);
98 pScript.renameMap().insert(from_real_str, exist);
112 pScript.renameMap().insert(*pname, exist);
123 pScript.renameMap().insert(from_real_str, exist);
141 pScript.addressMap().insert(script.substr(0, pos), exist);
149 pScript.addressMap().insert(".bss", exist);
157 pScript.addressMap().insert(".data", exist);
165 pScript.addressMap().insert(".text", exist);
H A DSearchPathOptions.cpp79 bool SearchPathOptions::parse(LinkerConfig& pConfig, LinkerScript& pScript) argument
84 pScript.setSysroot(m_SysRoot);
91 if (!pScript.directories().insert(*sd)) {
/frameworks/compile/mclinker/lib/Support/
H A DTarget.cpp57 bool Target::emulate(LinkerScript& pScript, LinkerConfig& pConfig) const argument
61 return EmulationFn(pScript, pConfig);
/frameworks/compile/mclinker/tools/mcld/
H A Dmain.cpp39 mcld::LinkerScript& pScript,
63 if (!dynamic_section.parse(pConfig, pScript))
69 if (!search_path.parse(pConfig, pScript))
81 if (!script.parse(pScript))
84 if (!positional.parse(pInputActions, pConfig, pScript))
35 ConfigLinker(int pArgc, char* pArgv[], const char* pName, mcld::Module& pModule, mcld::LinkerScript& pScript, mcld::LinkerConfig& pConfig, mcld::IRBuilder& pBuilder, std::vector<mcld::InputAction*>& pInputActions) argument

Completed in 295 milliseconds

12