Lines Matching refs:AF
264 const MCAlignFragment &AF = cast<MCAlignFragment>(F); in computeFragmentSize() local
265 unsigned Offset = Layout.getFragmentOffset(&AF); in computeFragmentSize()
266 unsigned Size = OffsetToAlignment(Offset, AF.getAlignment()); in computeFragmentSize()
269 if (Size > 0 && AF.hasEmitNops()) { in computeFragmentSize()
271 Size += AF.getAlignment(); in computeFragmentSize()
273 if (Size > AF.getMaxBytesToEmit()) in computeFragmentSize()
440 const MCAlignFragment &AF = cast<MCAlignFragment>(F); in writeFragment() local
441 assert(AF.getValueSize() && "Invalid virtual align in concrete fragment!"); in writeFragment()
443 uint64_t Count = FragmentSize / AF.getValueSize(); in writeFragment()
448 if (Count * AF.getValueSize() != FragmentSize) in writeFragment()
450 Twine(AF.getValueSize()) + in writeFragment()
458 if (AF.hasEmitNops()) { in writeFragment()
467 switch (AF.getValueSize()) { 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()