Lines Matching defs:SrcMgr
286 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI,
290 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer());
325 SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str,
329 createMCAsmParser(SrcMgr, Ctx, Str, MAI));
393 SourceMgr SrcMgr;
395 // Tell SrcMgr about this buffer, which is what the parser will pick up.
396 SrcMgr.AddNewSourceBuffer(std::move(*BufferPtr), SMLoc());
400 SrcMgr.setIncludeDirs(IncludeDirs);
435 MCContext Ctx(TheTriple, MAI.get(), MRI.get(), STI.get(), &SrcMgr,
581 Res = AsLexInput(SrcMgr, *MAI, Out->os());
584 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI,
601 SrcMgr, Ctx, MCOptions, HexBytes);