/external/llvm/lib/TableGen/ |
H A D | Error.cpp | 22 SourceMgr SrcMgr; member in namespace:llvm 35 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); 37 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note, 46 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); 58 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
|
H A D | TGParser.h | 87 TGParser(SourceMgr &SrcMgr, RecordKeeper &records) argument 88 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records), AnonCounter(0) {}
|
H A D | TGLexer.h | 63 SourceMgr &SrcMgr; member in class:llvm::TGLexer 85 TGLexer(SourceMgr &SrcMgr);
|
/external/llvm/lib/Object/ |
H A D | IRObjectFile.cpp | 78 SourceMgr SrcMgr; local 79 SrcMgr.AddNewSourceBuffer(Buffer.release(), SMLoc()); 81 createMCAsmParser(SrcMgr, MCCtx, *Streamer, *MAI));
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinterInlineAsm.cpp | 97 SourceMgr SrcMgr; local 109 SrcMgr.setDiagHandler(srcMgrDiagHandler, &DiagInfo); 119 // Tell SrcMgr about this buffer, it takes ownership of the buffer. 120 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc()); 123 createMCAsmParser(SrcMgr, OutContext, OutStreamer, *MAI));
|
/external/llvm/tools/llvm-mc/ |
H A D | llvm-mc.cpp | 241 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI, argument 245 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer()); 253 SrcMgr.PrintMessage(Lexer.getLoc(), SourceMgr::DK_Warning, 321 SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str, 325 createMCAsmParser(SrcMgr, Ctx, Str, MAI)); 378 SourceMgr SrcMgr; local 380 // Tell SrcMgr about this buffer, which is what the parser will pick up. 381 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc()); 385 SrcMgr 320 AssembleInput(const char *ProgName, const Target *TheTarget, SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str, MCAsmInfo &MAI, MCSubtargetInfo &STI, MCInstrInfo &MCII, MCTargetOptions &MCOptions) argument [all...] |
/external/llvm/tools/llvm-mcmarkup/ |
H A D | llvm-mcmarkup.cpp | 73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {} argument 146 SourceMgr SrcMgr; local 148 // Tell SrcMgr about this buffer, which is what the parser will pick up. 149 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc()); 153 MarkupParser Parser(Lex, SrcMgr); 202 SrcMgr.PrintMessage(Tag.getLoc(), SourceMgr::DK_Error,
|
/external/clang/tools/driver/ |
H A D | cc1as_main.cpp | 295 SourceMgr SrcMgr; local 297 // Tell SrcMgr about this buffer, which is what the parser will pick up. 298 SrcMgr.AddNewSourceBuffer(Buffer->release(), SMLoc()); 302 SrcMgr.setIncludeDirs(Opts.IncludePaths); 325 MCContext Ctx(MAI.get(), MRI.get(), MOFI.get(), &SrcMgr); 389 createMCAsmParser(SrcMgr, Ctx, *Str.get(), *MAI));
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 268 const SourceManager *SrcMgr; member in class:clang::SourceLocation::FullSourceLoc 271 explicit FullSourceLoc() : SrcMgr(nullptr) {} 274 : SourceLocation(Loc), SrcMgr(&SM) {} 278 assert(SrcMgr && "SourceManager is NULL."); 279 return *SrcMgr; 319 assert(SrcMgr == Loc.SrcMgr && "Loc comes from another SourceManager!"); 339 LHS.SrcMgr == RHS.SrcMgr;
|
H A D | Diagnostic.h | 386 void setSourceManager(SourceManager *SrcMgr) { SourceMgr = SrcMgr; } argument
|
H A D | SourceManager.h | 70 namespace SrcMgr { namespace in namespace:clang 440 } // end SrcMgr namespace. 567 llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos; 599 std::vector<SrcMgr::ContentCache*> MemBufferInfos; 605 SmallVector<SrcMgr::SLocEntry, 0> LocalSLocEntryTable; 611 mutable SmallVector<SrcMgr::SLocEntry, 0> LoadedSLocEntryTable; 651 mutable SrcMgr::ContentCache *LastLineNoContentCache; 690 mutable SrcMgr::ContentCache *FakeContentCacheForRecovery; 778 SrcMgr::CharacteristicKind FileCharacter, 780 const SrcMgr 791 createFileID(llvm::MemoryBuffer *Buffer, SrcMgr::CharacteristicKind FileCharacter = SrcMgr::C_User, int LoadedID = 0, unsigned LoadedOffset = 0, SourceLocation IncludeLoc = SourceLocation()) argument [all...] |
/external/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 70 namespace SrcMgr { class SLocEntry; } namespace in namespace:clang
|
/external/clang/lib/ARCMigrate/ |
H A D | TransformActions.cpp | 99 SourceManager &SrcMgr, Preprocessor &PP) { 100 return CharRange(CharSourceRange::getTokenRange(LHS), SrcMgr, PP) 102 SrcMgr, PP)); 98 compare(SourceRange LHS, SourceRange RHS, SourceManager &SrcMgr, Preprocessor &PP) argument
|
/external/clang/lib/Frontend/ |
H A D | CacheTokens.cpp | 497 const SrcMgr::ContentCache &C = *I->second; 507 FileID FID = SM.createFileID(FE, SourceLocation(), SrcMgr::C_User); 565 const SourceManager &SrcMgr = PP.getSourceManager(); local 566 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID());
|
H A D | ASTUnit.cpp | 2538 SourceManager &SrcMgr, 2556 FileID FID = SrcMgr.translateFile(FE); 2557 SourceLocation FileLoc = SrcMgr.getLocForStartOfFile(FID); 2561 FullSourceLoc Loc(L, SrcMgr); 2536 TranslateStoredDiagnostics( FileManager &FileMgr, SourceManager &SrcMgr, const SmallVectorImpl<StandaloneDiagnostic> &Diags, SmallVectorImpl<StoredDiagnostic> &Out) argument
|
/external/llvm/include/llvm/MC/ |
H A D | MCContext.h | 56 const SourceMgr *SrcMgr; member in class:llvm::MCContext 184 const SourceMgr *getSourceManager() const { return SrcMgr; }
|
/external/llvm/include/llvm/Support/ |
H A D | YAMLTraits.h | 988 llvm::SourceMgr SrcMgr; // must be before Strm member in class:llvm::yaml::Input
|
/external/clang/lib/Lex/ |
H A D | ModuleMap.cpp | 874 const SourceManager &SrcMgr = Loc.getManager(); local 878 = SrcMgr.getFileEntryForID(ExpansionFileID)) { 885 SourceLocation IncludeLoc = SrcMgr.getIncludeLoc(ExpansionFileID); 889 ExpansionFileID = SrcMgr.getFileID(IncludeLoc); 2260 auto FileCharacter = IsSystem ? SrcMgr::C_System : SrcMgr::C_User;
|
/external/clang/lib/Serialization/ |
H A D | ASTWriterStmt.cpp | 1942 SourceManager &SrcMgr local 1944 S->dump(SrcMgr);
|
H A D | ASTReader.cpp | 1048 SrcMgr::CharacteristicKind FileKind 1049 = (SrcMgr::CharacteristicKind)Record[Idx++]; 1062 using namespace SrcMgr; 1196 SrcMgr::CharacteristicKind 1197 FileCharacter = (SrcMgr::CharacteristicKind)Record[2]; 1200 SrcMgr::FileInfo &FileInfo = 1201 const_cast<SrcMgr::FileInfo&>(SourceMgr.getSLocEntry(FID).getFile()); 1214 const SrcMgr::ContentCache *ContentCache 1216 /*isSystemFile=*/FileCharacter != SrcMgr::C_User); 1239 SrcMgr 1867 SourceManager &SrcMgr = Reader.getSourceManager(); local [all...] |
H A D | ASTWriter.cpp | 1318 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); 1324 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); 1679 const SrcMgr::SLocEntry *SLoc = &SourceMgr.getLocalSLocEntry(I); 1689 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); 1702 const SrcMgr::FileInfo &File = SLoc->getFile(); 1707 const SrcMgr::ContentCache *Content = File.getContentCache(); 1762 const SrcMgr::ExpansionInfo &Expansion = SLoc->getExpansion(); 2254 SourceManager &SrcMgr = PP->getSourceManager(); local 2259 SrcMgr))) {
|
/external/llvm/lib/MC/ |
H A D | MCDwarf.cpp | 910 SourceMgr &SrcMgr, SMLoc &Loc) { 931 unsigned CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); 932 unsigned LineNumber = SrcMgr.FindLineNumber(Loc, CurBuffer); 909 Make(MCSymbol *Symbol, MCStreamer *MCOS, SourceMgr &SrcMgr, SMLoc &Loc) argument
|
/external/clang/tools/libclang/ |
H A D | CIndex.cpp | 164 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr); 309 const SrcMgr::SLocEntry &SLEntry = SM.getSLocEntry(File, &Invalid); 4537 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr) { argument 4557 SrcMgr.isBeforeInTranslationUnit(StartLoc, R.getBegin())) 5279 SourceManager &SrcMgr; member in class:__anon19512::AnnotateTokensWorker 5327 SrcMgr(cxtu::getASTUnit(TU)->getSourceManager()), 5376 if (LocationCompare(SrcMgr, TokLoc, range) == compResult) { 5410 if (LocationCompare(SrcMgr, TokLoc, range) == compResult) { 5489 switch (LocationCompare(SrcMgr, TokLoc, cursorRange)) { 5504 switch (LocationCompare(SrcMgr, TokLo [all...] |
/external/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 129 SourceMgr &SrcMgr; member in class:__anon25885::AsmParser 169 /// cache we save the last info we queried with SrcMgr.FindLineNumber(). 199 SourceMgr &getSourceManager() override { return SrcMgr; } 298 SrcMgr.PrintMessage(Loc, Kind, Msg, Ranges); 493 : Lexer(_MAI), Ctx(_Ctx), Out(_Out), MAI(_MAI), SrcMgr(_SM), 498 SavedDiagHandler = SrcMgr.getDiagHandler(); 499 SavedDiagContext = SrcMgr.getDiagContext(); 501 SrcMgr.setDiagHandler(DiagHandler, this); 502 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); 570 SrcMgr [all...] |