Lines Matching refs:MAI
44 const MCAsmInfo *MAI; member in __anoncfecf8ee0111::MCAsmStreamer
67 MAI(Context.getAsmInfo()), InstPrinter(printer), Emitter(emitter), in MCAsmStreamer()
312 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL()
314 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL()
330 OS << MAI->getCommentString() << T; in emitRawComment()
336 if (c.equals(StringRef(MAI->getSeparatorString()))) in addExplicitComment()
340 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
349 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
356 } else if (c.startswith(StringRef(MAI->getCommentString()))) { in addExplicitComment()
380 Section->PrintSwitchToSection(*MAI, OS, Subsection); in ChangeSection()
387 Symbol->print(OS, MAI); in EmitLabel()
388 OS << MAI->getLabelSuffix(); in EmitLabel()
408 Arg->print(OS, MAI); in EmitLOHDirective()
417 case MCAF_Code16: OS << '\t'<< MAI->getCode16Directive();break; in EmitAssemblerFlag()
418 case MCAF_Code32: OS << '\t'<< MAI->getCode32Directive();break; in EmitAssemblerFlag()
419 case MCAF_Code64: OS << '\t'<< MAI->getCode64Directive();break; in EmitAssemblerFlag()
435 if (!MAI->doesSupportDataRegionDirectives()) in EmitDataRegion()
466 if (MAI->hasSubsectionsViaSymbols()) { in EmitThumbFunc()
468 Func->print(OS, MAI); in EmitThumbFunc()
474 Symbol->print(OS, MAI); in EmitAssignment()
476 Value->print(OS, MAI); in EmitAssignment()
485 Alias->print(OS, MAI); in EmitWeakReference()
487 Symbol->print(OS, MAI); in EmitWeakReference()
502 if (!MAI->hasDotTypeDotSizeDirective()) in EmitSymbolAttribute()
505 Symbol->print(OS, MAI); in EmitSymbolAttribute()
506 OS << ',' << ((MAI->getCommentString()[0] != '@') ? '@' : '%'); in EmitSymbolAttribute()
520 OS << MAI->getGlobalDirective(); in EmitSymbolAttribute()
528 if (!MAI->hasNoDeadStrip()) in EmitSymbolAttribute()
539 case MCSA_Weak: OS << MAI->getWeakDirective(); break; in EmitSymbolAttribute()
544 case MCSA_WeakReference: OS << MAI->getWeakRefDirective(); break; in EmitSymbolAttribute()
548 Symbol->print(OS, MAI); in EmitSymbolAttribute()
556 Symbol->print(OS, MAI); in EmitSymbolDesc()
562 if (MAI->getAssemblerDialect() == 1) { in EmitSyntaxDirective()
573 Symbol->print(OS, MAI); in BeginCOFFSymbolDef()
595 Symbol->print(OS, MAI); in EmitCOFFSafeSEH()
601 Symbol->print(OS, MAI); in EmitCOFFSectionIndex()
607 Symbol->print(OS, MAI); in EmitCOFFSecRel32()
612 assert(MAI->hasDotTypeDotSizeDirective()); in emitELFSize()
614 Symbol->print(OS, MAI); in emitELFSize()
616 Value->print(OS, MAI); in emitELFSize()
623 Symbol->print(OS, MAI); in EmitCommonSymbol()
627 if (MAI->getCOMMDirectiveAlignmentIsInBytes()) in EmitCommonSymbol()
642 Symbol->print(OS, MAI); in EmitLocalCommonSymbol()
646 switch (MAI->getLCOMMDirectiveAlignmentType()) { in EmitLocalCommonSymbol()
675 Symbol->print(OS, MAI); in EmitZerofill()
694 Symbol->print(OS, MAI); in EmitTBSSSymbol()
745 OS << MAI->getData8bitsDirective(); in EmitBytes()
753 if (MAI->getAscizDirective() && Data.back() == 0) { in EmitBytes()
754 OS << MAI->getAscizDirective(); in EmitBytes()
757 OS << MAI->getAsciiDirective(); in EmitBytes()
770 OS << MAI->getData8bitsDirective(); in EmitBinaryData()
790 case 1: Directive = MAI->getData8bitsDirective(); break; in EmitValueImpl()
791 case 2: Directive = MAI->getData16bitsDirective(); break; in EmitValueImpl()
792 case 4: Directive = MAI->getData32bitsDirective(); break; in EmitValueImpl()
793 case 8: Directive = MAI->getData64bitsDirective(); break; in EmitValueImpl()
805 bool IsLittleEndian = MAI->isLittleEndian(); in EmitValueImpl()
832 Value->print(OS, MAI); in EmitValueImpl()
843 Value->print(OS, MAI); in EmitULEB128Value()
854 Value->print(OS, MAI); in EmitSLEB128Value()
859 assert(MAI->getGPRel64Directive() != nullptr); in EmitGPRel64Value()
860 OS << MAI->getGPRel64Directive(); in EmitGPRel64Value()
861 Value->print(OS, MAI); in EmitGPRel64Value()
866 assert(MAI->getGPRel32Directive() != nullptr); in EmitGPRel32Value()
867 OS << MAI->getGPRel32Directive(); in EmitGPRel32Value()
868 Value->print(OS, MAI); in EmitGPRel32Value()
883 if (const char *ZeroDirective = MAI->getZeroDirective()) { in emitFill()
886 NumBytes.print(OS, MAI); in emitFill()
908 NumValues.print(OS, MAI); in emitFill()
969 EmitValueToAlignment(ByteAlignment, MAI->getTextAlignFillValue(), in EmitCodeAlignment()
977 Offset->print(OS, MAI); in emitValueToOffset()
983 assert(MAI->hasSingleParameterDotFile()); in EmitFileDirective()
1056 OS.PadToColumn(MAI->getCommentColumn()); in EmitDwarfLocDirective()
1057 OS << MAI->getCommentString() << ' ' << FileName << ':' in EmitDwarfLocDirective()
1104 OS.PadToColumn(MAI->getCommentColumn()); in EmitCVLocDirective()
1105 OS << MAI->getCommentString() << ' ' << FileName << ':' in EmitCVLocDirective()
1117 FnStart->print(OS, MAI); in EmitCVLinetableDirective()
1119 FnEnd->print(OS, MAI); in EmitCVLinetableDirective()
1130 FnStartSym->print(OS, MAI); in EmitCVInlineLinetableDirective()
1132 FnEndSym->print(OS, MAI); in EmitCVInlineLinetableDirective()
1150 Range.first->print(OS, MAI); in EmitCVDefRangeDirective()
1152 Range.second->print(OS, MAI); in EmitCVDefRangeDirective()
1171 assert(MAI->hasIdentDirective() && ".ident directive not supported"); in EmitIdent()
1205 if (!MAI->useDwarfRegNumForCFI()) { in EmitRegisterName()
1273 Sym->print(OS, MAI); in EmitCFIPersonality()
1280 Sym->print(OS, MAI); in EmitCFILsda()
1345 Symbol->print(OS, MAI); in EmitWinCFIStartProc()
1375 Sym->print(OS, MAI); in EmitWinEHHandler()
1511 if (MAI->isLittleEndian()) in AddEncodingComment()
1576 Offset.print(OS, MAI); in EmitRelocDirective()
1580 Expr->print(OS, MAI); in EmitRelocDirective()