Lines Matching refs:OW
661 static void writeFragmentContents(const MCFragment &F, MCObjectWriter *OW) { in writeFragmentContents() argument
663 OW->WriteBytes(EF.getContents()); in writeFragmentContents()
667 MCObjectWriter *OW) const { in writeFragmentPadding()
687 if (!getBackend().writeNopData(DistanceToBoundary, OW)) in writeFragmentPadding()
692 if (!getBackend().writeNopData(BundlePadding, OW)) in writeFragmentPadding()
701 MCObjectWriter *OW = &Asm.getWriter(); in writeFragment() local
706 Asm.writeFragmentPadding(F, FragmentSize, OW); in writeFragment()
710 uint64_t Start = OW->getStream().tell(); in writeFragment()
737 if (!Asm.getBackend().writeNopData(Count, OW)) in writeFragment()
747 case 1: OW->Write8 (uint8_t (AF.getValue())); break; in writeFragment()
748 case 2: OW->Write16(uint16_t(AF.getValue())); break; in writeFragment()
749 case 4: OW->Write32(uint32_t(AF.getValue())); break; in writeFragment()
750 case 8: OW->Write64(uint64_t(AF.getValue())); break; in writeFragment()
758 writeFragmentContents(F, OW); in writeFragment()
763 writeFragmentContents(F, OW); in writeFragment()
768 writeFragmentContents(F, OW); in writeFragment()
780 case 1: OW->Write8 (uint8_t (FF.getValue())); break; in writeFragment()
781 case 2: OW->Write16(uint16_t(FF.getValue())); break; in writeFragment()
782 case 4: OW->Write32(uint32_t(FF.getValue())); break; in writeFragment()
783 case 8: OW->Write64(uint64_t(FF.getValue())); break; in writeFragment()
791 OW->WriteBytes(LF.getContents()); in writeFragment()
800 OW->Write8(uint8_t(OF.getValue())); in writeFragment()
807 OW->WriteBytes(OF.getContents()); in writeFragment()
812 OW->WriteBytes(CF.getContents()); in writeFragment()
817 assert(OW->getStream().tell() - Start == FragmentSize && in writeFragment()