/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMEmulation.cpp | 17 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/ |
D | Compiler.h | 82 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);
|
D | RSCompilerDriver.h | 69 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/ |
D | RSCompilerDriver.cpp | 66 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/ |
D | ELFEmulation.cpp | 71 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()
|
D | GNULDBackend.cpp | 148 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/ |
D | AArch64Emulation.cpp | 17 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/ |
D | HexagonEmulation.cpp | 17 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/ |
D | MipsEmulation.cpp | 17 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/ |
D | X86Emulation.cpp | 17 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/ |
D | Module.cpp | 27 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()
|
D | Linker.cpp | 48 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/ |
D | Linker.h | 36 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig); 69 bool initEmulator(LinkerScript& pScript);
|
D | Module.h | 60 explicit Module(LinkerScript& pScript); 62 Module(const std::string& pName, LinkerScript& pScript);
|
/frameworks/compile/mclinker/lib/Support/ |
D | Target.cpp | 53 bool Target::emulate(LinkerScript& pScript, LinkerConfig& pConfig) const { in emulate() argument 56 return EmulationFn(pScript, pConfig); in emulate()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFEmulation.h | 17 bool MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig);
|
D | GNULDBackend.h | 107 uint64_t getSegmentStartAddr(const LinkerScript& pScript) const; 391 void setupProgramHdrs(const LinkerScript& pScript);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Target.h | 79 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig) const;
|