Lines Matching refs:MAI
40 const MCAsmInfo &MAI; member in __anon1c40df1a0111::MCAsmStreamer
69 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()), in MCAsmStreamer()
290 OS.PadToColumn(MAI.getCommentColumn()); in EmitCommentsAndEOL()
292 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n'; in EmitCommentsAndEOL()
309 Section->PrintSwitchToSection(MAI, OS); in ChangeSection()
331 OS << *Symbol << MAI.getLabelSuffix(); in EmitLabel()
340 case MCAF_Code16: OS << '\t'<< MAI.getCode16Directive(); break; in EmitAssemblerFlag()
341 case MCAF_Code32: OS << '\t'<< MAI.getCode32Directive(); break; in EmitAssemblerFlag()
342 case MCAF_Code64: OS << '\t'<< MAI.getCode64Directive(); break; in EmitAssemblerFlag()
352 if (MAI.hasSubsectionsViaSymbols()) in EmitThumbFunc()
397 assert(MAI.hasDotTypeDotSizeDirective() && "Symbol Attr not supported"); in EmitSymbolAttribute()
399 << ((MAI.getCommentString()[0] != '@') ? '@' : '%'); in EmitSymbolAttribute()
413 OS << MAI.getGlobalDirective(); in EmitSymbolAttribute()
435 case MCSA_WeakReference: OS << MAI.getWeakRefDirective(); break; in EmitSymbolAttribute()
469 assert(MAI.hasDotTypeDotSizeDirective()); in EmitELFSize()
477 if (MAI.getCOMMDirectiveAlignmentIsInBytes()) in EmitCommonSymbol()
491 assert(MAI.getLCOMMDirectiveType() != LCOMM::None && in EmitLocalCommonSymbol()
495 assert(MAI.getLCOMMDirectiveType() == LCOMM::ByteAlignment && in EmitLocalCommonSymbol()
577 OS << MAI.getData8bitsDirective(AddrSpace); in EmitBytes()
585 if (MAI.getAscizDirective() && Data.back() == 0) { in EmitBytes()
586 OS << MAI.getAscizDirective(); in EmitBytes()
589 OS << MAI.getAsciiDirective(); in EmitBytes()
608 case 1: Directive = MAI.getData8bitsDirective(AddrSpace); break; in EmitValueImpl()
609 case 2: Directive = MAI.getData16bitsDirective(AddrSpace); break; in EmitValueImpl()
610 case 4: Directive = MAI.getData32bitsDirective(AddrSpace); break; in EmitValueImpl()
612 Directive = MAI.getData64bitsDirective(AddrSpace); in EmitValueImpl()
639 assert(MAI.hasLEB128() && "Cannot print a .uleb"); in EmitULEB128Value()
650 assert(MAI.hasLEB128() && "Cannot print a .sleb"); in EmitSLEB128Value()
656 assert(MAI.getGPRel32Directive() != 0); in EmitGPRel32Value()
657 OS << MAI.getGPRel32Directive() << *Value; in EmitGPRel32Value()
669 if (const char *ZeroDirective = MAI.getZeroDirective()) { in EmitFill()
689 case 1: OS << MAI.getAlignDirective(); break; in EmitValueToAlignment()
696 if (MAI.getAlignmentIsInBytes()) in EmitValueToAlignment()
732 EmitValueToAlignment(ByteAlignment, MAI.getTextAlignFillValue(), in EmitCodeAlignment()
745 assert(MAI.hasSingleParameterDotFile()); in EmitFileDirective()
794 OS.PadToColumn(MAI.getCommentColumn()); in EmitDwarfLocDirective()
795 OS << MAI.getCommentString() << ' ' << FileName << ':' in EmitDwarfLocDirective()
840 if (InstPrinter && !MAI.useDwarfRegNumForCFI()) { in EmitRegisterName()
1241 Inst.dump_pretty(GetCommentOS(), &MAI, InstPrinter.get(), "\n "); in EmitInstruction()
1249 Inst.print(OS, &MAI); in EmitInstruction()