Lines Matching refs:MCFragment
78 bool MCAsmLayout::isFragmentValid(const MCFragment *F) const { in isFragmentValid()
80 const MCFragment *LastValid = LastValidFragment.lookup(&SD); in isFragmentValid()
87 void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) { in invalidateFragmentsFrom()
98 void MCAsmLayout::ensureValid(const MCFragment *F) const { in ensureValid()
101 MCFragment *Cur = LastValidFragment[&SD]; in ensureValid()
115 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
208 const MCFragment &F = SD->getFragmentList().back(); in getSectionAddressSize()
221 uint64_t MCAsmLayout::computeBundlePadding(const MCFragment *F, in computeBundlePadding()
263 MCFragment::MCFragment() : Kind(FragmentType(~0)) { in MCFragment() function in MCFragment
266 MCFragment::~MCFragment() { in ~MCFragment()
269 MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent) in MCFragment() function in MCFragment
306 SmallVectorImpl<std::pair<unsigned, MCFragment *> >::iterator MI = in getSubsectionInsertionPoint()
308 std::make_pair(Subsection, (MCFragment *)nullptr)); in getSubsectionInsertionPoint()
323 MCFragment *F = new MCDataFragment(); in getSubsectionInsertionPoint()
335 MCSymbolData::MCSymbolData(const MCSymbol &_Symbol, MCFragment *_Fragment, in MCSymbolData()
449 const MCFixup &Fixup, const MCFragment *DF, in evaluateFixup()
523 const MCFragment &F) const { in computeFragmentSize()
525 case MCFragment::FT_Data: in computeFragmentSize()
526 case MCFragment::FT_Relaxable: in computeFragmentSize()
527 case MCFragment::FT_CompactEncodedInst: in computeFragmentSize()
529 case MCFragment::FT_Fill: in computeFragmentSize()
532 case MCFragment::FT_LEB: in computeFragmentSize()
535 case MCFragment::FT_Align: { in computeFragmentSize()
550 case MCFragment::FT_Org: { in computeFragmentSize()
565 case MCFragment::FT_Dwarf: in computeFragmentSize()
567 case MCFragment::FT_DwarfFrame: in computeFragmentSize()
574 void MCAsmLayout::layoutFragment(MCFragment *F) { in layoutFragment()
575 MCFragment *Prev = F->getPrevNode(); in layoutFragment()
627 static void writeFragmentContents(const MCFragment &F, MCObjectWriter *OW) { in writeFragmentContents()
634 const MCFragment &F) { in writeFragment()
677 case MCFragment::FT_Align: { in writeFragment()
717 case MCFragment::FT_Data: in writeFragment()
722 case MCFragment::FT_Relaxable: in writeFragment()
727 case MCFragment::FT_CompactEncodedInst: in writeFragment()
732 case MCFragment::FT_Fill: { in writeFragment()
750 case MCFragment::FT_LEB: { in writeFragment()
756 case MCFragment::FT_Org: { in writeFragment()
766 case MCFragment::FT_Dwarf: { in writeFragment()
771 case MCFragment::FT_DwarfFrame: { in writeFragment()
793 case MCFragment::FT_Data: { in writeSectionData()
810 case MCFragment::FT_Align: in writeSectionData()
817 case MCFragment::FT_Fill: in writeSectionData()
840 MCFragment &F, in handleFixup()
1051 MCFragment *FirstRelaxedFragment = nullptr; in layoutSectionOnce()
1060 case MCFragment::FT_Relaxable: in layoutSectionOnce()
1065 case MCFragment::FT_Dwarf: in layoutSectionOnce()
1069 case MCFragment::FT_DwarfFrame: in layoutSectionOnce()
1074 case MCFragment::FT_LEB: in layoutSectionOnce()
1122 void MCFragment::dump() { in dump()
1127 case MCFragment::FT_Align: OS << "MCAlignFragment"; break; in dump()
1128 case MCFragment::FT_Data: OS << "MCDataFragment"; break; in dump()
1129 case MCFragment::FT_CompactEncodedInst: in dump()
1131 case MCFragment::FT_Fill: OS << "MCFillFragment"; break; in dump()
1132 case MCFragment::FT_Relaxable: OS << "MCRelaxableFragment"; break; in dump()
1133 case MCFragment::FT_Org: OS << "MCOrgFragment"; break; in dump()
1134 case MCFragment::FT_Dwarf: OS << "MCDwarfFragment"; break; in dump()
1135 case MCFragment::FT_DwarfFrame: OS << "MCDwarfCallFrameFragment"; break; in dump()
1136 case MCFragment::FT_LEB: OS << "MCLEBFragment"; break; in dump()
1145 case MCFragment::FT_Align: { in dump()
1155 case MCFragment::FT_Data: { in dump()
1178 case MCFragment::FT_CompactEncodedInst: { in dump()
1191 case MCFragment::FT_Fill: { in dump()
1197 case MCFragment::FT_Relaxable: { in dump()
1204 case MCFragment::FT_Org: { in dump()
1210 case MCFragment::FT_Dwarf: { in dump()
1217 case MCFragment::FT_DwarfFrame: { in dump()
1223 case MCFragment::FT_LEB: { in dump()