Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/lib/Target/ARM/
DARMEmulation.cpp17 static bool MCLDEmulateARMELF(LinkerScript& pScript, LinkerConfig& pConfig) { in MCLDEmulateARMELF() argument
18 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateARMELF()
38 pScript.sectionMap().insert(".ARM.exidx*", ".ARM.exidx"); in MCLDEmulateARMELF()
39 pScript.sectionMap().insert(".ARM.extab*", ".ARM.extab"); in MCLDEmulateARMELF()
40 pScript.sectionMap().insert(".ARM.attributes*", ".ARM.attributes"); in MCLDEmulateARMELF()
48 bool emulateARMLD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateARMLD() argument
58 return MCLDEmulateARMELF(pScript, pConfig); in emulateARMLD()
/frameworks/compile/libbcc/include/bcc/
DCompiler.h82 enum ErrorCode runPasses(Script &pScript, llvm::raw_pwrite_stream &pResult);
84 bool addInternalizeSymbolsPass(Script &pScript, llvm::legacy::PassManager &pPM);
86 void addDebugInfoPass(Script &pScript, llvm::legacy::PassManager &pPM);
87 void addGlobalInfoPass(Script &pScript, llvm::legacy::PassManager &pPM);
101 enum ErrorCode compile(Script &pScript, llvm::raw_pwrite_stream &pResult,
115 enum ErrorCode screenGlobalFunctions(Script &pScript);
117 void translateGEPs(Script &pScript);
DRSCompilerDriver.h69 bool setupConfig(const Script &pScript);
73 Compiler::ErrorCode compileScript(Script& pScript, const char* pScriptName,
160 bool buildForCompatLib(Script &pScript, const char *pOut,
/frameworks/compile/libbcc/lib/
DRSCompilerDriver.cpp66 bool RSCompilerDriver::setupConfig(const Script &pScript) { in setupConfig() argument
69 const llvm::CodeGenOpt::Level script_opt_level = pScript.getOptimizationLevel(); in setupConfig()
94 bcinfo::MetadataExtractor me(&pScript.getSource().getModule()); in setupConfig()
109 Compiler::ErrorCode RSCompilerDriver::compileScript(Script& pScript, const char* pScriptName, in compileScript() argument
116 pScript.getSource().addBuildChecksumMetadata(pBuildChecksum); in compileScript()
121 if (mCompiler.screenGlobalFunctions(pScript) != Compiler::kSuccess) { in compileScript()
134 if (!pScript.isStructExplicitlyPaddedBySlang() && in compileScript()
136 mCompiler.translateGEPs(pScript); in compileScript()
142 if (!pScript.LinkRuntime(pRuntimePath)) { in compileScript()
174 bool compiler_need_reconfigure = setupConfig(pScript); in compileScript()
[all …]
/frameworks/compile/mclinker/lib/Target/
DELFEmulation.cpp71 bool MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig) { in MCLDEmulateELF() argument
78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy); in MCLDEmulateELF()
85 pScript.sectionMap().insert("", ""); in MCLDEmulateELF()
93 pScript.directories().insert("=/usr/lib"); in MCLDEmulateELF()
96 pScript.directories().insert("=/mingw/lib"); in MCLDEmulateELF()
99 pScript.directories().insert("=/lib"); in MCLDEmulateELF()
100 pScript.directories().insert("=/usr/lib"); in MCLDEmulateELF()
DGNULDBackend.cpp148 uint64_t GNULDBackend::getSegmentStartAddr(const LinkerScript& pScript) const { in getSegmentStartAddr()
150 pScript.addressMap().find(".text"); in getSegmentStartAddr()
151 if (pScript.addressMap().end() != mapping) in getSegmentStartAddr()
1890 void GNULDBackend::setupProgramHdrs(const LinkerScript& pScript) { in setupProgramHdrs() argument
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64Emulation.cpp17 static bool MCLDEmulateAArch64ELF(LinkerScript& pScript, in MCLDEmulateAArch64ELF() argument
19 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateAArch64ELF()
39 pScript.sectionMap().insert(".ARM.attributes*", ".ARM.attributes"); in MCLDEmulateAArch64ELF()
47 bool emulateAArch64LD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateAArch64LD() argument
57 return MCLDEmulateAArch64ELF(pScript, pConfig); in emulateAArch64LD()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonEmulation.cpp17 static bool MCLDEmulateHexagonELF(LinkerScript& pScript, in MCLDEmulateHexagonELF() argument
19 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateHexagonELF()
41 bool emulateHexagonLD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateHexagonLD() argument
51 return MCLDEmulateHexagonELF(pScript, pConfig); in emulateHexagonLD()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsEmulation.cpp17 static bool MCLDEmulateMipsELF(LinkerScript& pScript, LinkerConfig& pConfig) { in MCLDEmulateMipsELF() argument
18 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateMipsELF()
44 bool emulateMipsLD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateMipsLD() argument
54 return MCLDEmulateMipsELF(pScript, pConfig); in emulateMipsLD()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Emulation.cpp17 static bool MCLDEmulateX86ELF(LinkerScript& pScript, LinkerConfig& pConfig) { in MCLDEmulateX86ELF() argument
18 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateX86ELF()
49 bool emulateX86LD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateX86LD() argument
59 return MCLDEmulateX86ELF(pScript, pConfig); in emulateX86LD()
/frameworks/compile/mclinker/lib/Core/
DModule.cpp27 Module::Module(LinkerScript& pScript) : m_Script(pScript), m_NamePool(1024) { in Module() argument
30 Module::Module(const std::string& pName, LinkerScript& pScript) in Module() argument
31 : m_Name(pName), m_Script(pScript), m_NamePool(1024) { in Module()
DLinker.cpp48 bool Linker::emulate(LinkerScript& pScript, LinkerConfig& pConfig) { in emulate() argument
60 if (!initEmulator(pScript)) in emulate()
361 bool Linker::initEmulator(LinkerScript& pScript) { in initEmulator() argument
363 return m_pTarget->emulate(pScript, *m_pConfig); in initEmulator()
/frameworks/compile/mclinker/include/mcld/
DLinker.h36 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig);
69 bool initEmulator(LinkerScript& pScript);
DModule.h60 explicit Module(LinkerScript& pScript);
62 Module(const std::string& pName, LinkerScript& pScript);
/frameworks/compile/mclinker/lib/Support/
DTarget.cpp53 bool Target::emulate(LinkerScript& pScript, LinkerConfig& pConfig) const { in emulate() argument
56 return EmulationFn(pScript, pConfig); in emulate()
/frameworks/compile/mclinker/include/mcld/Target/
DELFEmulation.h17 bool MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig);
DGNULDBackend.h107 uint64_t getSegmentStartAddr(const LinkerScript& pScript) const;
391 void setupProgramHdrs(const LinkerScript& pScript);
/frameworks/compile/mclinker/include/mcld/Support/
DTarget.h79 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig) const;