Searched refs:RegionFragment (Results 1 - 19 of 19) sorted by relevance

/frameworks/compile/mclinker/lib/Fragment/
H A DRegionFragment.cpp1 //===- RegionFragment.cpp -------------------------------------------------===//
9 #include "mcld/Fragment/RegionFragment.h"
14 // RegionFragment
16 RegionFragment::RegionFragment(llvm::StringRef pRegion, SectionData* pSD) function in class:mcld::RegionFragment
20 RegionFragment::~RegionFragment() {
23 size_t RegionFragment::size() const {
H A DAndroid.mk9 RegionFragment.cpp \
H A DFragmentRef.cpp12 #include "mcld/Fragment/RegionFragment.h"
126 RegionFragment* region_frag = static_cast<RegionFragment*>(m_pFragment);
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DRegionFragment.h1 //===- RegionFragment.h ---------------------------------------------------===//
18 /** \class RegionFragment
19 * \brief RegionFragment is a kind of Fragment containing input memory region
21 class RegionFragment : public Fragment { class in namespace:mcld
23 explicit RegionFragment(llvm::StringRef pRegion, SectionData* pSD = NULL);
25 ~RegionFragment();
34 static bool classof(const RegionFragment*) { return true; } argument
/frameworks/compile/mclinker/unittests/
H A DFragmentRefTest.cpp12 #include "mcld/Fragment/RegionFragment.h"
51 RegionFragment* frag = new RegionFragment(region);
60 static_cast<RegionFragment*>(ref->frag())->getRegion().data()[0]);
62 static_cast<RegionFragment*>(ref->frag())->getRegion().size());
65 ASSERT_TRUE(RegionFragment::classof(frag));
/frameworks/compile/mclinker/lib/LD/
H A DDebugString.cpp16 #include "mcld/Fragment/RegionFragment.h"
46 RegionFragment* frag = llvm::cast<RegionFragment>(&(*it));
74 RegionFragment* frag =
75 llvm::cast<RegionFragment>(info->outSymbol()->fragRef()->frag());
H A DIdenticalCodeFolding.cpp13 #include "mcld/Fragment/RegionFragment.h"
222 const RegionFragment& region = llvm::cast<RegionFragment>(*frag);
227 // FIXME: Currently we only take care of RegionFragment.
H A DEhFrame.cpp33 EhFrame::Record::Record(llvm::StringRef pRegion) : RegionFragment(pRegion) {
H A DELFObjectWriter.cpp18 #include "mcld/Fragment/RegionFragment.h"
657 const RegionFragment& region_frag =
658 llvm::cast<RegionFragment>(*fragIter);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMException.h28 class RegionFragment;
55 RegionFragment* getTextFragment() const {
59 RegionFragment* getExIdxFragment() const {
63 void setTextFragment(RegionFragment* pFragment) {
67 void setExIdxFragment(RegionFragment* pFragment) {
75 RegionFragment* m_pTextFragment;
81 RegionFragment* m_pExIdxFragment;
176 // Map from .ARM.exidx RegionFragment to ARMExSectionTuple
H A DARMException.cpp14 #include "mcld/Fragment/RegionFragment.h"
23 static RegionFragment* findRegionFragment(LDSection& pSection) {
28 return static_cast<RegionFragment*>(&*it);
80 // Remove the invalid exception tuples and convert LDSection to RegionFragment
100 // Get RegionFragment from ".text", ".ARM.exidx", and ".ARM.extab" sections.
101 RegionFragment* textFrag = findRegionFragment(*text);
102 RegionFragment* exIdxFrag = findRegionFragment(*exIdx);
H A DARMLDBackend.cpp27 #include "mcld/Fragment/RegionFragment.h"
428 const RegionFragment& region_frag =
429 llvm::cast<RegionFragment>(*frag_iter);
522 // Move RegionFragment from pSection to m_pEXIDX.
630 frag = new RegionFragment(region);
754 RegionFragment* frag = new RegionFragment(cantUnwindRegion, nullptr);
774 RegionFragment* frag = new RegionFragment(cantUnwindRegion, nullptr);
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrame.h13 #include "mcld/Fragment/RegionFragment.h"
59 class Record : public RegionFragment {
65 return RegionFragment::getRegion();
67 llvm::StringRef getRegion() { return RegionFragment::getRegion(); }
/frameworks/compile/mclinker/lib/Target/
H A DELFAttribute.cpp12 #include "mcld/Fragment/RegionFragment.h"
44 // RegionFragment in the section data.
49 (!llvm::isa<RegionFragment>(sect_data->front()))) {
53 const RegionFragment& region_frag =
54 llvm::cast<RegionFragment>(sect_data->front());
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsAbiFlags.cpp11 #include "mcld/Fragment/RegionFragment.h"
59 if (secData->size() != 2 || !llvm::isa<RegionFragment>(secData->front())) {
64 const auto& frag = llvm::cast<RegionFragment>(secData->front());
H A DMipsLDBackend.cpp298 const RegionFragment& region_frag =
299 llvm::cast<RegionFragment>(*frag_iter);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp20 #include "mcld/Fragment/RegionFragment.h"
195 const RegionFragment& region_frag =
196 llvm::cast<RegionFragment>(*frag_iter);
960 frag = new RegionFragment(region);
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp348 return new RegionFragment(region);
357 return new RegionFragment(region);
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LDBackend.cpp25 #include "mcld/Fragment/RegionFragment.h"
323 Fragment* frag = llvm::dyn_cast<RegionFragment>(it);

Completed in 328 milliseconds