/external/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in LexRawTokensFromMainFile() 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile() 95 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput() 210 Rewrite.getRewriteBufferFor(SM.getMainFileID())) { in RewriteMacrosInInput()
|
D | RewriteTest.cpp | 23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts); in DoRewriteTest()
|
D | InclusionRewriter.cpp | 232 const MemoryBuffer &FromFile = *SM.getBuffer(SM.getMainFileID(), &Invalid); in detectMainFileEOL() 416 if (FileId == SM.getMainFileID() || FileId == PP.getPredefinesFileID()) in Process() 603 Rewrite->Process(SM.getMainFileID(), SrcMgr::C_User); in RewriteIncludesInInput()
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 723 == rewriter_.getSourceMgr().getMainFileID()) { in VisitFunctionDecl() 949 == rewriter_.getSourceMgr().getMainFileID()) { in VisitCallExpr() 1370 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).InsertText(0, in DoMiscWorkAround() 1383 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).InsertTextAfter( in DoMiscWorkAround() 1384 rewriter_->getSourceMgr().getBuffer(rewriter_->getSourceMgr().getMainFileID())->getBufferSize(), in DoMiscWorkAround() 1393 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).write(llvm::errs()); in EndSourceFileAction() 1396 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()) in EndSourceFileAction() 1405 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).write(os_); in EndSourceFileAction()
|
D | tp_frontend_action.cc | 244 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).write(os_); in EndSourceFileAction()
|
/external/v8/tools/clang/translation_unit/ |
D | TranslationUnitGenerator.cpp | 130 source_manager_->getFileEntryForID(source_manager_->getMainFileID()) in FileChanged() 209 source_manager_->getFileEntryForID(source_manager_->getMainFileID()); in EndOfMainFile()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.cpp | 48 FileID mainFileID = SM.getMainFileID(); in onBodySynthesis()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 623 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() 624 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() 689 const llvm::MemoryBuffer *Buffer = SM.getBuffer(SM.getMainFileID(), in ExecuteAction()
|
D | LogDiagnosticPrinter.cpp | 120 FileID FID = SM.getMainFileID(); in HandleDiagnostic()
|
D | ASTUnit.cpp | 1622 if (!File || File == SourceMgr.getFileEntryForID(SourceMgr.getMainFileID())) in getMainBufferWithPrecompiledPreamble() 1693 FE = SourceMgr->getFileEntryForID(SourceMgr->getMainFileID())) in getMainFileName() 2690 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble() 2709 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2732 FID = SourceMgr->getMainFileID(); in isInMainFileID() 2754 FID = SourceMgr->getMainFileID(); in getStartOfMainFileID()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 240 SourceLocation MainFileLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in FileChanged() 244 DataConsumer.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged() 322 if (SM.getMainFileID() == FID) in shouldSkipFunctionBody()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SourceMgr.h | 106 unsigned getMainFileID() const { in getMainFileID() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | SourceMgr.h | 140 unsigned getMainFileID() const { in getMainFileID() function
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 111 unsigned getMainFileID() const { in getMainFileID() function
|
/external/clang/lib/Lex/ |
D | Preprocessor.cpp | 408 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()) == File) { in SetCodeCompletionPoint() 501 FileID MainFileID = SourceMgr.getMainFileID(); in EnterMainSourceFile()
|
D | PPLexerChange.cpp | 483 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
|
/external/llvm/lib/TableGen/ |
D | TGLexer.cpp | 30 CurBuffer = SrcMgr.getMainFileID(); in TGLexer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | TGLexer.cpp | 32 CurBuffer = SrcMgr.getMainFileID(); in TGLexer()
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MIRParser.cpp | 212 yaml::Input In(SM.getMemoryBuffer(SM.getMainFileID())->getBuffer(), in parse() 699 for (line_iterator L(*SM.getMemoryBuffer(SM.getMainFileID()), false), E; in diagFromBlockStringDiag()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 176 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 754 FileID getMainFileID() const { return MainFileID; } in getMainFileID() function 1347 return getFileID(Loc) == getMainFileID(); in isWrittenInMainFile()
|
/external/llvm/lib/MC/ |
D | MCContext.cpp | 59 SrcMgr->getMemoryBuffer(SrcMgr->getMainFileID())->getBufferIdentifier(); in MCContext()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 242 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer()); in AsLexInput()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 253 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer()); in AsLexInput()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCContext.cpp | 68 SrcMgr->getMemoryBuffer(SrcMgr->getMainFileID())->getBufferIdentifier(); in MCContext()
|