Lines Matching refs:OW
389 MCObjectWriter *OW) const { in writeFragmentPadding()
409 if (!getBackend().writeNopData(DistanceToBoundary, OW)) in writeFragmentPadding()
414 if (!getBackend().writeNopData(BundlePadding, OW)) in writeFragmentPadding()
423 MCObjectWriter *OW = &Asm.getWriter(); in writeFragment() local
428 Asm.writeFragmentPadding(F, FragmentSize, OW); in writeFragment()
432 uint64_t Start = OW->getStream().tell(); in writeFragment()
459 if (!Asm.getBackend().writeNopData(Count, OW)) in writeFragment()
469 case 1: OW->write8 (uint8_t (AF.getValue())); break; in writeFragment()
470 case 2: OW->write16(uint16_t(AF.getValue())); break; in writeFragment()
471 case 4: OW->write32(uint32_t(AF.getValue())); break; in writeFragment()
472 case 8: OW->write64(uint64_t(AF.getValue())); break; in writeFragment()
480 OW->writeBytes(cast<MCDataFragment>(F).getContents()); in writeFragment()
485 OW->writeBytes(cast<MCRelaxableFragment>(F).getContents()); in writeFragment()
490 OW->writeBytes(cast<MCCompactEncodedInstFragment>(F).getContents()); in writeFragment()
507 OW->writeBytes(Ref); in writeFragment()
515 OW->writeBytes(LF.getContents()); in writeFragment()
521 OW->write32(SF.getSymbol()->getIndex()); in writeFragment()
530 OW->write8(uint8_t(OF.getValue())); in writeFragment()
537 OW->writeBytes(OF.getContents()); in writeFragment()
542 OW->writeBytes(CF.getContents()); in writeFragment()
547 OW->writeBytes(OF.getContents()); in writeFragment()
552 OW->writeBytes(DRF.getContents()); in writeFragment()
559 assert(OW->getStream().tell() - Start == FragmentSize && in writeFragment()