reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/AsmPrinter/ARMException.cpp
   39   if (Asm->MAI->getExceptionHandlingType() == ExceptionHandling::ARM)
   89   if (Asm->MAI->getExceptionHandlingType() == ExceptionHandling::ARM)
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  282   if (MAI->hasSingleParameterDotFile()) {
  309   if (MAI->doesSupportDebugInformation()) {
  326   switch (MAI->getExceptionHandlingType()) {
  331     if (MAI->getExceptionHandlingType() != ExceptionHandling::DwarfCFI)
  349   switch (MAI->getExceptionHandlingType()) {
  360     switch (MAI->getWinEHEncodingType()) {
  403     if (MAI->hasWeakDefDirective()) {
  407       if (!canBeHidden(GV, *MAI))
  412     } else if (MAI->hasLinkOnceDirective()) {
  428     if (MAI->hasDotLGloblDirective())
  494   if (MAI->hasDotTypeDotSizeDirective())
  530   if (GVKind.isBSS() && MAI->hasMachoZeroFillDirective() &&
  553     if (MAI->getLCOMMDirectiveAlignmentType() != LCOMM::NoAlignment) {
  579   if (GVKind.isThreadLocal() && MAI->hasMachoTBSSDirective()) {
  632   if (MAI->hasDotTypeDotSizeDirective())
  665   if (MAI->needsFunctionDescriptors() &&
  670   if (MAI->hasFunctionAlignment())
  673   if (MAI->hasDotTypeDotSizeDirective())
  687     if (MAI->hasSubsectionsViaSymbols()) {
  706   if (MAI->needsFunctionDescriptors())
  724     if (MAI->useAssignmentForEHBegin()) {
  934   if (MAI->getExceptionHandlingType() == ExceptionHandling::DwarfCFI &&
  945   return MAI->usesWindowsCFI() && MF->getFunction().needsUnwindTableEntry();
  949   ExceptionHandling ExceptionHandlingType = MAI->getExceptionHandlingType();
 1152   if (!HasAnyRealCode && (MAI->hasSubsectionsViaSymbols() ||
 1180       MAI->hasDotTypeDotSizeDirective()) {
 1188   if (MAI->hasDotTypeDotSizeDirective()) {
 1305   if (GIS.hasExternalLinkage() || !MAI->getWeakRefDirective())
 1333   if (isa<GlobalAlias>(&GIS) && MAI->hasAltEntry() && isa<MCBinaryExpr>(Expr))
 1346     if (MAI->hasDotTypeDotSizeDirective() && GA->getValueType()->isSized() &&
 1479   if (MAI->getWeakRefDirective()) {
 1539     unsigned PtrSize = MAI->getCodePointerSize();
 1558     if (MCSection *S = MAI->getNonexecutableStackSection(OutContext))
 1630           MAI->getCodePointerSize());
 1658   if (MAI->needsFunctionDescriptors()) {
 1680   bool NeedsLocalForSize = MAI->needsLocalForSize();
 1824         MAI->doesSetDirectiveSuppressReloc()) {
 1905     if (MAI->doesSetDirectiveSuppressReloc()) {
 1929     if (MAI->hasNoDeadStrip())    // No need to emit this at all.
 2050   if (!MAI->hasIdentDirective())
 2126   if (MAI->needsDwarfSectionOffsetDirective() && IsSectionRelative) {
 2753   else if (MAI->hasSubsectionsViaSymbols()) {
 2997       Attr = MAI->getHiddenVisibilityAttr();
 2999       Attr = MAI->getHiddenDeclarationVisibilityAttr();
 3002     Attr = MAI->getProtectedVisibilityAttr();
 3154   auto WordSizeBytes = MAI->getCodePointerSize();
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
  155     if (MAI->needsDwarfSectionOffsetDirective()) {
  161     if (MAI->doesDwarfUseRelocationsAcrossSections()) {
  172   if (MAI->doesDwarfUseRelocationsAcrossSections()) {
  183   EmitLabelPlusOffset(Label, Offset, MAI->getCodePointerSize());
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  139           DiagInfo->SrcMgr, OutContext, *OutStreamer, *MAI, BufNum));
  434               Sym->print(OS, AP->MAI);
  438               Sym->print(OS, AP->MAI);
  485     OutStreamer->emitRawComment(MAI->getInlineAsmStart());
  486     OutStreamer->emitRawComment(MAI->getInlineAsmEnd());
  492   OutStreamer->emitRawComment(MAI->getInlineAsmStart());
  516   int AsmPrinterVariant = MAI->getAssemblerDialect();
  566   OutStreamer->emitRawComment(MAI->getInlineAsmEnd());
  582     OS << MAI->getCommentString();
  605   getSymbol(MO.getGlobal())->print(OS, MAI);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
 1936       Ty->getSizeInBits() / (8 * Asm->MAI->getCodePointerSize());
lib/CodeGen/AsmPrinter/DIE.cpp
  502   return AP->MAI->getCodePointerSize();
  541   return AP->MAI->getCodePointerSize();
  567     if (AP->MAI->doesDwarfUseRelocationsAcrossSections())
  590     if (AP->MAI->doesDwarfUseRelocationsAcrossSections())
  676       return AP->MAI->getCodePointerSize();
  805   return AP->MAI->getCodePointerSize();
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
   64   if (!Asm->MAI->usesCFIForEH())
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 2144   unsigned PtrSize = Asm->MAI->getCodePointerSize();
 2279   Asm->emitInt8(Asm->MAI->getCodePointerSize());
 2334   auto Size = Asm->MAI->getCodePointerSize();
 2564   unsigned PtrSize = Asm->MAI->getCodePointerSize();
lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
   24       ShouldCreateSymbols(Asm.MAI->doesDwarfUseRelocationsAcrossSections()) {}
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
   93     : DIEUnit(A->getDwarfVersion(), A->MAI->getCodePointerSize(), UnitTag),
 1625     Asm->emitInt8(Asm->MAI->getCodePointerSize());
 1641     Asm->emitInt8(Asm->MAI->getCodePointerSize());
 1669   if (Asm->MAI->doesDwarfUseRelocationsAcrossSections())
 1694   if (!Asm->MAI->doesDwarfUseRelocationsAcrossSections())
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  240   bool IsSJLJ = Asm->MAI->getExceptionHandlingType() == ExceptionHandling::SjLj;
  271       if (SawPotentiallyThrowing && Asm->MAI->usesCFIForEH()) {
  378   bool IsSJLJ = Asm->MAI->getExceptionHandlingType() == ExceptionHandling::SjLj;
  379   bool IsWasm = Asm->MAI->getExceptionHandlingType() == ExceptionHandling::Wasm;
lib/CodeGen/AsmPrinter/WinException.cpp
   94   if (!Asm->MAI->usesWindowsCFI()) {
  340   if (Asm->MAI->usesWindowsCFI()) {
  678   if (Asm->MAI->usesWindowsCFI())
  740   if (Asm->MAI->usesWindowsCFI()) {
lib/Target/AArch64/AArch64AsmPrinter.cpp
  521     Sym->print(O, MAI);
  670   OS << '\t' << MAI->getCommentString() << "DEBUG_VALUE: ";
  977       ExceptionHandling ExceptionHandlingType = MAI->getExceptionHandlingType();
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  290         Expr->print(Str, MAI);
lib/Target/ARM/ARMAsmPrinter.cpp
  195   GetARMGVSymbol(MO.getGlobal(), TF)->print(O, MAI);
  228     MO.getMBB()->getSymbol()->print(O, MAI);
  237     GetCPISymbol(MO.getIndex())->print(O, MAI);
 1153     if (MAI->getExceptionHandlingType() == ExceptionHandling::ARM) {
 1204       if (MAI->getExceptionHandlingType() == ExceptionHandling::ARM) {
lib/Target/BPF/BPFAsmPrinter.cpp
   62   if (MAI->doesSupportDebugInformation() && !M.debug_compile_units().empty()) {
lib/Target/Hexagon/HexagonAsmPrinter.cpp
   89     MO.getMBB()->getSymbol()->print(O, MAI);
   92     GetCPISymbol(MO.getIndex())->print(O, MAI);
lib/Target/Lanai/LanaiAsmPrinter.cpp
   96     O << MAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber() << '_'
  101     O << MAI->getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << '_'
lib/Target/Lanai/LanaiMCInstLower.cpp
   49   raw_svector_ostream(Name) << Printer.MAI->getPrivateGlobalPrefix() << "JTI"
   59   raw_svector_ostream(Name) << Printer.MAI->getPrivateGlobalPrefix() << "CPI"
lib/Target/MSP430/MSP430AsmPrinter.cpp
   72   getSymbol(MO.getGlobal())->print(O, MAI);
   92     MO.getMBB()->getSymbol()->print(O, MAI);
lib/Target/Mips/MipsAsmPrinter.cpp
  693       MO.getMBB()->getSymbol()->print(O, MAI);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  463   CurrentFnSym->print(O, MAI);
  610   getSymbol(F)->print(O, MAI);
 1151     getSymbol(GVar)->print(O, MAI);
 1201               getSymbol(GVar)->print(O, MAI);
 1206               getSymbol(GVar)->print(O, MAI);
 1213             getSymbol(GVar)->print(O, MAI);
 1223           getSymbol(GVar)->print(O, MAI);
 1232         getSymbol(GVar)->print(O, MAI);
 1339     getSymbol(GVar)->print(O, MAI);
 1348     getSymbol(GVar)->print(O, MAI);
 1364     getSymbol(GVar)->print(O, MAI);
 1406   getSymbol(I->getParent())->print(O, MAI);
 1448             CurrentFnSym->print(O, MAI);
 1456             CurrentFnSym->print(O, MAI);
 1464           CurrentFnSym->print(O, MAI);
 1731       getSymbol(GVar)->print(O, MAI);
 1734       getSymbol(GVar)->print(O, MAI);
 1748         getSymbol(GVar)->print(O, MAI);
 1751         getSymbol(GVar)->print(O, MAI);
 1755       lowerConstant(CPV)->print(O, MAI);
 2105     return cast<MCTargetExpr>(&Expr)->printImpl(OS, MAI);
 2113     Sym.print(OS, MAI);
 2236     MO.getMBB()->getSymbol()->print(O, MAI);
lib/Target/NVPTX/NVPTXAsmPrinter.h
  170                 Name->print(O, AP.MAI);
  173                 Name->print(O, AP.MAI);
lib/Target/PowerPC/PPCAsmPrinter.cpp
  200   SymToPrint->print(O, MAI);
  227     MO.getMBB()->getSymbol()->print(O, MAI);
  234     GetBlockAddressSymbol(MO.getBlockAddress())->print(O, MAI);
 1663     if (MAI->doesSupportExceptionHandling()) {
lib/Target/Sparc/SparcAsmPrinter.cpp
  358     MO.getMBB()->getSymbol()->print(O, MAI);
lib/Target/SystemZ/SystemZAsmPrinter.cpp
  689   SystemZInstPrinter::printOperand(MO, MAI, OS);
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  390       GetExternalSymbolSymbol(MO.getSymbolName())->print(OS, MAI);
  394       MO.getMBB()->getSymbol()->print(OS, MAI);
lib/Target/X86/X86AsmPrinter.cpp
  116     GetCPISymbol(MO.getIndex())->print(O, MAI);
  149       GVSym->print(O, MAI);
  152       GVSym->print(O, MAI);
  172     MF->getPICBaseSymbol()->print(O, MAI);
  178     MF->getPICBaseSymbol()->print(O, MAI);
  196     MF->getPICBaseSymbol()->print(O, MAI);
  229     Sym->print(O, MAI);
lib/Target/XCore/XCoreAsmPrinter.cpp
  152   if (MAI->hasDotTypeDotSizeDirective()) {
  198     MBB->getSymbol()->print(O, MAI);
  214     MO.getMBB()->getSymbol()->print(O, MAI);
  224     GetBlockAddressSymbol(MO.getBlockAddress())->print(O, MAI);
unittests/DebugInfo/DWARF/DwarfGenerator.cpp
  134   if (!Asm->MAI->doesDwarfUseRelocationsAcrossSections())