Home
last modified time | relevance | path

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

123

/frameworks/compile/mclinker/include/mcld/Target/
DTargetLDBackend.h18 class IRBuilder; variable
58 virtual void initTargetSegments(IRBuilder& pBuilder) { } in initTargetSegments()
60 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) { } in initTargetSymbols()
61 virtual void initTargetRelocation(IRBuilder& pBuilder) { } in initTargetRelocation()
62 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0;
70 virtual ObjectReader* createObjectReader(IRBuilder&) = 0;
71 virtual DynObjReader* createDynObjReader(IRBuilder&) = 0;
72 virtual BinaryReader* createBinaryReader(IRBuilder&) = 0;
81 virtual void preLayout(Module& pModule, IRBuilder& pBuilder) = 0;
84 virtual void postLayout(Module& pModule, IRBuilder& pBuilder) = 0;
[all …]
DGNULDBackend.h39 class IRBuilder; variable
60 ELFObjectReader* createObjectReader(IRBuilder& pBuilder);
61 ELFDynObjReader* createDynObjReader(IRBuilder& pBuilder);
62 ELFBinaryReader* createBinaryReader(IRBuilder& pBuilder);
81 bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule);
350 void preLayout(Module& pModule, IRBuilder& pBuilder);
353 void postLayout(Module& pModule, IRBuilder& pBuilder);
356 virtual void doPreLayout(IRBuilder& pBuilder) = 0;
359 virtual void doPostLayout(Module& pModule, IRBuilder& pLinker) = 0;
371 bool relax(Module& pModule, IRBuilder& pBuilder);
[all …]
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp114 IRBuilder::IRBuilder(Module& pModule, const LinkerConfig& pConfig) in IRBuilder() function in IRBuilder
122 IRBuilder::~IRBuilder() in ~IRBuilder()
127 Input* IRBuilder::CreateInput(const std::string& pName, in CreateInput()
144 IRBuilder::ReadInput(const std::string& pName, const sys::fs::Path& pPath) in ReadInput()
159 Input* IRBuilder::ReadInput(const std::string& pNameSpec) in ReadInput()
200 Input* IRBuilder::ReadInput(raw_mem_ostream& pMemOStream) in ReadInput()
223 Input* IRBuilder::ReadInput(FileHandle& pFileHandle) in ReadInput()
242 Input* IRBuilder::ReadInput(const std::string& pName, void* pRawMemory, size_t pSize) in ReadInput()
251 bool IRBuilder::StartGroup() in StartGroup()
261 bool IRBuilder::EndGroup() in EndGroup()
[all …]
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h48 class IRBuilder
68 IRBuilder(Module& pModule, const LinkerConfig& pConfig);
70 ~IRBuilder();
500 IRBuilder::AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>(
511 IRBuilder::AddSymbol<IRBuilder::AsReferred, IRBuilder::Unresolve>(
522 IRBuilder::AddSymbol<IRBuilder::Force, IRBuilder::Resolve>(
533 IRBuilder::AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>(
DLinker.h26 class IRBuilder; variable
46 bool normalize(Module& pModule, IRBuilder& pBuilder);
55 bool link(Module& pModule, IRBuilder& pBuilder);
80 IRBuilder* m_pIRBuilder;
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp70 void MipsGNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) in initTargetSymbols()
74 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
84 m_pGpDispSymbol = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
113 void MipsGNULDBackend::doPreLayout(IRBuilder& pBuilder) in doPreLayout()
142 void MipsGNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) in doPostLayout()
292 bss_sect_data = IRBuilder::CreateSectionData(bss_sect); in allocateCommonSymbols()
298 tbss_sect_data = IRBuilder::CreateSectionData(tbss_sect); in allocateCommonSymbols()
365 void MipsGNULDBackend::defineGOTSymbol(IRBuilder& pBuilder) in defineGOTSymbol()
374 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol()
385 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>( in defineGOTSymbol()
DMipsLDBackend.h40 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
49 void doPreLayout(IRBuilder& pBuilder);
52 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
111 void defineGOTSymbol(IRBuilder& pBuilder);
DMipsRelocator.h41 IRBuilder& pBuilder,
86 IRBuilder& pBuilder,
90 IRBuilder& pBuilder,
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.h96 IRBuilder& pBuilder,
108 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker,
114 IRBuilder& pBuilder,
119 IRBuilder& pBuilder,
166 IRBuilder& pBuilder,
171 IRBuilder& pBuilder,
218 IRBuilder& pBuilder,
223 IRBuilder& pBuilder,
DX86LDBackend.h44 void doPreLayout(IRBuilder& pBuilder);
47 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
83 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
108 void defineGOTSymbol(IRBuilder& pBuilder, Fragment&);
123 virtual void setGOTSectionSize(IRBuilder& pBuilder) = 0;
176 void setGOTSectionSize(IRBuilder& pBuilder);
216 void setGOTSectionSize(IRBuilder& pBuilder);
DX86LDBackend.cpp80 void X86GNULDBackend::doPreLayout(IRBuilder& pBuilder) in doPreLayout()
111 IRBuilder& pBuilder) in doPostLayout()
131 void X86GNULDBackend::defineGOTSymbol(IRBuilder& pBuilder, in defineGOTSymbol()
136 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol()
147 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>( in defineGOTSymbol()
271 void X86GNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) in initTargetSymbols()
277 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
392 void X86_32GNULDBackend::setGOTSectionSize(IRBuilder& pBuilder) in setGOTSectionSize()
540 void X86_64GNULDBackend::setGOTSectionSize(IRBuilder& pBuilder) in setGOTSectionSize()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.cpp117 void ARMGNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) in initTargetSymbols()
122 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
139 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
150 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
166 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
177 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols()
203 void ARMGNULDBackend::doPreLayout(IRBuilder& pBuilder) in doPreLayout()
242 void ARMGNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) in doPostLayout()
284 void ARMGNULDBackend::defineGOTSymbol(IRBuilder& pBuilder) in defineGOTSymbol()
288 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol()
[all …]
DARMLDBackend.h52 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
62 void doPreLayout(IRBuilder& pBuilder);
65 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
122 void defineGOTSymbol(IRBuilder& pBuilder);
135 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
DARMRelocator.h107 IRBuilder& pBuilder,
115 IRBuilder& pBuilder,
127 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker,
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.h49 void doPreLayout(IRBuilder& pBuilder);
54 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
98 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
106 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
150 void defineGOTSymbol(IRBuilder& pBuilder, Fragment&);
167 virtual void setGOTSectionSize(IRBuilder& pBuilder);
DHexagonLDBackend.cpp80 void HexagonLDBackend::doPreLayout(IRBuilder& pBuilder) in doPreLayout()
114 void HexagonLDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) in doPostLayout()
306 void HexagonLDBackend::setGOTSectionSize(IRBuilder& pBuilder) in setGOTSectionSize()
341 void HexagonLDBackend::defineGOTSymbol(IRBuilder& pBuilder, in defineGOTSymbol()
346 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol()
357 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>( in defineGOTSymbol()
464 IRBuilder::CreateSectionData(*m_pscommon_1); in initTargetSections()
471 IRBuilder::CreateSectionData(*m_pscommon_2); in initTargetSections()
478 IRBuilder::CreateSectionData(*m_pscommon_4); in initTargetSections()
485 IRBuilder::CreateSectionData(*m_pscommon_8); in initTargetSections()
[all …]
DHexagonRelocator.h96 IRBuilder& pBuilder,
132 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker,
138 IRBuilder& pBuilder,
143 IRBuilder& pBuilder,
/frameworks/compile/mclinker/include/mcld/LD/
DELFBinaryReader.h21 class IRBuilder; variable
32 IRBuilder& pBuilder,
41 IRBuilder& m_Builder;
DELFDynObjReader.h21 class IRBuilder; variable
33 IRBuilder& pBuilder,
47 IRBuilder& m_Builder;
DELFObjectReader.h22 class IRBuilder; variable
43 IRBuilder& pBuilder,
66 IRBuilder& m_Builder;
/frameworks/compile/mclinker/lib/LD/
DELFObjectReader.cpp33 IRBuilder& pBuilder, in ELFObjectReader()
158 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
164 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
195 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
205 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
213 EhFrame* eh_frame = IRBuilder::CreateEhFrame(**section); in readSections()
235 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
243 IRBuilder::CreateBSS(**section); in readSections()
314 IRBuilder::CreateRelocData(**rs); ///< create relocation data for the header in readRelocations()
/frameworks/compile/mclinker/include/mcld/CodeGen/
DMCLinker.h32 class IRBuilder; variable
69 void initializeInputTree(IRBuilder& pBuilder);
75 IRBuilder* m_pBuilder;
/frameworks/compile/mclinker/unittests/
DLinkerTest.cpp61 IRBuilder builder(module, config); in TEST_F()
102 IRBuilder builder(module, config); in TEST_F()
160 IRBuilder builder1(module1, config1); in TEST_F()
209 IRBuilder builder2(module2, config2); in TEST_F()
257 IRBuilder *builder1 = new IRBuilder(module1, config1); in TEST_F()
311 IRBuilder* builder2 = new IRBuilder(module2, config2); in TEST_F()
355 IRBuilder builder(module, config); in TEST_F()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp150 ELFObjectReader* GNULDBackend::createObjectReader(IRBuilder& pBuilder) in createObjectReader()
156 ELFDynObjReader* GNULDBackend::createDynObjReader(IRBuilder& pBuilder) in createDynObjReader()
161 ELFBinaryReader* GNULDBackend::createBinaryReader(IRBuilder& pBuilder) in createBinaryReader()
204 bool GNULDBackend::initStandardSymbols(IRBuilder& pBuilder, in initStandardSymbols()
234 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
247 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
273 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
283 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
305 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
315 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initStandardSymbols()
[all …]
/frameworks/compile/mclinker/include/mcld/Object/
DObjectLinker.h25 class IRBuilder; variable
51 void setup(Module& pModule, IRBuilder& pBuilder);
161 IRBuilder* m_pBuilder;

123