Home
last modified time | relevance | path

Searched refs:pFrom (Results 1 – 14 of 14) sorted by relevance

/frameworks/compile/mclinker/lib/LD/
DResolveInfo.cpp35 void ResolveInfo::override(const ResolveInfo& pFrom) { in override() argument
36 m_Size = pFrom.m_Size; in override()
37 overrideAttributes(pFrom); in override()
38 overrideVisibility(pFrom); in override()
41 void ResolveInfo::overrideAttributes(const ResolveInfo& pFrom) { in overrideAttributes() argument
43 m_BitField |= (pFrom.m_BitField & (RESOLVE_MASK & ~VISIBILITY_MASK)); in overrideAttributes()
48 void ResolveInfo::overrideVisibility(const ResolveInfo& pFrom) { in overrideVisibility() argument
62 Visibility from_vis = pFrom.visibility(); in overrideVisibility()
DGarbageCollection.cpp75 const LDSection& pFrom, in addReference() argument
77 m_ReachedSections[&pFrom].insert(&pTo); in addReference()
/frameworks/compile/mclinker/lib/Object/
DObjectBuilder.cpp130 bool ObjectBuilder::MoveSectionData(SectionData& pFrom, SectionData& pTo) { in MoveSectionData() argument
131 assert(&pFrom != &pTo && "Cannot move section data to itself!"); in MoveSectionData()
135 if (pFrom.getSection().align() > 1) { in MoveSectionData()
137 unsigned int alignment = pFrom.getSection().align(); in MoveSectionData()
149 SectionData::FragmentListType& from_list = pFrom.getFragmentList(); in MoveSectionData()
166 void ObjectBuilder::UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom) { in UpdateSectionAlign() argument
167 if (pFrom.align() > pTo.align()) in UpdateSectionAlign()
168 pTo.setAlign(pFrom.align()); in UpdateSectionAlign()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp904 bool HexagonLDBackend::MoveCommonData(SectionData& pFrom, SectionData& pTo) { in MoveCommonData() argument
908 uint32_t pFromFlag = pFrom.getSection().align(); in MoveCommonData()
929 if (pFrom.getSection().align() > 1) { in MoveCommonData()
931 unsigned int alignment = pFrom.getSection().align(); in MoveCommonData()
936 pFrom.getFragmentList().push_front(align); in MoveCommonData()
939 to_list.splice(fragInsert, pFrom.getFragmentList()); in MoveCommonData()
941 to_list.splice(frag, pFrom.getFragmentList()); in MoveCommonData()
969 bool HexagonLDBackend::MoveSectionDataAndSort(SectionData& pFrom, in MoveSectionDataAndSort() argument
971 assert(&pFrom != &pTo && "Cannot move section data to itself!"); in MoveSectionDataAndSort()
975 uint32_t pFromFlag = pFrom.getSection().align(); in MoveSectionDataAndSort()
[all …]
DHexagonLDBackend.h133 bool MoveCommonData(SectionData& pFrom, SectionData& pTo);
135 bool MoveSectionDataAndSort(SectionData& pFrom, SectionData& pTo);
/frameworks/compile/mclinker/include/mcld/Object/
DObjectBuilder.h68 static bool MoveSectionData(SectionData& pFrom, SectionData& pTo);
71 static void UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom);
/frameworks/compile/mclinker/include/mcld/
DInputTree.h238 virtual void connect(TreeIteratorBase& pFrom, NodeBase* pTo) const = 0;
247 void connect(TreeIteratorBase& pFrom, NodeBase* pTo) const { in connect()
248 pFrom.hook<Positional>(pTo); in connect()
258 void connect(TreeIteratorBase& pFrom, NodeBase* pTo) const { in connect()
259 pFrom.hook<Inclusive>(pTo); in connect()
/frameworks/compile/mclinker/include/mcld/LD/
DResolveInfo.h114 void overrideAttributes(const ResolveInfo& pFrom);
116 void overrideVisibility(const ResolveInfo& pFrom);
DGarbageCollection.h39 void addReference(const LDSection& pFrom, const LDSection& pTo);
/frameworks/compile/mclinker/include/mcld/Target/
DTargetLDBackend.h142 virtual bool updateSectionFlags(LDSection& pTo, const LDSection& pFrom) { in updateSectionFlags() argument
DGNULDBackend.h197 virtual bool updateSectionFlags(LDSection& pTo, const LDSection& pFrom);
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp1211 void MipsGNULDBackend::moveSectionData(SectionData& pFrom, SectionData& pTo) { in moveSectionData() argument
1212 assert(&pFrom != &pTo && "Cannot move section data to itself!"); in moveSectionData()
1216 if (pFrom.getSection().align() > 1) { in moveSectionData()
1218 unsigned int alignment = pFrom.getSection().align(); in moveSectionData()
1230 SectionData::FragmentListType& from_list = pFrom.getFragmentList(); in moveSectionData()
DMipsLDBackend.h262 void moveSectionData(SectionData& pFrom, SectionData& pTo);
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp1598 bool GNULDBackend::updateSectionFlags(LDSection& pTo, const LDSection& pFrom) { in updateSectionFlags() argument
1601 flags |= (pFrom.flag() & (llvm::ELF::SHF_WRITE | llvm::ELF::SHF_ALLOC | in updateSectionFlags()
1605 if (0 == (pFrom.flag() & llvm::ELF::SHF_MERGE)) in updateSectionFlags()
1609 if (0 == (pFrom.flag() & llvm::ELF::SHF_STRINGS)) in updateSectionFlags()