Lines Matching defs:AF
532 const MCAlignFragment &AF = cast<MCAlignFragment>(F);
533 unsigned Offset = Layout.getFragmentOffset(&AF);
534 unsigned Size = OffsetToAlignment(Offset, AF.getAlignment());
537 if (Size > 0 && AF.hasEmitNops()) {
539 Size += AF.getAlignment();
541 if (Size > AF.getMaxBytesToEmit())
704 const MCAlignFragment &AF = cast<MCAlignFragment>(F);
705 assert(AF.getValueSize() && "Invalid virtual align in concrete fragment!");
707 uint64_t Count = FragmentSize / AF.getValueSize();
712 if (Count * AF.getValueSize() != FragmentSize)
714 Twine(AF.getValueSize()) +
722 if (AF.hasEmitNops()) {
731 switch (AF.getValueSize()) {
733 case 1: OW->write8 (uint8_t (AF.getValue())); break;
734 case 2: OW->write16(uint16_t(AF.getValue())); break;
735 case 4: OW->write32(uint32_t(AF.getValue())); break;
736 case 8: OW->write64(uint64_t(AF.getValue())); break;
1150 raw_ostream &operator<<(raw_ostream &OS, const MCFixup &AF) {
1151 OS << "<MCFixup" << " Offset:" << AF.getOffset()
1152 << " Value:" << *AF.getValue()
1153 << " Kind:" << AF.getKind() << ">";
1188 const MCAlignFragment *AF = cast<MCAlignFragment>(this);
1189 if (AF->hasEmitNops())
1192 OS << " Alignment:" << AF->getAlignment()
1193 << " Value:" << AF->getValue() << " ValueSize:" << AF->getValueSize()
1194 << " MaxBytesToEmit:" << AF->getMaxBytesToEmit() << ">";