Lines Matching refs:MAI
282 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI, in AsLexInput() argument
285 AsmLexer Lexer(MAI); in AsLexInput()
322 MCAsmInfo &MAI, MCSubtargetInfo &STI, in AssembleInput() argument
325 createMCAsmParser(SrcMgr, Ctx, Str, MAI)); in AssembleInput()
397 std::unique_ptr<MCAsmInfo> MAI( in main() local
399 assert(MAI && "Unable to create target asm info!"); in main()
401 MAI->setRelaxELFRelocations(RelaxELFRel); in main()
409 MAI->setCompressDebugSections(CompressDebugSections); in main()
411 MAI->setPreserveAsmComments(PreserveComments); in main()
428 MCContext Ctx(TheTriple, MAI.get(), MRI.get(), STI.get(), &SrcMgr, in main()
455 if (MAI->getCodePointerSize() < 8) { in main()
464 if (MAI->needsDwarfSectionOffsetDirective()) { in main()
520 *MAI, *MCII, *MRI); in main()
582 Res = AsLexInput(SrcMgr, *MAI, Out->os()); in main()
585 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI, in main()