Lines Matching refs:MAI
104 : MachineFunctionPass(ID), TM(tm), MAI(tm.getMCAsmInfo()), in AsmPrinter()
211 if (MAI->hasSingleParameterDotFile()) { in doInitialization()
235 if (MAI->doesSupportDebugInformation()) { in doInitialization()
258 switch (MAI->getExceptionHandlingType()) { in doInitialization()
269 switch (MAI->getWinEHEncodingType()) { in doInitialization()
282 static bool canBeHidden(const GlobalValue *GV, const MCAsmInfo &MAI) { in canBeHidden() argument
283 if (!MAI.hasWeakDefCanBeHiddenDirective()) in canBeHidden()
297 if (MAI->hasWeakDefDirective()) { in EmitLinkage()
301 if (!canBeHidden(GV, *MAI)) in EmitLinkage()
306 } else if (MAI->hasLinkOnceDirective()) { in EmitLinkage()
373 if (MAI->hasDotTypeDotSizeDirective()) in EmitGlobalVariable()
407 if (MAI->hasMachoZeroFillDirective()) { in EmitGlobalVariable()
421 if (MAI->getLCOMMDirectiveAlignmentType() != LCOMM::NoAlignment) { in EmitGlobalVariable()
442 if (GVKind.isBSSExtern() && MAI->hasMachoZeroFillDirective()) { in EmitGlobalVariable()
462 if (GVKind.isThreadLocal() && MAI->hasMachoTBSSDirective()) { in EmitGlobalVariable()
513 if (MAI->hasDotTypeDotSizeDirective()) in EmitGlobalVariable()
534 if (MAI->hasFunctionAlignment()) in EmitFunctionHeader()
537 if (MAI->hasDotTypeDotSizeDirective()) in EmitFunctionHeader()
565 if (MAI->useAssignmentForEHBegin()) { in EmitFunctionHeader()
742 if (MAI->getExceptionHandlingType() == ExceptionHandling::DwarfCFI && in needsCFIMoves()
753 return MAI->usesWindowsCFI() && MF->getFunction()->needsUnwindTableEntry(); in needsSEHMoves()
757 ExceptionHandling ExceptionHandlingType = MAI->getExceptionHandlingType(); in emitCFIInstruction()
865 if ((MAI->hasSubsectionsViaSymbols() && !HasAnyRealCode)) { in EmitFunctionBody()
891 MAI->hasDotTypeDotSizeDirective()) { in EmitFunctionBody()
899 if (MAI->hasDotTypeDotSizeDirective()) { in EmitFunctionBody()
1077 if (MAI->getWeakRefDirective()) { in doFinalization()
1101 if (Alias.hasExternalLinkage() || !MAI->getWeakRefDirective()) in doFinalization()
1143 if (const MCSection *S = MAI->getNonexecutableStackSection(OutContext)) in doFinalization()
1172 bool NeedsLocalForSize = MAI->needsLocalForSize(); in SetupMachineFunction()
1319 MAI->doesSetDirectiveSuppressesReloc()) { in EmitJumpTableInfo()
1399 if (MAI->doesSetDirectiveSuppressesReloc()) { in EmitJumpTableEntry()
1425 if (MAI->hasNoDeadStrip()) // No need to emit this at all. in EmitSpecialLLVMGlobal()
1443 MAI->hasStaticCtorDtorReferenceInStaticMode()) { in EmitSpecialLLVMGlobal()
1455 MAI->hasStaticCtorDtorReferenceInStaticMode()) { in EmitSpecialLLVMGlobal()
1552 if (!MAI->hasIdentDirective()) in EmitModuleIdents()
1599 if (!MAI->doesSetDirectiveSuppressesReloc()) { in EmitLabelDifference()
1616 if (MAI->needsDwarfSectionOffsetDirective() && IsSectionRelative) { in EmitLabelPlusOffset()
2257 else if (MAI->hasSubsectionsViaSymbols()) { in EmitGlobalConstant()
2444 Attr = MAI->getHiddenVisibilityAttr(); in EmitVisibility()
2446 Attr = MAI->getHiddenDeclarationVisibilityAttr(); in EmitVisibility()
2449 Attr = MAI->getProtectedVisibilityAttr(); in EmitVisibility()