Home
last modified time | relevance | path

Searched refs:pType (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/compile/mclinker/lib/LD/
DELFSegmentFactory.cpp18 ELFSegmentFactory::iterator ELFSegmentFactory::find(uint32_t pType, in find() argument
23 if ((*segment)->type() == pType && in find()
33 uint32_t pType, in find() argument
38 if ((*segment)->type() == pType && in find()
47 ELFSegmentFactory::iterator ELFSegmentFactory::find(uint32_t pType, in find() argument
51 if ((*segment)->type() == pType) { in find()
63 uint32_t pType, in find() argument
67 if ((*segment)->type() == pType) { in find()
78 ELFSegment* ELFSegmentFactory::produce(uint32_t pType, uint32_t pFlag) { in produce() argument
79 m_Segments.push_back(ELFSegment::Create(pType, pFlag)); in produce()
[all …]
DELFSegment.cpp39 ELFSegment::ELFSegment(uint32_t pType, uint32_t pFlag) in ELFSegment() argument
40 : m_Type(pType), in ELFSegment()
84 ELFSegment* ELFSegment::Create(uint32_t pType, uint32_t pFlag) { in Create() argument
86 new (seg) ELFSegment(pType, pFlag); in Create()
DLDSection.cpp41 uint32_t pType, in LDSection() argument
47 m_Type(pType), in LDSection()
68 uint32_t pType, in Create() argument
73 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr); in Create()
DNamePool.cpp36 ResolveInfo::Type pType, in createSymbol() argument
45 (*result)->setType(pType); in createSymbol()
58 ResolveInfo::Type pType, in insertSymbol() argument
82 new_symbol->setType(pType); in insertSymbol()
/frameworks/compile/mclinker/lib/MC/
DSearchDirs.cpp71 mcld::Input::Type pType) { in find() argument
72 assert(Input::DynObj == pType || Input::Archive == pType || in find()
73 Input::Script == pType); in find()
76 switch (pType) { in find()
95 switch (pType) { in find()
136 mcld::Input::Type pType) const { in find()
137 assert(Input::DynObj == pType || Input::Archive == pType || in find()
138 Input::Script == pType); in find()
141 switch (pType) { in find()
160 switch (pType) { in find()
DInputFactory.cpp35 unsigned int pType, in produce() argument
38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset); in produce()
44 unsigned int pType, in produce() argument
47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset); in produce()
DInput.cpp45 unsigned int pType, in Input() argument
47 : m_Type(pType), in Input()
61 unsigned int pType, in Input() argument
63 : m_Type(pType), in Input()
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp31 LDFileFormat::Kind GetELFSectionKind(uint32_t pType, in GetELFSectionKind() argument
64 switch (pType) { in GetELFSectionKind()
99 if ((pType >= llvm::ELF::SHT_LOPROC && pType <= llvm::ELF::SHT_HIPROC) || in GetELFSectionKind()
100 (pType >= llvm::ELF::SHT_LOOS && pType <= llvm::ELF::SHT_HIOS) || in GetELFSectionKind()
101 (pType >= llvm::ELF::SHT_LOUSER && pType <= llvm::ELF::SHT_HIUSER)) in GetELFSectionKind()
103 fatal(diag::err_unsupported_section) << pName << pType; in GetELFSectionKind()
125 Input::Type pType) { in CreateInput() argument
126 if (Input::Unknown == pType) in CreateInput()
129 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, pType); in CreateInput()
270 uint32_t pType, in CreateELFHeader() argument
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DELFSegmentFactory.h45 iterator find(uint32_t pType, uint32_t pFlagSet, uint32_t pFlagClear);
47 const_iterator find(uint32_t pType,
51 iterator find(uint32_t pType, const LDSection* pSection);
53 const_iterator find(uint32_t pType, const LDSection* pSection) const;
58 ELFSegment* produce(uint32_t pType, uint32_t pFlag = llvm::ELF::PF_R);
61 uint32_t pType,
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h89 Input::Type pType);
224 uint32_t pType,
388 ResolveInfo::Type pType,
434 ResolveInfo::Type pType,
452 Relocation::Type pType,
463 ResolveInfo::Type pType,
473 ResolveInfo::Type pType,
490 ResolveInfo::Type pType,
501 ResolveInfo::Type pType,
512 ResolveInfo::Type pType,
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.h137 const char* getName(Relocation::Type pType) const;
150 Relocation::Type pType) = 0;
157 Relocation::Type pType);
208 Relocation::Type pType);
209 Size getSize(Relocation::Type pType) const;
223 Relocation::Type pType);
224 Size getSize(Relocation::Type pType) const;
DMipsLDBackend.h38 bool needsLA25Stub(Relocation::Type pType, const mcld::ResolveInfo* pSym);
171 Relocation::Type& pType,
177 Relocation::Type& pType,
184 Relocation::Type& pType,
190 Relocation::Type& pType,
197 Relocation::Type pType,
203 Relocation::Type pType,
210 Relocation::Type pType,
216 Relocation::Type pType,
DMipsGOT.cpp64 void MipsGOT::GOTMultipart::consumeTLS(Relocation::Type pType) { in consumeTLS() argument
67 m_ConsumedTLS += pType == llvm::ELF::R_MIPS_TLS_GOTTPREL ? 1 : 2; in consumeTLS()
349 Fragment* MipsGOT::consumeTLS(Relocation::Type pType) { in consumeTLS() argument
356 m_MultipartList[m_CurrentGOTPart].consumeTLS(pType); in consumeTLS()
405 Relocation::Type pType) { in recordTLSEntry() argument
406 if (pType == llvm::ELF::R_MIPS_TLS_LDM) { in recordTLSEntry()
408 } else if (pType == llvm::ELF::R_MIPS_TLS_GD) { in recordTLSEntry()
414 } else if (pType == llvm::ELF::R_MIPS_TLS_GOTTPREL) { in recordTLSEntry()
426 Relocation::Type pType) { in lookupTLSEntry() argument
427 if (pType == llvm::ELF::R_MIPS_TLS_LDM) in lookupTLSEntry()
[all …]
DMipsRelocator.cpp29 static bool HasSubType(const Relocation& pParent, Relocation::Type pType) { in HasSubType() argument
30 if (llvm::ELF::R_MIPS_NONE == pType) in HasSubType()
36 if ((type & 0xff) == pType) in HasSubType()
81 MipsRelocationInfo(Relocation& pParent, Relocation::Type pType, in MipsRelocationInfo() argument
84 m_Type(pType), in MipsRelocationInfo()
179 const char* MipsRelocator::getName(Relocation::Type pType) const { in getName()
180 return ApplyFunctions[pType & 0xff].name; in getName()
748 Relocation::Type pType) { in setupRelDynEntry() argument
750 relEntry.setType(pType); in setupRelDynEntry()
769 Relocation::Type pType) { in setupTLSDynEntry() argument
[all …]
DMipsGOT.h64 Fragment* consumeTLS(Relocation::Type pType);
73 Relocation::Type pType);
74 Fragment* lookupTLSEntry(const ResolveInfo* pInfo, Relocation::Type pType);
131 void consumeTLS(Relocation::Type pType);
DMipsLDBackend.cpp74 bool MipsGNULDBackend::needsLA25Stub(Relocation::Type pType, in needsLA25Stub() argument
79 if (llvm::ELF::R_MIPS_26 != pType) in needsLA25Stub()
899 Relocation::Type& pType, in readRelocation() argument
902 return GNULDBackend::readRelocation(pRel, pType, pSymIdx, pOffset); in readRelocation()
906 Relocation::Type& pType, in readRelocation() argument
910 return GNULDBackend::readRelocation(pRel, pType, pSymIdx, pOffset, pAddend); in readRelocation()
914 Relocation::Type& pType, in readRelocation() argument
930 pType = mcld::bswap32(r_info >> 32); in readRelocation()
936 Relocation::Type& pType, in readRelocation() argument
951 pType = mcld::bswap32(r_info >> 32); in readRelocation()
[all …]
/frameworks/compile/mclinker/lib/Fragment/
DRelocation.cpp47 Relocation* Relocation::Create(Type pType, in Create() argument
50 return g_RelocationFactory->produce(pType, pFragRef, pAddend); in Create()
66 Relocation::Relocation(Relocation::Type pType, in Relocation() argument
70 : m_Type(pType), in Relocation()
126 void Relocation::setType(Type pType) { in setType() argument
127 m_Type = pType; in setType()
/frameworks/compile/mclinker/include/mcld/MC/
DInputBuilder.h57 unsigned int pType = Input::Unknown);
62 unsigned int pType = Input::Unknown,
106 unsigned int pType) {
109 Input* input = createInput(pName, pPath, pType);
121 unsigned int pType) {
124 Input* input = createInput(pName, pPath, pType);
DInput.h52 unsigned int pType = Unknown,
58 unsigned int pType = Unknown,
71 void setType(unsigned int pType) { m_Type = pType; } in setType() argument
DInputFactory.h41 unsigned int pType = Input::Unknown,
46 unsigned int pType = Input::Unknown,
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.h69 virtual const char* getName(Relocation::Type pType) const = 0;
135 const char* getName(Relocation::Type pType) const;
137 Size getSize(Relocation::Type pType) const;
199 const char* getName(Relocation::Type pType) const;
201 Size getSize(Relocation::Type pType) const;
/frameworks/compile/mclinker/include/mcld/Fragment/
DRelocation.h40 Relocation(Type pType,
61 static Relocation* Create(Type pType,
102 void setType(Type pType);
DStub.h36 Fixup(DWord pOffset, SWord pAddend, Type pType) in Fixup() argument
37 : m_Offset(pOffset), m_Addend(pAddend), m_Type(pType) {} in Fixup()
129 void addFixup(DWord pOffset, SWord pAddend, Type pType);
/frameworks/compile/mclinker/include/mcld/Target/
DGNULDBackend.h201 uint32_t& pType,
207 uint32_t& pType,
214 uint32_t& pType,
220 uint32_t& pType,
227 uint32_t pType,
233 uint32_t pType,
240 uint32_t pType,
246 uint32_t pType,
/frameworks/compile/mclinker/lib/Script/
DInputToken.cpp19 InputToken::InputToken(Type pType, const std::string& pName, bool pAsNeeded) in InputToken() argument
20 : StrToken(StrToken::Input, pName), m_Type(pType), m_bAsNeeded(pAsNeeded) { in InputToken()

123