/external/llvm/lib/IR/ |
GCOV.cpp | 474 std::unique_ptr<MemoryBuffer> Buffer; 479 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = 480 MemoryBuffer::getFileOrSTDIN(Filename);
|
/external/llvm/lib/Object/ |
ArchiveWriter.cpp | 323 std::vector<std::unique_ptr<MemoryBuffer>> Buffers; 338 ErrorOr<std::unique_ptr<MemoryBuffer>> MemberBufferOrErr = 339 MemoryBuffer::getOpenFile(FD.get(), Filename, Status.getSize(),
|
Object.cpp | 63 std::unique_ptr<MemoryBuffer> Buf(unwrap(MemBuf));
|
Archive.cpp | 19 #include "llvm/Support/MemoryBuffer.h" 152 ErrorOr<std::unique_ptr<MemoryBuffer>> Buf = MemoryBuffer::getFile(FullName);
|
/external/llvm/lib/Transforms/Utils/ |
SymbolRewriter.cpp | 67 #include "llvm/Support/MemoryBuffer.h" 234 ErrorOr<std::unique_ptr<MemoryBuffer>> Mapping = 235 MemoryBuffer::getFile(MapFile); 247 bool RewriteMapParser::parse(std::unique_ptr<MemoryBuffer> &MapFile,
|
/external/llvm/tools/llvm-mc/ |
llvm-mc.cpp | 35 #include "llvm/Support/MemoryBuffer.h" 399 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = 400 MemoryBuffer::getFileOrSTDIN(InputFilename); 405 MemoryBuffer *Buffer = BufferPtr->get();
|
/external/llvm/tools/llvm-pdbdump/ |
llvm-pdbdump.cpp | 43 #include "llvm/Support/MemoryBuffer.h" 382 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = 383 MemoryBuffer::getFileOrSTDIN(Path, /*FileSize=*/-1, 389 std::unique_ptr<MemoryBuffer> &Buffer = ErrorOrBuffer.get();
|
/external/llvm/tools/verify-uselistorder/ |
verify-uselistorder.cpp | 45 #include "llvm/Support/MemoryBuffer.h" 153 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOr = 154 MemoryBuffer::getFile(Filename); 161 MemoryBuffer *Buffer = BufferOr.get().get();
|
/external/clang/lib/Basic/ |
FileManager.cpp | 27 #include "llvm/Support/MemoryBuffer.h" 412 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> 446 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
|
/external/clang/lib/CodeGen/ |
CGCUDANV.cpp | 244 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> GpuBinaryOrErr = 245 llvm::MemoryBuffer::getFileOrSTDIN(GpuBinaryFileName);
|
CodeGenAction.cpp | 36 #include "llvm/Support/MemoryBuffer.h" 288 const MemoryBuffer *LBuf = 293 std::unique_ptr<llvm::MemoryBuffer> CBuf = 294 llvm::MemoryBuffer::getMemBufferCopy(LBuf->getBuffer(), 748 llvm::MemoryBuffer *MainFile = SM.getBuffer(FID, &Invalid); [all...] |
/external/clang/unittests/Lex/ |
LexerTest.cpp | 64 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Source);
|
/external/llvm/include/llvm/Support/ |
GCOV.h | 23 #include "llvm/Support/MemoryBuffer.h" 52 /// GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific 56 GCOVBuffer(MemoryBuffer *B) : Buffer(B), Cursor(0) {} 226 MemoryBuffer *Buffer;
|
/external/llvm/test/Bindings/OCaml/ |
target.ml | 106 Llvm.MemoryBuffer.dispose buf
|
/external/clang/lib/Frontend/ |
FrontendActions.cpp | 26 #include "llvm/Support/MemoryBuffer.h" 373 std::unique_ptr<llvm::MemoryBuffer> InputBuffer = 374 llvm::MemoryBuffer::getMemBufferCopy(HeaderContents, 621 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); 687 const llvm::MemoryBuffer *Buffer = SM.getBuffer(SM.getMainFileID(),
|
CompilerInstance.cpp | 42 #include "llvm/Support/MemoryBuffer.h" 730 std::unique_ptr<llvm::MemoryBuffer>(Input.getBuffer()), Kind)); 767 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> SBOrErr = 768 llvm::MemoryBuffer::getSTDIN(); 773 std::unique_ptr<llvm::MemoryBuffer> SB = std::move(SBOrErr.get()); [all...] |
CacheTokens.cpp | 28 #include "llvm/Support/MemoryBuffer.h" 515 const llvm::MemoryBuffer *B = C.getBuffer(PP.getDiagnostics(), SM); 519 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID);
|
/external/clang/lib/Serialization/ |
GlobalModuleIndex.cpp | 29 #include "llvm/Support/MemoryBuffer.h" 126 GlobalModuleIndex::GlobalModuleIndex(std::unique_ptr<llvm::MemoryBuffer> Buffer, 242 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> BufferOrErr = 243 llvm::MemoryBuffer::getFile(IndexPath.c_str()); 246 std::unique_ptr<llvm::MemoryBuffer> Buffer = std::move(BufferOrErr.get());
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy.cpp | 683 virtual void notifyObjectCompiled(const Module *M, const MemoryBuffer *Obj) { 703 // MCJIT takes ownership of both the MemoryBuffer object and the memory 705 virtual MemoryBuffer* getObject(const Module* M) { 718 std::unique_ptr<MemoryBuffer> IRObjectBuffer; 719 MemoryBuffer::getFile(IRCacheFile.c_str(), IRObjectBuffer, -1, false); 724 return MemoryBuffer::getMemBufferCopy(IRObjectBuffer->getBuffer()); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 702 virtual void notifyObjectCompiled(const Module *M, const MemoryBuffer *Obj) { 722 // MCJIT takes ownership of both the MemoryBuffer object and the memory 724 virtual MemoryBuffer* getObject(const Module* M) { 737 std::unique_ptr<MemoryBuffer> IRObjectBuffer; 738 MemoryBuffer::getFile(IRCacheFile.c_str(), IRObjectBuffer, -1, false); 743 return MemoryBuffer::getMemBufferCopy(IRObjectBuffer->getBuffer()); [all...] |
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 23 #include "llvm/Support/MemoryBuffer.h" 607 std::unique_ptr<llvm::MemoryBuffer> memBuf( 608 llvm::MemoryBuffer::getMemBufferCopy(
|
/external/clang/tools/driver/ |
cc1as_main.cpp | 47 #include "llvm/Support/MemoryBuffer.h" 290 ErrorOr<std::unique_ptr<MemoryBuffer>> Buffer = 291 MemoryBuffer::getFileOrSTDIN(Opts.InputFile);
|
/external/llvm/lib/DebugInfo/Symbolize/ |
Symbolize.cpp | 32 #include "llvm/Support/MemoryBuffer.h" 136 ErrorOr<std::unique_ptr<MemoryBuffer>> MB = 137 MemoryBuffer::getFileOrSTDIN(Path);
|
/frameworks/compile/libbcc/bcinfo/ |
MetadataExtractor.cpp | 33 #include "llvm/Support/MemoryBuffer.h" 600 std::unique_ptr<llvm::MemoryBuffer> MEM( 601 llvm::MemoryBuffer::getMemBuffer(
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 27 class MemoryBuffer; 37 /// source file (MemoryBuffer) along with its \#include path and \#line data.
|