reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
90 OS << '\n'; 367 OS << '\n'; 377 OS.PadToColumn(MAI->getCommentColumn()); 379 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; 394 OS << '\t'; 395 OS << MAI->getCommentString() << T; 439 OS << Comments; 447 TS->changeSection(getCurrentSectionOnly(), Section, Subsection, OS); 450 *MAI, getContext().getObjectFileInfo()->getTargetTriple(), OS, 457 OS << ".symver "; 458 Aliasee->print(OS, MAI); 459 OS << ", " << AliasName; 466 Symbol->print(OS, MAI); 467 OS << MAI->getLabelSuffix(); 481 OS << "\t" << MCLOHDirectiveName() << " " << str << "\t"; 485 OS << ", "; 487 Arg->print(OS, MAI); 494 case MCAF_SyntaxUnified: OS << "\t.syntax unified"; break; 495 case MCAF_SubsectionsViaSymbols: OS << ".subsections_via_symbols"; break; 496 case MCAF_Code16: OS << '\t'<< MAI->getCode16Directive();break; 497 case MCAF_Code32: OS << '\t'<< MAI->getCode32Directive();break; 498 case MCAF_Code64: OS << '\t'<< MAI->getCode64Directive();break; 505 OS << "\t.linker_option \"" << Options[0] << '"'; 508 OS << ", " << '"' << *it << '"'; 517 case MCDR_DataRegion: OS << "\t.data_region"; break; 518 case MCDR_DataRegionJT8: OS << "\t.data_region jt8"; break; 519 case MCDR_DataRegionJT16: OS << "\t.data_region jt16"; break; 520 case MCDR_DataRegionJT32: OS << "\t.data_region jt32"; break; 521 case MCDR_DataRegionEnd: OS << "\t.end_data_region"; break; 552 OS << '\t' << getVersionMinDirective(Type) << ' ' << Major << ", " << Minor; 554 OS << ", " << Update; 555 EmitSDKVersionSuffix(OS, SDKVersion); 578 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; 580 OS << ", " << Update; 581 EmitSDKVersionSuffix(OS, SDKVersion); 588 OS << "\t.thumb_func"; 591 OS << '\t'; 592 Func->print(OS, MAI); 604 OS << ".set "; 605 Symbol->print(OS, MAI); 606 OS << ", "; 607 Value->print(OS, MAI); 616 OS << ".weakref "; 617 Alias->print(OS, MAI); 618 OS << ", "; 619 Symbol->print(OS, MAI); 636 OS << "\t.type\t"; 637 Symbol->print(OS, MAI); 638 OS << ',' << ((MAI->getCommentString()[0] != '@') ? '@' : '%'); 641 case MCSA_ELF_TypeFunction: OS << "function"; break; 642 case MCSA_ELF_TypeIndFunction: OS << "gnu_indirect_function"; break; 643 case MCSA_ELF_TypeObject: OS << "object"; break; 644 case MCSA_ELF_TypeTLS: OS << "tls_object"; break; 645 case MCSA_ELF_TypeCommon: OS << "common"; break; 646 case MCSA_ELF_TypeNoType: OS << "notype"; break; 647 case MCSA_ELF_TypeGnuUniqueObject: OS << "gnu_unique_object"; break; 652 OS << MAI->getGlobalDirective(); 654 case MCSA_LGlobal: OS << "\t.lglobl\t"; break; 655 case MCSA_Hidden: OS << "\t.hidden\t"; break; 656 case MCSA_IndirectSymbol: OS << "\t.indirect_symbol\t"; break; 657 case MCSA_Internal: OS << "\t.internal\t"; break; 658 case MCSA_LazyReference: OS << "\t.lazy_reference\t"; break; 659 case MCSA_Local: OS << "\t.local\t"; break; 663 OS << "\t.no_dead_strip\t"; 665 case MCSA_SymbolResolver: OS << "\t.symbol_resolver\t"; break; 666 case MCSA_AltEntry: OS << "\t.alt_entry\t"; break; 668 OS << "\t.private_extern\t"; 670 case MCSA_Protected: OS << "\t.protected\t"; break; 671 case MCSA_Reference: OS << "\t.reference\t"; break; 672 case MCSA_Weak: OS << MAI->getWeakDirective(); break; 674 OS << "\t.weak_definition\t"; 677 case MCSA_WeakReference: OS << MAI->getWeakRefDirective(); break; 678 case MCSA_WeakDefAutoPrivate: OS << "\t.weak_def_can_be_hidden\t"; break; 684 Symbol->print(OS, MAI); 691 OS << ".desc" << ' '; 692 Symbol->print(OS, MAI); 693 OS << ',' << DescValue; 699 OS << "\t.intel_syntax noprefix"; 708 OS << "\t.def\t "; 709 Symbol->print(OS, MAI); 710 OS << ';'; 715 OS << "\t.scl\t" << StorageClass << ';'; 720 OS << "\t.type\t" << Type << ';'; 725 OS << "\t.endef"; 730 OS << "\t.safeseh\t"; 731 Symbol->print(OS, MAI); 736 OS << "\t.symidx\t"; 737 Symbol->print(OS, MAI); 742 OS << "\t.secidx\t"; 743 Symbol->print(OS, MAI); 748 OS << "\t.secrel32\t"; 749 Symbol->print(OS, MAI); 751 OS << '+' << Offset; 756 OS << "\t.rva\t"; 757 Symbol->print(OS, MAI); 759 OS << '+' << Offset; 761 OS << '-' << -Offset; 774 OS << "\t.lcomm\t"; 775 Symbol->print(OS, MAI); 776 OS << ',' << Size; 777 OS << ',' << Symbol->getName(); 778 OS << ',' << Log2_32(ByteAlignment); 785 OS << "\t.size\t"; 786 Symbol->print(OS, MAI); 787 OS << ", "; 788 Value->print(OS, MAI); 794 OS << "\t.comm\t"; 795 Symbol->print(OS, MAI); 796 OS << ',' << Size; 800 OS << ',' << ByteAlignment; 802 OS << ',' << Log2_32(ByteAlignment); 809 OS << "\t.lcomm\t"; 810 Symbol->print(OS, MAI); 811 OS << ',' << Size; 818 OS << ',' << ByteAlign; 822 OS << ',' << Log2_32(ByteAlign); 836 OS << ".zerofill "; 843 OS << MOSection->getSegmentName() << "," << MOSection->getSectionName(); 846 OS << ','; 847 Symbol->print(OS, MAI); 848 OS << ',' << Size; 850 OS << ',' << Log2_32(ByteAlignment); 869 OS << ".tbss "; 870 Symbol->print(OS, MAI); 871 OS << ", " << Size; 875 if (ByteAlignment > 1) OS << ", " << Log2_32(ByteAlignment); 929 OS << Directive << (unsigned)C; 939 OS << MAI->getAscizDirective(); 942 OS << MAI->getAsciiDirective(); 945 PrintQuotedString(Data, OS); 955 OS << MAI->getData8bitsDirective(); 957 OS << format("0x%02x", uint8_t(Data[J])) << ", "; 958 OS << format("0x%02x", uint8_t(Data[J])); 1020 OS << Directive; 1024 Value->print(OS, MAI); 1035 OS << "\t.uleb128 "; 1036 Value->print(OS, MAI); 1046 OS << "\t.sleb128 "; 1047 Value->print(OS, MAI); 1053 OS << MAI->getDTPRel64Directive(); 1054 Value->print(OS, MAI); 1060 OS << MAI->getDTPRel32Directive(); 1061 Value->print(OS, MAI); 1067 OS << MAI->getTPRel64Directive(); 1068 Value->print(OS, MAI); 1074 OS << MAI->getTPRel32Directive(); 1075 Value->print(OS, MAI); 1081 OS << MAI->getGPRel64Directive(); 1082 Value->print(OS, MAI); 1088 OS << MAI->getGPRel32Directive(); 1089 Value->print(OS, MAI); 1101 OS << ZeroDirective; 1102 NumBytes.print(OS, MAI); 1104 OS << ',' << (int)FillValue; 1115 OS << "\t.fill\t"; 1116 NumValues.print(OS, MAI); 1117 OS << ", " << Size << ", 0x"; 1118 OS.write_hex(truncateToSize(Expr, 4)); 1129 OS << "\t.align\t"; 1130 OS << Log2_32(ByteAlignment); 1142 OS << "\t.p2align\t"; 1145 OS << ".p2alignw "; 1148 OS << ".p2alignl "; 1154 OS << Log2_32(ByteAlignment); 1157 OS << ", 0x"; 1158 OS.write_hex(truncateToSize(Value, ValueSize)); 1161 OS << ", " << MaxBytesToEmit; 1171 case 1: OS << ".balign"; break; 1172 case 2: OS << ".balignw"; break; 1173 case 4: OS << ".balignl"; break; 1177 OS << ' ' << ByteAlignment; 1178 OS << ", " << truncateToSize(Value, ValueSize); 1180 OS << ", " << MaxBytesToEmit; 1195 OS << ".org "; 1196 Offset->print(OS, MAI); 1197 OS << ", " << (unsigned)Value; 1203 OS << "\t.file\t"; 1204 PrintQuotedString(Filename, OS); 1299 OS << "\t.loc\t" << FileNo << " " << Line << " " << Column; 1302 OS << " basic_block"; 1304 OS << " prologue_end"; 1306 OS << " epilogue_begin"; 1310 OS << " is_stmt "; 1313 OS << "1"; 1315 OS << "0"; 1319 OS << " isa " << Isa; 1321 OS << " discriminator " << Discriminator; 1325 OS.PadToColumn(MAI->getCommentColumn()); 1326 OS << MAI->getCommentString() << ' ' << FileName << ':' 1347 OS << "\t.cv_file\t" << FileNo << ' '; 1348 PrintQuotedString(Filename, OS); 1355 OS << ' '; 1356 PrintQuotedString(toHex(Checksum), OS); 1357 OS << ' ' << ChecksumKind; 1364 OS << "\t.cv_func_id " << FuncId << '\n'; 1373 OS << "\t.cv_inline_site_id " << FunctionId << " within " << IAFunc 1387 OS << "\t.cv_loc\t" << FunctionId << " " << FileNo << " " << Line << " " 1390 OS << " prologue_end"; 1393 OS << " is_stmt 1"; 1396 OS.PadToColumn(MAI->getCommentColumn()); 1397 OS << MAI->getCommentString() << ' ' << FileName << ':' << Line << ':' 1406 OS << "\t.cv_linetable\t" << FunctionId << ", "; 1407 FnStart->print(OS, MAI); 1408 OS << ", "; 1409 FnEnd->print(OS, MAI); 1419 OS << "\t.cv_inline_linetable\t" << PrimaryFunctionId << ' ' << SourceFileId 1421 FnStartSym->print(OS, MAI); 1422 OS << ' '; 1423 FnEndSym->print(OS, MAI); 1431 OS << "\t.cv_def_range\t"; 1433 OS << ' '; 1434 Range.first->print(OS, MAI); 1435 OS << ' '; 1436 Range.second->print(OS, MAI); 1444 OS << ", reg_rel, "; 1445 OS << DRHdr.Register << ", " << DRHdr.Flags << ", " 1454 OS << ", subfield_reg, "; 1455 OS << DRHdr.Register << ", " << DRHdr.OffsetInParent; 1463 OS << ", reg, "; 1464 OS << DRHdr.Register; 1472 OS << ", frame_ptr_rel, "; 1473 OS << DRHdr.Offset; 1478 OS << "\t.cv_stringtable"; 1483 OS << "\t.cv_filechecksums"; 1488 OS << "\t.cv_filechecksumoffset\t" << FileNo; 1493 OS << "\t.cv_fpo_data\t"; 1494 ProcSym->print(OS, MAI); 1500 OS << "\t.ident\t"; 1501 PrintQuotedString(IdentString, OS); 1507 OS << "\t.cfi_sections "; 1509 OS << ".eh_frame"; 1511 OS << ", .debug_frame"; 1513 OS << ".debug_frame"; 1520 OS << "\t.cfi_startproc"; 1522 OS << " simple"; 1528 OS << "\t.cfi_endproc"; 1539 InstPrinter->printRegName(OS, *LLVMRegister); 1543 OS << Register; 1548 OS << "\t.cfi_def_cfa "; 1550 OS << ", " << Offset; 1556 OS << "\t.cfi_def_cfa_offset " << Offset; 1572 PrintCFIEscape(OS, Values); 1582 PrintCFIEscape(OS, StringRef((const char *)&Buffer[0], Len)); 1588 OS << "\t.cfi_def_cfa_register "; 1595 OS << "\t.cfi_offset "; 1597 OS << ", " << Offset; 1604 OS << "\t.cfi_personality " << Encoding << ", "; 1605 Sym->print(OS, MAI); 1611 OS << "\t.cfi_lsda " << Encoding << ", "; 1612 Sym->print(OS, MAI); 1618 OS << "\t.cfi_remember_state"; 1624 OS << "\t.cfi_restore_state"; 1630 OS << "\t.cfi_restore "; 1637 OS << "\t.cfi_same_value "; 1644 OS << "\t.cfi_rel_offset "; 1646 OS << ", " << Offset; 1652 OS << "\t.cfi_adjust_cfa_offset " << Adjustment; 1658 OS << "\t.cfi_signal_frame"; 1664 OS << "\t.cfi_undefined " << Register; 1670 OS << "\t.cfi_register " << Register1 << ", " << Register2; 1676 OS << "\t.cfi_window_save"; 1682 OS << "\t.cfi_negate_ra_state"; 1688 OS << "\t.cfi_return_column " << Register; 1694 OS << "\t.cfi_b_key_frame"; 1701 OS << ".seh_proc "; 1702 Symbol->print(OS, MAI); 1709 OS << "\t.seh_endproc"; 1720 OS << "\t.seh_startchained"; 1727 OS << "\t.seh_endchained"; 1735 OS << "\t.seh_handler "; 1736 Sym->print(OS, MAI); 1738 OS << ", @unwind"; 1740 OS << ", @except"; 1762 OS << "\t.seh_handlerdata"; 1769 OS << "\t.seh_pushreg "; 1770 InstPrinter->printRegName(OS, Register); 1778 OS << "\t.seh_setframe "; 1779 InstPrinter->printRegName(OS, Register); 1780 OS << ", " << Offset; 1787 OS << "\t.seh_stackalloc " << Size; 1795 OS << "\t.seh_savereg "; 1796 InstPrinter->printRegName(OS, Register); 1797 OS << ", " << Offset; 1805 OS << "\t.seh_savexmm "; 1806 InstPrinter->printRegName(OS, Register); 1807 OS << ", " << Offset; 1814 OS << "\t.seh_pushframe"; 1816 OS << " @code"; 1823 OS << "\t.seh_endprologue"; 1830 OS << "\t.cg_profile "; 1831 From->getSymbol().print(OS, MAI); 1832 OS << ", "; 1833 To->getSymbol().print(OS, MAI); 1834 OS << ", " << Count; 1944 getTargetStreamer()->prettyPrintAsm(*InstPrinter, OS, Inst, STI); 1946 InstPrinter->printInst(&Inst, OS, "", STI); 1956 OS << "\t.bundle_align_mode " << AlignPow2; 1961 OS << "\t.bundle_lock"; 1963 OS << " align_to_end"; 1968 OS << "\t.bundle_unlock"; 1975 OS << "\t.reloc "; 1976 Offset.print(OS, MAI); 1977 OS << ", " << Name; 1979 OS << ", "; 1980 Expr->print(OS, MAI); 1987 OS << "\t.addrsig"; 1992 OS << "\t.addrsig_sym "; 1993 Sym->print(OS, MAI); 2003 OS << String;