Home
last modified time | relevance | path

Searched refs:IRBuilder (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp111 IRBuilder::IRBuilder(Module& pModule, const LinkerConfig& pConfig) in IRBuilder() function in mcld::IRBuilder
119 IRBuilder::~IRBuilder() { in ~IRBuilder()
123 Input* IRBuilder::CreateInput(const std::string& pName, in CreateInput()
139 Input* IRBuilder::ReadInput(const std::string& pName, in ReadInput()
156 Input* IRBuilder::ReadInput(const std::string& pNameSpec) { in ReadInput()
195 Input* IRBuilder::ReadInput(FileHandle& pFileHandle) { in ReadInput()
212 Input* IRBuilder::ReadInput(const std::string& pName, in ReadInput()
222 bool IRBuilder::StartGroup() { in StartGroup()
231 bool IRBuilder::EndGroup() { in EndGroup()
236 void IRBuilder::WholeArchive() { in WholeArchive()
[all …]
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h44 class IRBuilder {
53 IRBuilder(Module& pModule, const LinkerConfig& pConfig);
55 ~IRBuilder();
488 LDSymbol* IRBuilder::AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>(
499 LDSymbol* IRBuilder::AddSymbol<IRBuilder::AsReferred, IRBuilder::Unresolve>(
510 LDSymbol* IRBuilder::AddSymbol<IRBuilder::Force, IRBuilder::Resolve>(
521 LDSymbol* IRBuilder::AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>(
DLinker.h18 class IRBuilder; variable
39 bool normalize(Module& pModule, IRBuilder& pBuilder);
48 bool link(Module& pModule, IRBuilder& pBuilder);
73 IRBuilder* m_pIRBuilder;
/frameworks/compile/mclinker/include/mcld/Target/
DTargetLDBackend.h30 class IRBuilder; variable
61 virtual void initTargetSegments(IRBuilder& pBuilder) {} in initTargetSegments()
63 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) {} in initTargetSymbols()
64 virtual void initTargetRelocation(IRBuilder& pBuilder) {} in initTargetRelocation()
65 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0;
74 virtual ObjectReader* createObjectReader(IRBuilder&) = 0;
75 virtual DynObjReader* createDynObjReader(IRBuilder&) = 0;
76 virtual BinaryReader* createBinaryReader(IRBuilder&) = 0;
85 virtual void preLayout(Module& pModule, IRBuilder& pBuilder) = 0;
88 virtual void postLayout(Module& pModule, IRBuilder& pBuilder) = 0;
[all …]
DGNULDBackend.h36 class IRBuilder; variable
57 ELFObjectReader* createObjectReader(IRBuilder& pBuilder);
58 ELFDynObjReader* createDynObjReader(IRBuilder& pBuilder);
59 ELFBinaryReader* createBinaryReader(IRBuilder& pBuilder);
78 bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule);
413 void preLayout(Module& pModule, IRBuilder& pBuilder);
416 void postLayout(Module& pModule, IRBuilder& pBuilder);
419 virtual void doPreLayout(IRBuilder& pBuilder) = 0;
422 virtual void doPostLayout(Module& pModule, IRBuilder& pLinker) = 0;
434 virtual bool relax(Module& pModule, IRBuilder& pBuilder);
[all …]
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64LDBackend.h44 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
54 void doPreLayout(IRBuilder& pBuilder);
57 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
117 void defineGOTSymbol(IRBuilder& pBuilder);
123 IRBuilder& pBuilder,
134 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
DAArch64LDBackend.cpp125 void AArch64GNULDBackend::initTargetSymbols(IRBuilder& pBuilder, in initTargetSymbols()
131 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
160 void AArch64GNULDBackend::defineGOTSymbol(IRBuilder& pBuilder) { in defineGOTSymbol()
163 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol()
173 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>( in defineGOTSymbol()
185 void AArch64GNULDBackend::doPreLayout(IRBuilder& pBuilder) { in doPreLayout()
235 void AArch64GNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { in doPostLayout()
312 IRBuilder& pBuilder, in scanErrata()
361 IRBuilder& pBuilder, in doRelax()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.h81 IRBuilder& pBuilder,
94 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker,
100 IRBuilder& pBuilder,
105 IRBuilder& pBuilder,
161 IRBuilder& pBuilder,
166 IRBuilder& pBuilder,
226 IRBuilder& pBuilder,
231 IRBuilder& pBuilder,
DX86LDBackend.h44 void doPreLayout(IRBuilder& pBuilder);
47 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
84 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
108 void defineGOTSymbol(IRBuilder& pBuilder, Fragment&);
121 virtual void setGOTSectionSize(IRBuilder& pBuilder) = 0;
178 void setGOTSectionSize(IRBuilder& pBuilder);
220 void setGOTSectionSize(IRBuilder& pBuilder);
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.h53 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
63 void doPreLayout(IRBuilder& pBuilder);
66 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
141 void defineGOTSymbol(IRBuilder& pBuilder);
152 virtual bool relax(Module& pModule, IRBuilder& pBuilder);
158 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
DARMLDBackend.cpp197 void ARMGNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) { in initTargetSymbols()
202 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
218 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
228 m_pEXIDXEnd = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
244 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
254 m_pEXIDXEnd = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
283 void ARMGNULDBackend::doPreLayout(IRBuilder& pBuilder) { in doPreLayout()
325 void ARMGNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { in doPostLayout()
364 void ARMGNULDBackend::defineGOTSymbol(IRBuilder& pBuilder) { in defineGOTSymbol()
367 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol()
[all …]
DARMRelocator.h90 IRBuilder& pBuilder,
111 IRBuilder& pBuilder,
123 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker,
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.h48 void doPreLayout(IRBuilder& pBuilder);
53 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
97 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
105 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
146 void defineGOTSymbol(IRBuilder& pBuilder, Fragment&);
162 virtual void setGOTSectionSize(IRBuilder& pBuilder);
DHexagonLDBackend.cpp84 void HexagonLDBackend::doPreLayout(IRBuilder& pBuilder) { in doPreLayout()
119 void HexagonLDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { in doPostLayout()
291 void HexagonLDBackend::setGOTSectionSize(IRBuilder& pBuilder) { in setGOTSectionSize()
323 void HexagonLDBackend::defineGOTSymbol(IRBuilder& pBuilder, Fragment& pFrag) { in defineGOTSymbol()
326 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol()
336 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>( in defineGOTSymbol()
440 IRBuilder::CreateSectionData(*m_pscommon_1); in initTargetSections()
448 IRBuilder::CreateSectionData(*m_pscommon_2); in initTargetSections()
456 IRBuilder::CreateSectionData(*m_pscommon_4); in initTargetSections()
464 IRBuilder::CreateSectionData(*m_pscommon_8); in initTargetSections()
[all …]
DHexagonRelocator.h79 IRBuilder& pBuilder,
124 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker,
130 IRBuilder& pBuilder,
135 IRBuilder& pBuilder,
/frameworks/compile/mclinker/lib/LD/
DELFObjectReader.cpp36 IRBuilder& pBuilder, in ELFObjectReader()
166 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
175 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
207 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
217 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
225 EhFrame* eh_frame = IRBuilder::CreateEhFrame(**section); in readSections()
245 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
253 IRBuilder::CreateBSS(**section); in readSections()
315 IRBuilder::CreateRelocData( in readRelocations()
/frameworks/compile/mclinker/include/mcld/LD/
DELFBinaryReader.h17 class IRBuilder; variable
25 ELFBinaryReader(IRBuilder& pBuilder, const LinkerConfig& pConfig);
34 IRBuilder& m_Builder;
DELFDynObjReader.h18 class IRBuilder; variable
28 IRBuilder& pBuilder,
42 IRBuilder& m_Builder;
DStubFactory.h19 class IRBuilder; variable
38 IRBuilder& pBuilder,
42 IRBuilder& pBuilder,
DELFObjectReader.h20 class IRBuilder; variable
38 IRBuilder& pBuilder,
61 IRBuilder& m_Builder;
/frameworks/compile/mclinker/lib/Fragment/
DStub.cpp33 IRBuilder& pBuilder, in applyFixup()
45 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in applyFixup()
68 IRBuilder& pBuilder, in applyFixup()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.h48 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
55 void doPreLayout(IRBuilder& pBuilder);
58 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
141 void defineGOTSymbol(IRBuilder& pBuilder);
142 void defineGOTPLTSymbol(IRBuilder& pBuilder);
144 bool relaxRelocation(IRBuilder& pBuilder, Relocation& pRel);
164 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
DMipsLDBackend.cpp123 void MipsGNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) { in initTargetSymbols()
126 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
138 m_pPLTSymbol = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
149 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
159 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Unresolve>( in initTargetSymbols()
180 void MipsGNULDBackend::doPreLayout(IRBuilder& pBuilder) { in doPreLayout()
230 void MipsGNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { in doPostLayout()
454 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); in readSection()
603 bss_sect_data = IRBuilder::CreateSectionData(bss_sect); in allocateCommonSymbols()
609 tbss_sect_data = IRBuilder::CreateSectionData(tbss_sect); in allocateCommonSymbols()
[all …]
/frameworks/compile/mclinker/unittests/
DLinkerTest.cpp56 IRBuilder builder(module, config); in TEST_F()
96 IRBuilder builder(module, config); in TEST_F()
155 IRBuilder builder1(module1, config1); in TEST_F()
205 IRBuilder builder2(module2, config2); in TEST_F()
253 IRBuilder* builder1 = new IRBuilder(module1, config1); in TEST_F()
308 IRBuilder* builder2 = new IRBuilder(module2, config2); in TEST_F()
351 IRBuilder builder(module, config); in TEST_F()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp164 ELFObjectReader* GNULDBackend::createObjectReader(IRBuilder& pBuilder) { in createObjectReader()
169 ELFDynObjReader* GNULDBackend::createDynObjReader(IRBuilder& pBuilder) { in createDynObjReader()
173 ELFBinaryReader* GNULDBackend::createBinaryReader(IRBuilder& pBuilder) { in createBinaryReader()
213 bool GNULDBackend::initStandardSymbols(IRBuilder& pBuilder, Module& pModule) { in initStandardSymbols()
241 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
254 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
279 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
290 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
310 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
321 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
[all …]

123