/frameworks/compile/libbcc/include/bcc/ |
D | Compiler.h | 86 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) in beforeAddLTOPasses() argument 123 virtual bool afterAddLTOPasses(Script &pScript, llvm::PassManager &pPM) in afterAddLTOPasses() argument 127 virtual bool beforeExecuteLTOPasses(Script &pScript, in beforeExecuteLTOPasses() argument 132 virtual bool afterExecuteLTOPasses(Script &pScript) in afterExecuteLTOPasses() argument 136 virtual bool beforeAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM) in beforeAddCodeGenPasses() argument 140 virtual bool afterAddCodeGenPasses(Script &pScript, llvm::PassManager &pPM) in afterAddCodeGenPasses() argument [all …]
|
/frameworks/compile/libbcc/lib/Core/ |
D | Compiler.cpp | 149 enum Compiler::ErrorCode Compiler::runLTO(Script &pScript) { in runLTO() argument 165 if (!beforeAddLTOPasses(pScript, lto_passes)) { in runLTO() 181 if (!afterAddLTOPasses(pScript, lto_passes)) { in runLTO() 185 lto_passes.run(pScript.getSource().getModule()); in runLTO() 188 if (!afterExecuteLTOPasses(pScript)) { in runLTO() 195 enum Compiler::ErrorCode Compiler::runCodeGen(Script &pScript, in runCodeGen() argument 213 if (!beforeAddCodeGenPasses(pScript, codegen_passes)) { in runCodeGen() 225 if (!afterAddCodeGenPasses(pScript, codegen_passes)) { in runCodeGen() 230 if (!beforeExecuteCodeGenPasses(pScript, codegen_passes)) { in runCodeGen() 235 codegen_passes.run(pScript.getSource().getModule()); in runCodeGen() [all …]
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSScript.cpp | 26 bool RSScript::LinkRuntime(RSScript &pScript, const char *core_lib) { in LinkRuntime() argument 30 BCCContext &context = pScript.getSource().getContext(); in LinkRuntime() 38 if (NULL != pScript.mLinkRuntimeCallback) { in LinkRuntime() 39 pScript.mLinkRuntimeCallback(&pScript, in LinkRuntime() 40 &pScript.getSource().getModule(), &libclcore_source->getModule()); in LinkRuntime() 43 if (!pScript.getSource().merge(*libclcore_source, in LinkRuntime()
|
D | RSCompiler.cpp | 33 bool RSCompiler::addInternalizeSymbolsPass(Script &pScript, llvm::PassManager &pPM) { in addInternalizeSymbolsPass() argument 36 RSScript &script = static_cast<RSScript &>(pScript); in addInternalizeSymbolsPass() 91 bool RSCompiler::addExpandForEachPass(Script &pScript, llvm::PassManager &pPM) { in addExpandForEachPass() argument 93 RSScript &script = static_cast<RSScript &>(pScript); in addExpandForEachPass() 104 bool RSCompiler::beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) { in beforeAddLTOPasses() argument 105 if (!addExpandForEachPass(pScript, pPM)) in beforeAddLTOPasses() 108 if (!addInternalizeSymbolsPass(pScript, pPM)) in beforeAddLTOPasses()
|
D | RSCompilerDriver.cpp | 177 bool RSCompilerDriver::setupConfig(const RSScript &pScript) { in setupConfig() argument 181 static_cast<llvm::CodeGenOpt::Level>(pScript.getOptimizationLevel()); in setupConfig() 206 assert((pScript.getInfo() != NULL) && "NULL RS info!"); in setupConfig() 207 bool script_full_prec = (pScript.getInfo()->getFloatPrecisionRequirement() == in setupConfig() 218 Compiler::ErrorCode RSCompilerDriver::compileScript(RSScript& pScript, const char* pScriptName, in compileScript() argument 232 info = RSInfo::ExtractFromSource(pScript.getSource(), pSourceHash, compileCommandLineToEmbed, in compileScript() 243 pScript.setInfo(info); in compileScript() 248 if (!RSScript::LinkRuntime(pScript, pRuntimePath)) { in compileScript() 280 bool compiler_need_reconfigure = setupConfig(pScript); in compileScript() 307 Compiler::ErrorCode compile_result = mCompiler.compile(pScript, in compileScript() [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMEmulation.cpp | 17 static bool MCLDEmulateARMELF(LinkerScript& pScript, LinkerConfig& pConfig) in MCLDEmulateARMELF() argument 19 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateARMELF() 39 pScript.sectionMap().insert(".ARM.exidx*", ".ARM.exidx"); in MCLDEmulateARMELF() 40 pScript.sectionMap().insert(".ARM.extab*", ".ARM.extab"); in MCLDEmulateARMELF() 41 pScript.sectionMap().insert(".ARM.attributes*", ".ARM.attributes"); in MCLDEmulateARMELF() 49 bool emulateARMLD(LinkerScript& pScript, LinkerConfig& pConfig) in emulateARMLD() argument 60 return MCLDEmulateARMELF(pScript, pConfig); in emulateARMLD()
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFEmulation.cpp | 71 bool mcld::MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig) in MCLDEmulateELF() argument 80 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy); in MCLDEmulateELF() 87 pScript.sectionMap().insert("", ""); in MCLDEmulateELF() 95 pScript.directories().insert("=/usr/lib"); in MCLDEmulateELF() 98 pScript.directories().insert("=/mingw/lib"); in MCLDEmulateELF() 101 pScript.directories().insert("=/lib"); in MCLDEmulateELF() 102 pScript.directories().insert("=/usr/lib"); in MCLDEmulateELF()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64Emulation.cpp | 17 static bool MCLDEmulateAArch64ELF(LinkerScript& pScript, LinkerConfig& pConfig) 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 58 return MCLDEmulateAArch64ELF(pScript, pConfig); in emulateAArch64LD()
|
/frameworks/compile/mclinker/tools/mcld/lib/ |
D | ScriptOptions.cpp | 77 bool ScriptOptions::parse(LinkerScript& pScript) in parse() argument 87 pScript.renameMap().insert(*wname, exist); in parse() 98 pScript.renameMap().insert(from_real_str, exist); in parse() 112 pScript.renameMap().insert(*pname, exist); in parse() 123 pScript.renameMap().insert(from_real_str, exist); in parse() 141 pScript.addressMap().insert(script.substr(0, pos), exist); in parse() 149 pScript.addressMap().insert(".bss", exist); in parse() 157 pScript.addressMap().insert(".data", exist); in parse() 165 pScript.addressMap().insert(".text", exist); in parse()
|
D | SearchPathOptions.cpp | 79 bool SearchPathOptions::parse(LinkerConfig& pConfig, LinkerScript& pScript) in parse() argument 84 pScript.setSysroot(m_SysRoot); in parse() 91 if (!pScript.directories().insert(*sd)) { in parse()
|
D | DynamicSectionOptions.cpp | 103 bool DynamicSectionOptions::parse(LinkerConfig& pConfig, LinkerScript& pScript) in parse() argument 106 pScript.setEntry(m_Entry); in parse()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonEmulation.cpp | 17 static bool MCLDEmulateHexagonELF(LinkerScript& pScript, LinkerConfig& pConfig) in MCLDEmulateHexagonELF() argument 19 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateHexagonELF() 41 bool emulateHexagonLD(LinkerScript& pScript, LinkerConfig& pConfig) in emulateHexagonLD() argument 52 return MCLDEmulateHexagonELF(pScript, pConfig); in emulateHexagonLD()
|
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
D | RSCompiler.h | 26 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM); 27 bool addInternalizeSymbolsPass(Script &pScript, llvm::PassManager &pPM); 28 bool addExpandForEachPass(Script &pScript, llvm::PassManager &pPM);
|
D | RSCompilerDriver.h | 59 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);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsEmulation.cpp | 17 static bool MCLDEmulateMipsELF(LinkerScript& pScript, LinkerConfig& pConfig) in MCLDEmulateMipsELF() argument 19 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateMipsELF() 45 bool emulateMipsLD(LinkerScript& pScript, LinkerConfig& pConfig) in emulateMipsLD() argument 56 return MCLDEmulateMipsELF(pScript, pConfig); in emulateMipsLD()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Emulation.cpp | 17 static bool MCLDEmulateX86ELF(LinkerScript& pScript, LinkerConfig& pConfig) in MCLDEmulateX86ELF() argument 19 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateX86ELF() 51 bool emulateX86LD(LinkerScript& pScript, LinkerConfig& pConfig) in emulateX86LD() argument 62 return MCLDEmulateX86ELF(pScript, pConfig); in emulateX86LD()
|
/frameworks/compile/mclinker/lib/Core/ |
D | Module.cpp | 26 Module::Module(LinkerScript& pScript) in Module() argument 27 : m_Script(pScript), m_NamePool(1024) { in Module() 30 Module::Module(const std::string& pName, LinkerScript& pScript) in Module() argument 31 : m_Name(pName), m_Script(pScript), m_NamePool(1024) { in Module()
|
D | Linker.cpp | 47 bool Linker::emulate(LinkerScript& pScript, LinkerConfig& pConfig) in emulate() argument 60 if (!initEmulator(pScript)) in emulate() 374 bool Linker::initEmulator(LinkerScript& pScript) in initEmulator() argument 377 return m_pTarget->emulate(pScript, *m_pConfig); in initEmulator()
|
/frameworks/compile/mclinker/tools/mcld/ |
D | main.cpp | 39 mcld::LinkerScript& pScript, in ConfigLinker() argument 63 if (!dynamic_section.parse(pConfig, pScript)) in ConfigLinker() 69 if (!search_path.parse(pConfig, pScript)) in ConfigLinker() 81 if (!script.parse(pScript)) in ConfigLinker() 84 if (!positional.parse(pInputActions, pConfig, pScript)) in ConfigLinker()
|
/frameworks/compile/mclinker/include/mcld/ |
D | Linker.h | 40 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig); 73 bool initEmulator(LinkerScript& pScript);
|
D | Module.h | 61 explicit Module(LinkerScript& pScript); 63 Module(const std::string& pName, LinkerScript& pScript);
|
/frameworks/compile/mclinker/lib/Support/ |
D | Target.cpp | 57 bool Target::emulate(LinkerScript& pScript, LinkerConfig& pConfig) const in emulate() argument 61 return EmulationFn(pScript, pConfig); in emulate()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFEmulation.h | 17 bool MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig);
|
/frameworks/compile/mclinker/tools/mcld/include/mcld/ |
D | ScriptOptions.h | 28 bool parse(LinkerScript& pScript);
|
D | SearchPathOptions.h | 26 bool parse(LinkerConfig& pConfig, LinkerScript& pScript);
|