Lines Matching defs:SrcMgr
276 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI,
280 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer());
315 SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str,
319 createMCAsmParser(SrcMgr, Ctx, Str, MAI));
383 SourceMgr SrcMgr;
385 // Tell SrcMgr about this buffer, which is what the parser will pick up.
386 SrcMgr.AddNewSourceBuffer(std::move(*BufferPtr), SMLoc());
390 SrcMgr.setIncludeDirs(IncludeDirs);
424 MCContext Ctx(TheTriple, MAI.get(), MRI.get(), STI.get(), &SrcMgr,
568 Res = AsLexInput(SrcMgr, *MAI, Out->os());
571 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI,
588 SrcMgr, Ctx, MCOptions);