Searched refs:MainFileBuffer (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | PrecompiledPreamble.h | 86 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds, 113 const llvm::MemoryBufferRef &MainFileBuffer, 126 llvm::MemoryBuffer *MainFileBuffer) const; 133 llvm::MemoryBuffer *MainFileBuffer) const; 175 llvm::MemoryBuffer *MainFileBuffer) const;
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | PrecompiledPreamble.cpp | 415 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds, in Build() argument 443 std::vector<char> PreambleBytes(MainFileBuffer->getBufferStart(), in Build() 444 MainFileBuffer->getBufferStart() + in Build() 502 MainFileBuffer->getBuffer().slice(0, Bounds.Size), MainFilePath); in Build() 603 const llvm::MemoryBufferRef &MainFileBuffer, in CanReuse() argument 608 Bounds.Size <= MainFileBuffer.getBufferSize() && in CanReuse() 622 MainFileBuffer.getBuffer().begin())) in CanReuse() 715 llvm::MemoryBuffer *MainFileBuffer) const { in AddImplicitPreamble() 717 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in AddImplicitPreamble() 722 llvm::MemoryBuffer *MainFileBuffer) const { in OverridePreamble() [all …]
|
H A D | ASTUnit.cpp | 1346 std::unique_ptr<llvm::MemoryBuffer> MainFileBuffer = in getMainBufferWithPrecompiledPreamble() local 1349 if (!MainFileBuffer) in getMainBufferWithPrecompiledPreamble() 1353 PreambleInvocationIn.getLangOpts(), *MainFileBuffer, MaxLines); in getMainBufferWithPrecompiledPreamble() 1358 if (Preamble->CanReuse(PreambleInvocationIn, *MainFileBuffer, Bounds, in getMainBufferWithPrecompiledPreamble() 1370 return MainFileBuffer; in getMainBufferWithPrecompiledPreamble() 1415 PreambleInvocationIn, MainFileBuffer.get(), Bounds, *Diagnostics, VFS, in getMainBufferWithPrecompiledPreamble() 1463 return MainFileBuffer; in getMainBufferWithPrecompiledPreamble()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Parser.cpp | 28 auto *MainFileBuffer = SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID()); in TableGenParseFile() local 29 Records.saveInputFilename(MainFileBuffer->getBufferIdentifier().str()); in TableGenParseFile()
|