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

/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp25 bool RSScript::LinkRuntime(RSScript &pScript, const char *core_lib) { argument
28 // Using the same context with the source in pScript.
29 BCCContext &context = pScript.getSource().getContext();
37 if (pScript.mLinkRuntimeCallback != nullptr) {
38 pScript.mLinkRuntimeCallback(&pScript,
39 &pScript.getSource().getModule(), &libclcore_source->getModule());
42 if (!pScript.getSource().merge(*libclcore_source)) {
H A DRSCompilerDriver.cpp68 bool RSCompilerDriver::setupConfig(const RSScript &pScript) { argument
72 static_cast<llvm::CodeGenOpt::Level>(pScript.getOptimizationLevel());
97 bcinfo::MetadataExtractor me(&pScript.getSource().getModule());
112 Compiler::ErrorCode RSCompilerDriver::compileScript(RSScript& pScript, const char* pScriptName, argument
119 pScript.getSource().addBuildChecksumMetadata(pBuildChecksum);
122 // Verify that the only external functions in pScript are Renderscript
124 if (mCompiler.screenGlobalFunctions(pScript) != Compiler::kSuccess) {
131 if (!RSScript::LinkRuntime(pScript, pRuntimePath)) {
164 bool compiler_need_reconfigure = setupConfig(pScript);
192 mCompiler.compile(pScript, output_fil
372 buildForCompatLib(RSScript &pScript, const char *pOut, const char *pBuildChecksum, const char *pRuntimePath, bool pDumpIR) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DELFEmulation.h17 bool MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig);
H A DGNULDBackend.h107 uint64_t getSegmentStartAddr(const LinkerScript& pScript) const;
385 void setupProgramHdrs(const LinkerScript& pScript);
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64Emulation.cpp17 static bool MCLDEmulateAArch64ELF(LinkerScript& pScript, argument
19 if (!MCLDEmulateELF(pScript, pConfig))
39 pScript.sectionMap().insert(".ARM.attributes*", ".ARM.attributes");
47 bool emulateAArch64LD(LinkerScript& pScript, LinkerConfig& pConfig) { argument
57 return MCLDEmulateAArch64ELF(pScript, pConfig);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMEmulation.cpp17 static bool MCLDEmulateARMELF(LinkerScript& pScript, LinkerConfig& pConfig) { argument
18 if (!MCLDEmulateELF(pScript, pConfig))
38 pScript.sectionMap().insert(".ARM.exidx*", ".ARM.exidx");
39 pScript.sectionMap().insert(".ARM.extab*", ".ARM.extab");
40 pScript.sectionMap().insert(".ARM.attributes*", ".ARM.attributes");
48 bool emulateARMLD(LinkerScript& pScript, LinkerConfig& pConfig) { argument
58 return MCLDEmulateARMELF(pScript, pConfig);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonEmulation.cpp17 static bool MCLDEmulateHexagonELF(LinkerScript& pScript, argument
19 if (!MCLDEmulateELF(pScript, pConfig))
41 bool emulateHexagonLD(LinkerScript& pScript, LinkerConfig& pConfig) { argument
51 return MCLDEmulateHexagonELF(pScript, pConfig);
/frameworks/compile/libbcc/include/bcc/
H A DCompiler.h81 enum ErrorCode runPasses(Script &pScript, llvm::raw_pwrite_stream &pResult);
83 bool addCustomPasses(Script &pScript, llvm::legacy::PassManager &pPM);
84 bool addInternalizeSymbolsPass(Script &pScript, llvm::legacy::PassManager &pPM);
85 bool addExpandForEachPass(Script &pScript, llvm::legacy::PassManager &pPM);
86 bool addGlobalInfoPass(Script &pScript, llvm::legacy::PassManager &pPM);
101 enum ErrorCode compile(Script &pScript, llvm::raw_pwrite_stream &pResult,
105 enum ErrorCode compile(Script &pScript, OutputFile &pResult,
116 // Compare undefined external functions in pScript against a 'whitelist' of
119 enum ErrorCode screenGlobalFunctions(Script &pScript);
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp71 bool MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig) { argument
78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);
85 pScript.sectionMap().insert("", "");
93 pScript.directories().insert("=/usr/lib");
96 pScript.directories().insert("=/mingw/lib");
99 pScript.directories().insert("=/lib");
100 pScript.directories().insert("=/usr/lib");
H A DGNULDBackend.cpp148 uint64_t GNULDBackend::getSegmentStartAddr(const LinkerScript& pScript) const {
150 pScript.addressMap().find(".text");
151 if (pScript.addressMap().end() != mapping)
1890 void GNULDBackend::setupProgramHdrs(const LinkerScript& pScript) { argument
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsEmulation.cpp17 static bool MCLDEmulateMipsELF(LinkerScript& pScript, LinkerConfig& pConfig) { argument
18 if (!MCLDEmulateELF(pScript, pConfig))
44 bool emulateMipsLD(LinkerScript& pScript, LinkerConfig& pConfig) { argument
54 return MCLDEmulateMipsELF(pScript, pConfig);
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86Emulation.cpp17 static bool MCLDEmulateX86ELF(LinkerScript& pScript, LinkerConfig& pConfig) { argument
18 if (!MCLDEmulateELF(pScript, pConfig))
49 bool emulateX86LD(LinkerScript& pScript, LinkerConfig& pConfig) { argument
59 return MCLDEmulateX86ELF(pScript, pConfig);
/frameworks/compile/libbcc/lib/Core/
H A DCompiler.cpp146 enum Compiler::ErrorCode Compiler::runPasses(Script &pScript, argument
157 if (!addCustomPasses(pScript, passes)) {
197 RSScript &script = static_cast<RSScript &>(pScript);
208 passes.run(pScript.getSource().getModule());
213 enum Compiler::ErrorCode Compiler::compile(Script &pScript, argument
216 llvm::Module &module = pScript.getSource().getModule();
251 if ((err = runPasses(pScript, pResult)) != kSuccess) {
262 enum Compiler::ErrorCode Compiler::compile(Script &pScript, argument
277 enum Compiler::ErrorCode err = compile(pScript, *out, IRStream);
285 bool Compiler::addInternalizeSymbolsPass(Script &pScript, llv argument
363 addExpandForEachPass(Script &pScript, llvm::legacy::PassManager &pPM) argument
371 addGlobalInfoPass(Script &pScript, llvm::legacy::PassManager &pPM) argument
389 addCustomPasses(Script &pScript, llvm::legacy::PassManager &pPM) argument
420 screenGlobalFunctions(Script &pScript) argument
[all...]
/frameworks/compile/mclinker/include/mcld/
H A DLinker.h36 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig);
69 bool initEmulator(LinkerScript& pScript);
H A DModule.h60 explicit Module(LinkerScript& pScript);
62 Module(const std::string& pName, LinkerScript& pScript);
/frameworks/compile/mclinker/lib/Core/
H A DModule.cpp27 Module::Module(LinkerScript& pScript) : m_Script(pScript), m_NamePool(1024) { argument
30 Module::Module(const std::string& pName, LinkerScript& pScript) argument
31 : m_Name(pName), m_Script(pScript), m_NamePool(1024) {
H A DLinker.cpp48 bool Linker::emulate(LinkerScript& pScript, LinkerConfig& pConfig) { argument
60 if (!initEmulator(pScript))
361 bool Linker::initEmulator(LinkerScript& pScript) { argument
363 return m_pTarget->emulate(pScript, *m_pConfig);
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSCompilerDriver.h69 bool setupConfig(const RSScript &pScript);
73 Compiler::ErrorCode compileScript(RSScript& pScript, const char* pScriptName,
156 bool buildForCompatLib(RSScript &pScript, const char *pOut,
H A DRSScript.h69 static bool LinkRuntime(RSScript &pScript, const char *rt_path = nullptr);
/frameworks/compile/mclinker/lib/Support/
H A DTarget.cpp53 bool Target::emulate(LinkerScript& pScript, LinkerConfig& pConfig) const { argument
56 return EmulationFn(pScript, pConfig);
/frameworks/compile/mclinker/include/mcld/Support/
H A DTarget.h79 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig) const;

Completed in 375 milliseconds