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

/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/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 (pScript.mLinkRuntimeCallback != nullptr) {
39 pScript.mLinkRuntimeCallback(&pScript,
40 &pScript.getSource().getModule(), &libclcore_source->getModule());
43 if (!pScript.getSource().merge(*libclcore_source)) {
H A DRSCompilerDriver.cpp70 bool RSCompilerDriver::setupConfig(const RSScript &pScript) { argument
74 static_cast<llvm::CodeGenOpt::Level>(pScript.getOptimizationLevel());
99 bcinfo::MetadataExtractor me(&pScript.getSource().getModule());
114 Compiler::ErrorCode RSCompilerDriver::compileScript(RSScript& pScript, const char* pScriptName, argument
121 pScript.getSource().addBuildChecksumMetadata(pBuildChecksum);
124 // Verify that the only external functions in pScript are Renderscript
126 if (mCompiler.screenGlobalFunctions(pScript) != Compiler::kSuccess) {
140 mCompiler.translateGEPs(pScript);
146 if (!RSScript::LinkRuntime(pScript, pRuntimePath)) {
179 bool compiler_need_reconfigure = setupConfig(pScript);
414 buildForCompatLib(RSScript &pScript, const char *pOut, const char *pBuildChecksum, const char *pRuntimePath, bool pDumpIR) argument
[all...]
/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/mclinker/lib/Support/
H A DTarget.cpp53 bool Target::emulate(LinkerScript& pScript, LinkerConfig& pConfig) const { argument
56 return EmulationFn(pScript, pConfig);
/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/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/lib/Core/
H A DCompiler.cpp152 enum Compiler::ErrorCode Compiler::runPasses(Script &pScript, argument
166 addDebugInfoPass(pScript, transformPasses);
169 if (!addInternalizeSymbolsPass(pScript, transformPasses))
172 addGlobalInfoPass(pScript, transformPasses);
210 RSScript &script = static_cast<RSScript &>(pScript);
215 transformPasses.run(pScript.getSource().getModule());
228 codeGenPasses.run(pScript.getSource().getModule());
233 enum Compiler::ErrorCode Compiler::compile(Script &pScript, argument
236 llvm::Module &module = pScript.getSource().getModule();
284 if ((err = runPasses(pScript, pResul
295 compile(Script &pScript, OutputFile &pResult, llvm::raw_ostream *IRStream) argument
318 addInternalizeSymbolsPass(Script &pScript, llvm::legacy::PassManager &pPM) argument
420 addDebugInfoPass(Script &pScript, llvm::legacy::PassManager &pPM) argument
431 addGlobalInfoPass(Script &pScript, llvm::legacy::PassManager &pPM) argument
445 screenGlobalFunctions(Script &pScript) argument
469 translateGEPs(Script &pScript) argument
[all...]

Completed in 984 milliseconds