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

/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().append(".ARM.exidx", ".ARM.exidx", exist);
40 pScript.sectionMap().append(".ARM.extab", ".ARM.extab", exist);
41 pScript.sectionMap().append(".ARM.attributes", ".ARM.attributes", exist);
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/Mips/
H A DMipsEmulation.cpp17 static bool MCLDEmulateMipsELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
41 bool emulateMipsLD(LinkerScript& pScript, LinkerConfig& pConfig) argument
52 return MCLDEmulateMipsELF(pScript, pConfig);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp25 bool RSScript::LinkRuntime(RSScript &pScript, const char *rt_path) { argument
26 // Using the same context with the source in pScript.
27 BCCContext &context = pScript.getSource().getContext();
38 const RSInfo* info = pScript.getInfo();
55 if (NULL != pScript.mLinkRuntimeCallback) {
56 pScript.mLinkRuntimeCallback(&pScript,
57 &pScript.getSource().getModule(), &libclcore_source->getModule());
60 if (!pScript.getSource().merge(*libclcore_source,
H A DRSCompiler.cpp32 bool RSCompiler::addInternalizeSymbolsPass(Script &pScript, llvm::PassManager &pPM) { argument
35 RSScript &script = static_cast<RSScript &>(pScript);
90 bool RSCompiler::addExpandForEachPass(Script &pScript, llvm::PassManager &pPM) { argument
92 RSScript &script = static_cast<RSScript &>(pScript);
112 bool RSCompiler::beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) { argument
113 if (!addExpandForEachPass(pScript, pPM))
116 if (!addInternalizeSymbolsPass(pScript, pPM))
H A DRSCompilerDriver.cpp157 bool RSCompilerDriver::setupConfig(const RSScript &pScript) { argument
161 static_cast<llvm::CodeGenOpt::Level>(pScript.getOptimizationLevel());
186 assert((pScript.getInfo() != NULL) && "NULL RS info!");
187 if (pScript.getInfo()->getFloatPrecisionRequirement() == RSInfo::FP_Full) {
198 RSCompilerDriver::compileScript(RSScript &pScript, argument
212 info = RSInfo::ExtractFromSource(pScript.getSource(), pDeps);
222 pScript.setInfo(info);
227 if (!RSScript::LinkRuntime(pScript, pRuntimePath)) {
259 bool compiler_need_reconfigure = setupConfig(pScript);
286 Compiler::ErrorCode compile_result = mCompiler.compile(pScript,
420 build(RSScript &pScript, const char *pOut, const char *pRuntimePath) argument
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp65 bool mcld::MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
73 pScript.sectionMap().append(map[i].from, map[i].to, exist);
84 pScript.directories().insert("=/usr/lib");
87 pScript.directories().insert("=/mingw/lib");
90 pScript.directories().insert("=/lib");
91 pScript.directories().insert("=/usr/lib");
H A DGNULDBackend.cpp131 uint64_t GNULDBackend::getSegmentStartAddr(const LinkerScript& pScript) const
134 pScript.addressMap().find(".text");
135 if (pScript.addressMap().end() != mapping)
1816 void GNULDBackend::setupProgramHdrs(const LinkerScript& pScript) argument
1819 uint64_t seg_start_addr = getSegmentStartAddr(pScript);
/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/libbcc/lib/Core/
H A DCompiler.cpp150 enum Compiler::ErrorCode Compiler::runLTO(Script &pScript) { argument
166 if (!beforeAddLTOPasses(pScript, lto_passes)) {
182 if (!afterAddLTOPasses(pScript, lto_passes)) {
186 lto_passes.run(pScript.getSource().getModule());
189 if (!afterExecuteLTOPasses(pScript)) {
196 enum Compiler::ErrorCode Compiler::runCodeGen(Script &pScript, argument
214 if (!beforeAddCodeGenPasses(pScript, codegen_passes)) {
226 if (!afterAddCodeGenPasses(pScript, codegen_passes)) {
231 if (!beforeExecuteCodeGenPasses(pScript, codegen_passes)) {
236 codegen_passes.run(pScript
246 compile(Script &pScript, llvm::raw_ostream &pResult, llvm::raw_ostream *IRStream) argument
283 compile(Script &pScript, OutputFile &pResult, llvm::raw_ostream *IRStream) argument
[all...]
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp160 bool CompileScript(Compiler &pCompiler, Script &pScript, argument
172 Compiler::ErrorCode result = pCompiler.compile(pScript, output_file);
/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.cpp46 bool Linker::emulate(LinkerScript& pScript, LinkerConfig& pConfig) argument
59 if (!initEmulator(pScript))
340 bool Linker::initEmulator(LinkerScript& pScript) argument
343 return m_pTarget->emulate(pScript, *m_pConfig);
/frameworks/compile/libbcc/include/bcc/
H A DCompiler.h81 enum ErrorCode runLTO(Script &pScript);
82 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult);
94 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult,
98 enum ErrorCode compile(Script &pScript, OutputFile &pResult,
114 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) argument
118 virtual bool afterAddLTOPasses(Script &pScript, llvm::PassManager &pPM) argument
122 virtual bool beforeExecuteLTOPasses(Script &pScript, argument
127 virtual bool afterExecuteLTOPasses(Script &pScript) argument
131 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM) argument
135 virtual bool afterAddCodeGenPasses(Script &pScript, llv argument
139 beforeExecuteCodeGenPasses(Script &pScript, llvm::PassManager &pPM) argument
144 afterExecuteCodeGenPasses(Script &pScript) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DTargetRegistry.h97 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig) const { argument
100 return EmulationFn(pScript, pConfig);
/frameworks/compile/mclinker/tools/llvm-mcld/
H A Dllvm-mcld.cpp1035 static bool ProcessLinkerOptionsFromCommand(mcld::LinkerScript& pScript, argument
1095 pScript.setSysroot(ArgSysRoot);
1102 if (!pScript.directories().insert(*sd)) {
1151 pScript.renameMap().insert(*wname, exist);
1162 pScript.renameMap().insert(from_real_str, exist);
1176 pScript.renameMap().insert(*pname, exist);
1187 pScript.renameMap().insert(from_real_str, exist);
1225 pScript.addressMap().insert(".text", exist);
1232 pScript.addressMap().insert(".data", exist);
1239 pScript
[all...]

Completed in 376 milliseconds