Lines Matching refs:MAI
41 const MCAsmInfo *MAI;
74 : MCStreamer(SK_AsmStreamer, Context), OS(os), MAI(Context.getAsmInfo()),
312 OS.PadToColumn(MAI->getCommentColumn());
314 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n';
332 Section->PrintSwitchToSection(*MAI, OS, Subsection);
354 OS << *Symbol << MAI->getLabelSuffix();
362 OS << *Symbol << MAI->getDebugLabelSuffix();
370 case MCAF_Code16: OS << '\t'<< MAI->getCode16Directive();break;
371 case MCAF_Code32: OS << '\t'<< MAI->getCode32Directive();break;
372 case MCAF_Code64: OS << '\t'<< MAI->getCode64Directive();break;
388 if (!MAI->doesSupportDataRegionDirectives())
405 if (MAI->hasSubsectionsViaSymbols())
450 assert(MAI->hasDotTypeDotSizeDirective() && "Symbol Attr not supported");
452 << ((MAI->getCommentString()[0] != '@') ? '@' : '%');
466 OS << MAI->getGlobalDirective();
488 case MCSA_WeakReference: OS << MAI->getWeakRefDirective(); break;
527 assert(MAI->hasDotTypeDotSizeDirective());
535 if (MAI->getCOMMDirectiveAlignmentIsInBytes())
551 switch (MAI->getLCOMMDirectiveAlignmentType()) {
642 OS << MAI->getData8bitsDirective();
650 if (MAI->getAscizDirective() && Data.back() == 0) {
651 OS << MAI->getAscizDirective();
654 OS << MAI->getAsciiDirective();
672 case 1: Directive = MAI->getData8bitsDirective(); break;
673 case 2: Directive = MAI->getData16bitsDirective(); break;
674 case 4: Directive = MAI->getData32bitsDirective(); break;
676 Directive = MAI->getData64bitsDirective();
682 if (MAI->isLittleEndian()) {
703 assert(MAI->hasLEB128() && "Cannot print a .uleb");
714 assert(MAI->hasLEB128() && "Cannot print a .sleb");
720 assert(MAI->getGPRel64Directive() != 0);
721 OS << MAI->getGPRel64Directive() << *Value;
726 assert(MAI->getGPRel32Directive() != 0);
727 OS << MAI->getGPRel32Directive() << *Value;
737 if (const char *ZeroDirective = MAI->getZeroDirective()) {
757 case 1: OS << MAI->getAlignDirective(); break;
758 // FIXME: use MAI for this!
764 if (MAI->getAlignmentIsInBytes())
781 // FIXME: Parameterize this based on MAI.
800 EmitValueToAlignment(ByteAlignment, MAI->getTextAlignFillValue(),
814 assert(MAI->hasSingleParameterDotFile());
880 OS.PadToColumn(MAI->getCommentColumn());
881 OS << MAI->getCommentString() << ' ' << FileName << ':'
930 if (InstPrinter && !MAI->useDwarfRegNumForCFI()) {
1270 if (MAI->isLittleEndian())
1370 Inst.dump_pretty(GetCommentOS(), MAI, InstPrinter.get(), "\n ");
1378 Inst.print(OS, MAI);