HomeSort by relevance Sort by last modified time
    Searched refs:MemoryBuffer (Results 101 - 125 of 226) sorted by null

1 2 3 45 6 7 8 910

  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldCheckerImpl.h 30 bool checkAllRulesInBuffer(StringRef RulePrefix, MemoryBuffer *MemBuf) const;
  /external/llvm/lib/Object/
IRObjectFile.cpp 31 #include "llvm/Support/MemoryBuffer.h"
75 std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer(InlineAsm));
308 std::unique_ptr<MemoryBuffer> Buff(
309 MemoryBuffer::getMemBuffer(BCOrErr.get(), false));
  /external/llvm/tools/llvm-lto/
llvm-lto.cpp 178 getLocalLTOModule(StringRef Path, std::unique_ptr<MemoryBuffer> &Buffer,
180 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr =
181 MemoryBuffer::getFile(Path);
199 std::unique_ptr<MemoryBuffer> Buffer;
  /external/llvm/utils/TableGen/
CTagsEmitter.cpp 17 #include "llvm/Support/MemoryBuffer.h"
38 const MemoryBuffer *CurMB =
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
encodedstreamtest.cpp 21 #include "rapidjson/memorybuffer.h"
181 // Test MemoryBuffer
183 MemoryBuffer mb;
184 EncodedOutputStream<FileEncoding, MemoryBuffer> eos(mb, putBOM);
215 // Test MemoryBuffer
217 MemoryBuffer mb;
218 AutoUTFOutputStream<unsigned, MemoryBuffer> eos(mb, type, putBOM);
  /external/llvm/include/llvm/Support/
SourceMgr.h 22 #include "llvm/Support/MemoryBuffer.h"
50 std::unique_ptr<MemoryBuffer> Buffer;
102 const MemoryBuffer *getMemoryBuffer(unsigned i) const {
123 unsigned AddNewSourceBuffer(std::unique_ptr<MemoryBuffer> F,
  /external/llvm/lib/Support/
LockFileManager.cpp 13 #include "llvm/Support/MemoryBuffer.h"
45 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr =
46 MemoryBuffer::getFile(LockFileName);
51 MemoryBuffer &MB = *MBOrErr.get();
SourceMgr.cpp 19 #include "llvm/Support/MemoryBuffer.h"
49 ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr =
50 MemoryBuffer::getFile(IncludedFile);
57 NewBufOrErr = MemoryBuffer::getFile(IncludedFile);
82 const MemoryBuffer *Buff = getMemoryBuffer(BufferID);
151 const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf);
  /external/llvm/tools/llvm-mcmarkup/
llvm-mcmarkup.cpp 17 #include "llvm/Support/MemoryBuffer.h"
138 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr =
139 MemoryBuffer::getFileOrSTDIN(Filename);
144 std::unique_ptr<MemoryBuffer> &Buffer = BufferPtr.get();
  /external/llvm/utils/yaml-bench/
YAMLBench.cpp 19 #include "llvm/Support/MemoryBuffer.h"
201 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr =
202 MemoryBuffer::getFileOrSTDIN(Input);
205 MemoryBuffer &Buf = *BufOrErr.get();
  /external/clang/lib/Basic/
SourceManager.cpp 23 #include "llvm/Support/MemoryBuffer.h"
32 using llvm::MemoryBuffer;
51 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const {
56 return llvm::MemoryBuffer::MemoryBuffer_Malloc;
58 llvm::MemoryBuffer *buf = Buffer.getPointer();
71 void ContentCache::replaceBuffer(llvm::MemoryBuffer *B, bool DoNotFree) {
84 llvm::MemoryBuffer *ContentCache::getBuffer(DiagnosticsEngine &Diag,
113 Buffer.setPointer(MemoryBuffer::getNewUninitMemBuffer(
451 std::unique_ptr<llvm::MemoryBuffer> Buffer) {
495 llvm::MemoryBuffer *SourceManager::getFakeBufferForRecovery() const
    [all...]
VirtualFileSystem.cpp 20 #include "llvm/Support/MemoryBuffer.h"
91 ErrorOr<std::unique_ptr<MemoryBuffer>>
133 ErrorOr<std::unique_ptr<MemoryBuffer>> getBuffer(const Twine &Name,
153 ErrorOr<std::unique_ptr<MemoryBuffer>>
157 return MemoryBuffer::getOpenFile(FD, Name, FileSize, RequiresNullTerminator,
409 std::unique_ptr<llvm::MemoryBuffer> Buffer;
412 InMemoryFile(Status Stat, std::unique_ptr<llvm::MemoryBuffer> Buffer)
415 llvm::MemoryBuffer *getBuffer() { return Buffer.get(); }
432 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
435 llvm::MemoryBuffer *Buf = Node.getBuffer()
    [all...]
  /external/clang/lib/Rewrite/
HTMLRewrite.cpp 22 #include "llvm/Support/MemoryBuffer.h"
109 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID);
228 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID);
273 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID);
361 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID);
451 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID);
  /external/clang/lib/Serialization/
ModuleManager.cpp 19 #include "llvm/Support/MemoryBuffer.h"
49 std::unique_ptr<llvm::MemoryBuffer>
116 if (std::unique_ptr<llvm::MemoryBuffer> Buffer = lookupBuffer(FileName)) {
121 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> Buf(
124 Buf = llvm::MemoryBuffer::getSTDIN();
248 std::unique_ptr<llvm::MemoryBuffer> Buffer) {
  /external/clang/unittests/Tooling/
ToolingTest.cpp 167 "test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("#include <abc>\n"));
169 llvm::MemoryBuffer::getMemBuffer("\n"));
193 "test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("#include <abc>\n"));
195 llvm::MemoryBuffer::getMemBuffer("\n"));
199 llvm::MemoryBuffer::getMemBuffer("\n"));
  /external/clang/lib/Tooling/
Tooling.cpp 140 llvm::MemoryBuffer::getMemBuffer(
146 llvm::MemoryBuffer::getMemBuffer(FilenameWithContent.second));
257 std::unique_ptr<llvm::MemoryBuffer> Input =
258 llvm::MemoryBuffer::getMemBuffer(It.getValue());
363 llvm::MemoryBuffer::getMemBuffer(MappedFile.second));
408 llvm::MemoryBuffer::getMemBuffer(MappedFile.second));
497 llvm::MemoryBuffer::getMemBuffer(
  /external/llvm/tools/lli/
lli.cpp 45 #include "llvm/Support/MemoryBuffer.h"
274 std::unique_ptr<MemoryBuffer> getObject(const Module* M) override {
280 ErrorOr<std::unique_ptr<MemoryBuffer>> IRObjectBuffer =
281 MemoryBuffer::getFile(CacheName.c_str(), -1, false);
289 return MemoryBuffer::getMemBufferCopy(IRObjectBuffer.get()->getBuffer());
515 ErrorOr<std::unique_ptr<MemoryBuffer>> ArBufOrErr =
516 MemoryBuffer::getFileOrSTDIN(ExtraArchives[i]);
521 std::unique_ptr<MemoryBuffer> &ArBuf = ArBufOrErr.get();
  /external/llvm/tools/llvm-ar/
llvm-ar.cpp 29 #include "llvm/Support/MemoryBuffer.h"
653 ErrorOr<std::unique_ptr<MemoryBuffer>> Buf =
654 MemoryBuffer::getFile(ArchiveName, -1, false);
685 ErrorOr<std::unique_ptr<MemoryBuffer>> Buf = MemoryBuffer::getSTDIN();
687 const MemoryBuffer &Ref = *Buf.get();
690 std::vector<std::unique_ptr<MemoryBuffer>> ArchiveBuffers;
710 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false);
  /external/llvm/utils/FileCheck/
FileCheck.cpp 24 #include "llvm/Support/MemoryBuffer.h"
641 static std::unique_ptr<MemoryBuffer>
642 CanonicalizeInputFile(std::unique_ptr<MemoryBuffer> MB,
668 return std::unique_ptr<MemoryBuffer>(
669 MemoryBuffer::getMemBufferCopy(NewFile.str(), MB->getBufferIdentifier()));
838 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr =
839 MemoryBuffer::getFileOrSTDIN(CheckFilename);
848 std::unique_ptr<MemoryBuffer> F = CanonicalizeInputFile(
862 std::unique_ptr<MemoryBuffer> CmdLine = MemoryBuffer::getMemBufferCopy
    [all...]
  /external/llvm/lib/ProfileData/
SampleProfReader.cpp 30 #include "llvm/Support/MemoryBuffer.h"
227 bool SampleProfileReaderText::hasFormat(const MemoryBuffer &Buffer) {
418 bool SampleProfileReaderBinary::hasFormat(const MemoryBuffer &Buffer) {
663 bool SampleProfileReaderGCC::hasFormat(const MemoryBuffer &Buffer) {
671 static ErrorOr<std::unique_ptr<MemoryBuffer>>
673 auto BufferOrErr = MemoryBuffer::getFileOrSTDIN(Filename);
712 SampleProfileReader::create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C) {
  /external/llvm/lib/Transforms/IPO/
FunctionImport.cpp 356 std::unique_ptr<MemoryBuffer> Buffer;
357 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr =
358 MemoryBuffer::getFile(Path);
  /external/mesa3d/src/gallium/state_trackers/clover/llvm/
invocation.cpp 36 #include <llvm/Support/MemoryBuffer.h>
78 name, llvm::MemoryBuffer::getMemBuffer(source));
128 llvm::MemoryBuffer::getMemBuffer(source));
  /external/llvm/bindings/python/llvm/
object.py 26 llvm.core.MemoryBuffer and loading that.
90 from .core import MemoryBuffer
108 llvm.core.MemoryBuffer instance.
111 assert isinstance(contents, MemoryBuffer)
114 contents = MemoryBuffer(filename=filename)
431 library.LLVMCreateObjectFile.argtypes = [MemoryBuffer]
  /external/llvm/include/llvm/Bitcode/
ReaderWriter.h 21 #include "llvm/Support/MemoryBuffer.h"
38 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer,
  /external/llvm/tools/lto/
lto.cpp 23 #include "llvm/Support/MemoryBuffer.h"
131 std::unique_ptr<MemoryBuffer> NativeObjectFile;
173 ErrorOr<std::unique_ptr<MemoryBuffer>> Buffer = MemoryBuffer::getFile(path);
187 std::unique_ptr<MemoryBuffer> buffer(LTOModule::makeBuffer(mem, length));

Completed in 1382 milliseconds

1 2 3 45 6 7 8 910