Searched defs:pModule (Results 26 - 50 of 60) sorted by relevance

123

/frameworks/compile/mclinker/lib/Script/
H A DSectionsCmd.cpp66 void SectionsCmd::activate(Module& pModule) argument
74 (*it)->activate(pModule);
80 (*it)->activate(pModule);
84 (*assign)->activate(pModule);
H A DGroupCmd.cpp73 void GroupCmd::activate(Module& pModule) argument
75 LinkerScript& script = pModule.getScript();
H A DAssignment.cpp78 void Assignment::activate(Module& pModule) argument
81 LinkerScript& script = pModule.getScript();
H A DScriptFile.cpp80 void ScriptFile::activate(Module& pModule) argument
83 (*it)->activate(pModule);
/frameworks/compile/mclinker/lib/Support/
H A DTarget.cpp47 Module& pModule,
52 return MCLinkerCtorFn(pTriple, pConfig, pModule, pFileHandle);
45 createMCLinker(const std::string &pTriple, LinkerConfig& pConfig, Module& pModule, FileHandle& pFileHandle) const argument
/frameworks/compile/mclinker/lib/Target/
H A DOutputRelocSection.cpp24 OutputRelocSection::OutputRelocSection(Module& pModule, LDSection& pSection) argument
25 : m_Module(pModule),
/frameworks/compile/mclinker/lib/LD/
H A DBranchIslandFactory.cpp41 void BranchIslandFactory::group(Module& pModule) argument
44 LDSection* text = pModule.getSection(".text");
H A DRelocator.cpp31 Module& pModule,
48 pModule.getSectionSymbolSet().get(out_sect)->resolveInfo();
30 partialScanRelocation(Relocation& pReloc, Module& pModule, const LDSection& pSection) argument
H A DGroupReader.cpp21 GroupReader::GroupReader(Module& pModule, argument
26 : m_Module(pModule),
H A DGNUArchiveReader.cpp33 GNUArchiveReader::GNUArchiveReader(Module& pModule, argument
35 : m_Module(pModule),
H A DGarbageCollection.cpp107 Module& pModule)
108 : m_Config(pConfig), m_Backend(pBackend), m_Module(pModule)
105 GarbageCollection(const LinkerConfig& pConfig, const TargetLDBackend& pBackend, Module& pModule) argument
H A DELFObjectWriter.cpp54 void ELFObjectWriter::writeSection(Module& pModule, argument
105 emitEhFrame(pModule, *section->getEhFrame(), region);
121 std::error_code ELFObjectWriter::writeObject(Module& pModule, argument
133 target().orderSymbolTable(pModule);
139 target().emitDynNamePools(pModule, pOutput);
144 target().emitRegNamePools(pModule, pOutput);
155 writeSection(pModule, pOutput, *sect);
160 Module::iterator sect, sectEnd = pModule.end();
161 for (sect = pModule.begin(); sect != sectEnd; ++sect)
162 writeSection(pModule, pOutpu
208 writeELFHeader(const LinkerConfig& pConfig, const Module& pModule, FileOutputBuffer& pOutput) const argument
305 emitSectionHeader(const Module& pModule, const LinkerConfig& pConfig, FileOutputBuffer& pOutput) const argument
374 emitShStrTab(const LDSection& pShStrTab, const Module& pModule, FileOutputBuffer& pOutput) argument
412 emitEhFrame(Module& pModule, EhFrame& pFrame, MemoryRegion& pRegion) const argument
[all...]
H A DELFReader.cpp190 Module& pModule = pBuilder.getModule(); local
197 pModule.CreateAliasList(*sym_it->pt_alias->resolveInfo());
198 pModule.addAlias(*alias_it->pt_alias->resolveInfo());
711 Module& pModule = pBuilder.getModule(); local
718 pModule.CreateAliasList(*sym_it->pt_alias->resolveInfo());
719 pModule.addAlias(*alias_it->pt_alias->resolveInfo());
/frameworks/compile/mclinker/include/mcld/Target/
H A DTargetLDBackend.h58 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) { } argument
59 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) { } argument
61 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0;
78 virtual void layout(Module& pModule) = 0;
81 virtual void preLayout(Module& pModule, IRBuilder& pBuilder) = 0;
84 virtual void postLayout(Module& pModule, IRBuilder& pBuilder) = 0;
98 virtual void sizeNamePools(Module& pModule) = 0;
112 virtual bool allocateCommonSymbols(Module& pModule) = 0;
115 virtual bool mergeSection(Module& pModule, argument
123 virtual void setUpReachedSectionsForGC(const Module& pModule, argument
[all...]
H A DGNULDBackend.h57 GNUArchiveReader* createArchiveReader(Module& pModule);
79 bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule);
112 void sizeShstrtab(Module& pModule);
117 virtual void sizeNamePools(Module& pModule);
124 virtual void emitRegNamePools(const Module& pModule, FileOutputBuffer& pOutput);
127 virtual void emitDynNamePools(Module& pModule, FileOutputBuffer& pOutput);
148 virtual void orderSymbolTable(Module& pModule);
191 virtual bool allocateCommonSymbols(Module& pModule);
299 llvm::StringRef getEntry(const Module& pModule) const;
331 void createAndSizeEhFrameHdr(Module& pModule);
445 doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished) argument
[all...]
/frameworks/compile/mclinker/tools/mcld/
H A Dmain.cpp38 mcld::Module& pModule,
66 if (!output_format.parse(pModule, pConfig))
88 pConfig.options().setSOName(pModule.name());
35 ConfigLinker(int pArgc, char* pArgv[], const char* pName, mcld::Module& pModule, mcld::LinkerScript& pScript, mcld::LinkerConfig& pConfig, mcld::IRBuilder& pBuilder, std::vector<mcld::InputAction*>& pInputActions) argument
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp55 void Source::setModule(llvm::Module *pModule) { argument
56 if (!mNoDelete && (mModule != pModule)) delete mModule;
57 mModule = pModule;
115 Source *Source::CreateFromModule(BCCContext &pContext, llvm::Module &pModule, argument
119 if (llvm::verifyModule(pModule, &ErrorStream)) {
125 Source *result = new (std::nothrow) Source(pContext, pModule, pNoDelete);
128 pModule.getModuleIdentifier().c_str());
133 Source::Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete) argument
134 : mContext(pContext), mModule(&pModule), mNoDelete(pNoDelete) {
/frameworks/compile/mclinker/lib/CodeGen/
H A DMCLDTargetMachine.cpp195 mcld::Module& pModule,
238 pModule,
248 pModule,
258 pModule,
268 pModule,
358 mcld::Module& pModule,
370 pModule.setName(pFileHandle.path().filename().native());
374 pModule,
191 addPassesToEmitFile(llvm::legacy::PassManagerBase &pPM, mcld::ToolOutputFile& pOutput, mcld::CodeGenFileType pFileType, CodeGenOpt::Level pOptLvl, mcld::Module& pModule, LinkerConfig& pConfig, bool pDisableVerify) argument
356 addLinkerPasses(llvm::legacy::PassManagerBase &pPM, LinkerConfig& pConfig, mcld::Module& pModule, mcld::FileHandle& pFileHandle, llvm::MCContext *&Context) argument
H A DMCLinker.cpp201 mcld::Module& pModule,
205 m_Module(pModule),
200 MCLinker(LinkerConfig& pConfig, mcld::Module& pModule, FileHandle& pFileHandle) argument
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp66 bool Linker::link(Module& pModule, IRBuilder& pBuilder) argument
68 if (!normalize(pModule, pBuilder))
71 if (!resolve(pModule))
78 bool Linker::normalize(Module& pModule, IRBuilder& pBuilder) argument
87 if (!m_pObjLinker->initialize(pModule, pBuilder))
110 mcld::outs() << "** name\ttype\tpath\tsize (" << pModule.getInputTree().size() << ")\n";
111 InputTree::const_dfs_iterator input, inEnd = pModule.getInputTree().dfs_end();
112 for (input=pModule.getInputTree().dfs_begin(); input!=inEnd; ++input) {
144 else if (pModule.getLibraryList().empty()) {
166 bool Linker::resolve(Module& pModule) argument
261 emit(const Module& pModule, const std::string& pPath) argument
295 emit(const Module& pModule, int pFileDescriptor) argument
[all...]
H A DIRBuilder.cpp106 IRBuilder::IRBuilder(Module& pModule, const LinkerConfig& pConfig) argument
107 : m_Module(pModule), m_Config(pConfig), m_InputBuilder(pConfig) {
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LDBackend.cpp87 void AArch64GNULDBackend::initTargetSections(Module& pModule, argument
120 m_pRelaPLT = new OutputRelocSection(pModule, relaplt);
124 m_pRelaDyn = new OutputRelocSection(pModule, reladyn);
129 Module& pModule)
246 void AArch64GNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) argument
328 bool AArch64GNULDBackend::doRelax(Module& pModule, argument
342 void AArch64GNULDBackend::doCreateProgramHdrs(Module& pModule) argument
353 bool AArch64GNULDBackend::mergeSection(Module& pModule, argument
128 initTargetSymbols(IRBuilder& pBuilder, Module& pModule) argument
H A DAArch64Relocator.cpp379 Module& pModule,
377 scanRelocation(Relocation& pReloc, IRBuilder& pBuilder, Module& pModule, LDSection& pSection, Input& pInput) argument
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.cpp120 void X86GNULDBackend::doPostLayout(Module& pModule, argument
276 void X86GNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) argument
294 void X86GNULDBackend::addEhFrameForPLT(Module& pModule) argument
296 LDSection* plt_sect = pModule.getSection(".plt");
300 LDSection* eh_sect = pModule.getSection(".eh_frame");
347 void X86GNULDBackend::doCreateProgramHdrs(Module& pModule) argument
373 void X86_32GNULDBackend::initTargetSections(Module& pModule, argument
394 m_pRelPLT = new OutputRelocSection(pModule, relplt);
398 m_pRelDyn = new OutputRelocSection(pModule, reldyn);
664 void X86_64GNULDBackend::initTargetSections(Module& pModule, argument
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp80 bool ObjectLinker::initialize(Module& pModule, IRBuilder& pBuilder) argument
82 m_pModule = &pModule;
416 void ObjectLinker::addSymbolToOutput(ResolveInfo& pInfo, Module& pModule) argument
430 pModule.getSymbolTable().forceLocal(*pInfo.outSymbol());
432 pModule.getSymbolTable().add(*pInfo.outSymbol());
435 void ObjectLinker::addSymbolsToOutput(Module& pModule) argument
439 free_end = pModule.getNamePool().freeinfo_end();
440 for (free_it = pModule.getNamePool().freeinfo_begin(); free_it != free_end;
442 addSymbolToOutput(**free_it, pModule);
447 info_end = pModule
[all...]

Completed in 1331 milliseconds

123