Home | History | Annotate | Download | only in MC

Lines Matching refs:MAI

43   const MCAsmInfo *MAI;
65 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()),
277 OS.PadToColumn(MAI->getCommentColumn());
279 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n';
297 OS << MAI->getCommentString() << T;
304 Section->PrintSwitchToSection(*MAI, OS, Subsection);
311 OS << *Symbol << MAI->getLabelSuffix();
340 case MCAF_Code16: OS << '\t'<< MAI->getCode16Directive();break;
341 case MCAF_Code32: OS << '\t'<< MAI->getCode32Directive();break;
342 case MCAF_Code64: OS << '\t'<< MAI->getCode64Directive();break;
358 if (!MAI->doesSupportDataRegionDirectives())
387 if (MAI->hasSubsectionsViaSymbols())
415 if (!MAI->hasDotTypeDotSizeDirective())
418 << ((MAI->getCommentString()[0] != '@') ? '@' : '%');
432 OS << MAI->getGlobalDirective();
451 case MCSA_WeakReference: OS << MAI->getWeakRefDirective(); break;
497 assert(MAI->hasDotTypeDotSizeDirective());
508 if (MAI->getCOMMDirectiveAlignmentIsInBytes())
527 switch (MAI->getLCOMMDirectiveAlignmentType()) {
623 OS << MAI->getData8bitsDirective();
631 if (MAI->getAscizDirective() && Data.back() == 0) {
632 OS << MAI->getAscizDirective();
635 OS << MAI->getAsciiDirective();
654 case 1: Directive = MAI->getData8bitsDirective(); break;
655 case 2: Directive = MAI->getData16bitsDirective(); break;
656 case 4: Directive = MAI->getData32bitsDirective(); break;
657 case 8: Directive = MAI->getData64bitsDirective(); break;
669 bool IsLittleEndian = MAI->isLittleEndian();
703 assert(MAI->hasLEB128() && "Cannot print a .uleb");
714 assert(MAI->hasLEB128() && "Cannot print a .sleb");
720 assert(MAI->getGPRel64Directive() != nullptr);
721 OS << MAI->getGPRel64Directive() << *Value;
726 assert(MAI->getGPRel32Directive() != nullptr);
727 OS << MAI->getGPRel32Directive() << *Value;
737 if (const char *ZeroDirective = MAI->getZeroDirective()) {
771 if (MAI->getAlignmentIsInBytes())
788 // FIXME: Parameterize this based on MAI.
807 EmitValueToAlignment(ByteAlignment, MAI->getTextAlignFillValue(),
821 assert(MAI->hasSingleParameterDotFile());
896 OS.PadToColumn(MAI->getCommentColumn());
897 OS << MAI->getCommentString() << ' ' << FileName << ':'
910 assert(MAI->hasIdentDirective() && ".ident directive not supported");
944 if (InstPrinter && !MAI->useDwarfRegNumForCFI()) {
1235 if (MAI->isLittleEndian())
1268 Inst.dump_pretty(GetCommentOS(), MAI, InstPrinter.get(), "\n ");
1276 Inst.print(OS, MAI);