Lines Matching defs:AF
445 const MCAlignFragment &AF = cast<MCAlignFragment>(F);
446 unsigned Offset = Layout.getFragmentOffset(&AF);
447 unsigned Size = OffsetToAlignment(Offset, AF.getAlignment());
450 if (Size > 0 && AF.hasEmitNops()) {
452 Size += AF.getAlignment();
454 if (Size > AF.getMaxBytesToEmit())
588 const MCAlignFragment &AF = cast<MCAlignFragment>(F);
589 assert(AF.getValueSize() && "Invalid virtual align in concrete fragment!");
591 uint64_t Count = FragmentSize / AF.getValueSize();
596 if (Count * AF.getValueSize() != FragmentSize)
598 Twine(AF.getValueSize()) +
606 if (AF.hasEmitNops()) {
615 switch (AF.getValueSize()) {
617 case 1: OW->Write8 (uint8_t (AF.getValue())); break;
618 case 2: OW->Write16(uint16_t(AF.getValue())); break;
619 case 4: OW->Write32(uint32_t(AF.getValue())); break;
620 case 8: OW->Write64(uint64_t(AF.getValue())); break;
1012 raw_ostream &operator<<(raw_ostream &OS, const MCFixup &AF) {
1013 OS << "<MCFixup" << " Offset:" << AF.getOffset()
1014 << " Value:" << *AF.getValue()
1015 << " Kind:" << AF.getKind() << ">";
1046 const MCAlignFragment *AF = cast<MCAlignFragment>(this);
1047 if (AF->hasEmitNops())
1050 OS << " Alignment:" << AF->getAlignment()
1051 << " Value:" << AF->getValue() << " ValueSize:" << AF->getValueSize()
1052 << " MaxBytesToEmit:" << AF->getMaxBytesToEmit() << ">";