Home
last modified time | relevance | path

Searched refs:Module (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/compile/mclinker/include/mcld/Target/
DGNULDBackend.h37 class Module; variable
59 GNUArchiveReader* createArchiveReader(Module& pModule);
81 bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule);
116 Module& pModule,
122 virtual void sizeNamePools(Module& pModule, bool pIsStaticLink);
129 virtual void emitRegNamePools(const Module& pModule, MemoryArea& pOutput);
132 virtual void emitDynNamePools(Module& pModule, MemoryArea& pOutput);
135 virtual void emitELFHashTab(const Module::SymbolTable& pSymtab,
139 virtual void emitGNUHashTab(Module::SymbolTable& pSymtab,
192 virtual bool allocateCommonSymbols(Module& pModule);
[all …]
DTargetLDBackend.h16 class Module; variable
59 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) { } in initTargetSections()
60 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) { } in initTargetSymbols()
62 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0;
77 Module& pModule,
87 Module& pModule,
91 virtual ArchiveReader* createArchiveReader(Module&) = 0;
100 virtual void layout(Module& pModule) = 0;
103 virtual void preLayout(Module& pModule, IRBuilder& pBuilder) = 0;
106 virtual void postLayout(Module& pModule, IRBuilder& pBuilder) = 0;
[all …]
DOutputRelocSection.h21 class Module; variable
31 OutputRelocSection(Module& pModule, LDSection& pSection);
53 Module& m_Module;
/frameworks/compile/mclinker/lib/Core/
DModule.cpp24 Module::Module() in Module() function in Module
28 Module::Module(const std::string& pName) in Module() function in Module
32 Module::~Module() in ~Module()
37 LDSection* Module::getSection(const std::string& pName) in getSection()
47 const LDSection* Module::getSection(const std::string& pName) const in getSection()
/frameworks/compile/libbcc/include/bcc/
DSource.h23 class Module; variable
33 llvm::Module *mModule;
39 Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete = false);
55 llvm::Module &pModule,
69 void setModule(llvm::Module *pModule);
71 inline llvm::Module &getModule() in getModule()
73 inline const llvm::Module &getModule() const in getModule()
/frameworks/compile/mclinker/lib/Target/X86/
DX86LDBackend.h91 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
125 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) = 0;
127 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
137 Module& pModule,
161 Module& pModule,
166 Module& pModule,
194 void doCreateProgramHdrs(Module& pModule);
235 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
250 Module& pModule,
255 Module& pModule,
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DELFObjectWriter.h21 class Module; variable
49 llvm::error_code writeObject(Module& pModule, MemoryArea& pOutput);
61 const Module& pModule,
65 const Module& pModule) const;
69 void emitSectionHeader(const Module& pModule,
79 const Module& pModule,
113 uint64_t getLastStartOffset(const Module& pModule) const in getLastStartOffset()
128 uint64_t ELFObjectWriter::getLastStartOffset<32>(const Module& pModule) const;
131 uint64_t ELFObjectWriter::getLastStartOffset<64>(const Module& pModule) const;
DGroupReader.h34 GroupReader(Module& pModule,
43 bool readGroup(Module::input_iterator pRoot,
51 ArchiveListEntry(Archive& pArchive, Module::input_iterator pIterator) in ArchiveListEntry()
55 Module::input_iterator input;
59 Module& m_Module;
/frameworks/compile/mclinker/include/mcld/CodeGen/
DMCLinker.h23 class Module; variable
30 class Module; variable
56 mcld::Module& pModule,
62 virtual bool doInitialization(llvm::Module &pM);
64 virtual bool doFinalization(llvm::Module &pM);
73 mcld::Module& m_Module;
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.h42 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
45 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
58 Module& pModule,
65 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
92 void sizeNamePools(Module& pModule, bool pIsStaticLink);
95 void emitDynNamePools(Module& pModule, MemoryArea& pOut);
112 bool allocateCommonSymbols(Module& pModule);
142 void doCreateProgramHdrs(Module& pModule);
/frameworks/compile/libbcc/tools/bcc_strip_attr/
Dbcc_strip_attr.cpp70 virtual bool runOnModule(Module &M) { in runOnModule()
72 for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) { in runOnModule()
90 static inline std::auto_ptr<Module> LoadFile(const char *argv0, in LoadFile()
96 return std::auto_ptr<Module>(); in LoadFile()
100 Module* Result = 0; in LoadFile()
104 if (Result) return std::auto_ptr<Module>(Result); // Load successful! in LoadFile()
107 return std::auto_ptr<Module>(); in LoadFile()
122 std::auto_ptr<Module> M(LoadFile(argv[0], InputFilenames[0], Context)); in main()
/frameworks/compile/libbcc/lib/Core/
DSource.cpp39 static inline llvm::Module *helper_load_bitcode(llvm::LLVMContext &pContext, in helper_load_bitcode()
42 llvm::Module *module = llvm::getLazyBitcodeModule(pInput, pContext, &error); in helper_load_bitcode()
56 void Source::setModule(llvm::Module *pModule) { in setModule()
74 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromBuffer()
100 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromFile()
128 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromFd()
143 Source *Source::CreateFromModule(BCCContext &pContext, llvm::Module &pModule, in CreateFromModule()
153 Source::Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete) in Source()
189 llvm::Module *module = in CreateEmpty()
190 new (std::nothrow) llvm::Module(pName, pContext.mImpl->mLLVMContext); in CreateEmpty()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.h92 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
95 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
111 Module& pModule,
118 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
170 bool mergeSection(Module& pModule, LDSection& pSection);
207 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
222 virtual void doCreateProgramHdrs(Module& pModule);
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragmentGraph.h28 class Module; variable
57 bool construct(const LinkerConfig& pConfig, Module& pModule);
146 bool createRegularNodes(Module& pModule);
147 bool setNodeSlots(Module& pModule);
148 bool createPseudoNodes(Module& pModule);
150 bool createRegularEdges(Module& pModule);
151 bool createPseudoEdges(Module& pModule);
DFragmentLinker.h30 class Module; variable
42 Module& pModule,
71 Module& m_Module;
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.h48 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
90 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
92 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
102 Module& pModule,
131 void doCreateProgramHdrs(Module& pModule);
/frameworks/compile/libbcc/include/bcc/Renderscript/
DRSScript.h24 class Module; variable
33 typedef llvm::Module* (*RSLinkRuntimeCallback) (bcc::RSScript *, llvm::Module *, llvm::Module *);
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitReader_2_7.h31 class Module; variable
36 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer,
44 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitReader_3_0.h30 class Module; variable
35 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer,
43 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
/frameworks/compile/slang/BitWriter_3_2/
DReaderWriter_3_2.h20 class Module; variable
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
56 void WriteBitcodeToFile(const llvm::Module *M, llvm::raw_ostream &Out);
/frameworks/compile/slang/BitWriter_2_9/
DReaderWriter_2_9.h20 class Module; variable
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
56 void WriteBitcodeToFile(const llvm::Module *M, llvm::raw_ostream &Out);
/frameworks/compile/slang/BitWriter_2_9_func/
DReaderWriter_2_9_func.h20 class Module; variable
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
56 void WriteBitcodeToFile(const llvm::Module *M, llvm::raw_ostream &Out);
/frameworks/compile/mclinker/lib/Fragment/
DFragmentGraph.cpp135 bool FragmentGraph::setNodeSlots(Module& pModule) in setNodeSlots()
142 Module::SymbolTable& sym_tab = pModule.getSymbolTable(); in setNodeSlots()
167 bool FragmentGraph::createRegularEdges(Module& pModule) in createRegularEdges()
173 Module::obj_iterator input, inEnd = pModule.obj_end(); in createRegularEdges()
221 bool FragmentGraph::createPseudoEdges(Module& pModule) in createPseudoEdges()
265 bool FragmentGraph::createPseudoNodes(Module& pModule) in createPseudoNodes()
271 Module::SymbolTable& sym_tab = pModule.getSymbolTable(); in createPseudoNodes()
295 bool FragmentGraph::createRegularNodes(Module& pModule) in createRegularNodes()
299 Module::iterator sect_it, sect_end = pModule.end(); in createRegularNodes()
387 bool FragmentGraph::construct(const LinkerConfig& pConfig, Module& pModule) in construct()
/frameworks/compile/mclinker/include/mcld/
DLinker.h19 class Module; variable
45 bool resolve(Module& pModule, IRBuilder& pBuilder);
51 bool link(Module& pModule, IRBuilder& pBuilder);
/frameworks/compile/mclinker/include/mcld/Object/
DObjectBuilder.h24 class Module; variable
38 Module& pTheModule);
97 Module& m_Module;

12345