Home
last modified time | relevance | path

Searched refs:MemoryBuffer (Results 1 – 25 of 242) sorted by relevance

12345678910

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMemoryBuffer.h41 class MemoryBuffer {
46 MemoryBuffer() = default;
55 MemoryBuffer(const MemoryBuffer &) = delete;
56 MemoryBuffer &operator=(const MemoryBuffer &) = delete;
57 virtual ~MemoryBuffer();
79 static ErrorOr<std::unique_ptr<MemoryBuffer>>
86 static ErrorOr<std::unique_ptr<MemoryBuffer>>
92 static ErrorOr<std::unique_ptr<MemoryBuffer>>
102 static ErrorOr<std::unique_ptr<MemoryBuffer>>
108 static std::unique_ptr<MemoryBuffer>
[all …]
DSpecialCaseList.h63 class MemoryBuffer; variable
76 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB,
109 bool createInternal(const MemoryBuffer *MB, std::string &Error);
144 bool parse(const MemoryBuffer *MB, StringMap<size_t> &SectionsMap,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp41 MemoryBuffer::~MemoryBuffer() { } in ~MemoryBuffer()
45 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init()
83 class MemoryBufferMem : public MemoryBuffer {
104 static ErrorOr<std::unique_ptr<MemoryBuffer>>
108 std::unique_ptr<MemoryBuffer>
109 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, in getMemBuffer()
113 return std::unique_ptr<MemoryBuffer>(Ret); in getMemBuffer()
116 std::unique_ptr<MemoryBuffer>
117 MemoryBuffer::getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator) { in getMemBuffer()
118 return std::unique_ptr<MemoryBuffer>(getMemBuffer( in getMemBuffer()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMemoryBuffer.h40 class MemoryBuffer {
46 MemoryBuffer() = default;
51 MemoryBuffer(const MemoryBuffer &) = delete;
52 MemoryBuffer &operator=(const MemoryBuffer &) = delete;
53 virtual ~MemoryBuffer();
75 static ErrorOr<std::unique_ptr<MemoryBuffer>>
82 static ErrorOr<std::unique_ptr<MemoryBuffer>>
88 static ErrorOr<std::unique_ptr<MemoryBuffer>>
98 static ErrorOr<std::unique_ptr<MemoryBuffer>>
104 static std::unique_ptr<MemoryBuffer>
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DMemoryBuffer.cpp18 MemoryBuffer::~MemoryBuffer() in ~MemoryBuffer()
24 bool MemoryBuffer::resize(size_t size) in resize()
59 void MemoryBuffer::fill(uint8_t datum) in fill()
67 MemoryBuffer::MemoryBuffer(MemoryBuffer &&other) : MemoryBuffer() in MemoryBuffer() function in angle::MemoryBuffer
72 MemoryBuffer &MemoryBuffer::operator=(MemoryBuffer &&other) in operator =()
85 bool ScratchBuffer::get(size_t requestedSize, MemoryBuffer **memoryBufferOut) in get()
91 MemoryBuffer **memoryBufferOut, in getInitialized()
98 MemoryBuffer **memoryBufferOut, in getImpl()
DMemoryBuffer.h20 class MemoryBuffer final : NonCopyable
23 MemoryBuffer() = default;
24 MemoryBuffer(size_t size) { resize(size); } in MemoryBuffer() function
25 ~MemoryBuffer();
27 MemoryBuffer(MemoryBuffer &&other);
28 MemoryBuffer &operator=(MemoryBuffer &&other);
69 bool get(size_t requestedSize, MemoryBuffer **memoryBufferOut);
72 bool getInitialized(size_t requestedSize, MemoryBuffer **memoryBufferOut, uint8_t initValue);
80 bool getImpl(size_t requestedSize, MemoryBuffer **memoryBufferOut, Optional<uint8_t> initValue);
84 MemoryBuffer mScratchMemory;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DMemoryBuffer.cpp41 MemoryBuffer::~MemoryBuffer() { } in ~MemoryBuffer()
45 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init()
87 MemoryBuffer::init(InputData.begin(), InputData.end(), in MemoryBufferMem()
100 MemoryBuffer::BufferKind getBufferKind() const override { in getBufferKind()
101 return MemoryBuffer::MemoryBuffer_Malloc; in getBufferKind()
111 std::unique_ptr<MemoryBuffer>
112 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, in getMemBuffer()
115 MemoryBufferMem<MemoryBuffer>(InputData, RequiresNullTerminator); in getMemBuffer()
116 return std::unique_ptr<MemoryBuffer>(Ret); in getMemBuffer()
119 std::unique_ptr<MemoryBuffer>
[all …]
DFileUtilities.cpp185 ErrorOr<std::unique_ptr<MemoryBuffer>> F1OrErr = MemoryBuffer::getFile(NameA); in DiffFilesWithTolerance()
191 MemoryBuffer &F1 = *F1OrErr.get(); in DiffFilesWithTolerance()
193 ErrorOr<std::unique_ptr<MemoryBuffer>> F2OrErr = MemoryBuffer::getFile(NameB); in DiffFilesWithTolerance()
199 MemoryBuffer &F2 = *F2OrErr.get(); in DiffFilesWithTolerance()
/third_party/skia/third_party/externals/angle2/src/common/
DMemoryBuffer.cpp18 MemoryBuffer::~MemoryBuffer() in ~MemoryBuffer()
27 bool MemoryBuffer::resize(size_t size) in resize()
65 void MemoryBuffer::fill(uint8_t datum) in fill()
73 MemoryBuffer::MemoryBuffer(MemoryBuffer &&other) : MemoryBuffer() in MemoryBuffer() function in angle::MemoryBuffer
78 MemoryBuffer &MemoryBuffer::operator=(MemoryBuffer &&other) in operator =()
111 bool ScratchBuffer::get(size_t requestedSize, MemoryBuffer **memoryBufferOut) in get()
117 MemoryBuffer **memoryBufferOut, in getInitialized()
124 MemoryBuffer **memoryBufferOut, in getImpl()
DMemoryBuffer.h20 class MemoryBuffer final : NonCopyable
23 MemoryBuffer() = default;
24 ~MemoryBuffer();
26 MemoryBuffer(MemoryBuffer &&other);
27 MemoryBuffer &operator=(MemoryBuffer &&other);
73 bool get(size_t requestedSize, MemoryBuffer **memoryBufferOut);
76 bool getInitialized(size_t requestedSize, MemoryBuffer **memoryBufferOut, uint8_t initValue);
84 bool getImpl(size_t requestedSize, MemoryBuffer **memoryBufferOut, Optional<uint8_t> initValue);
88 MemoryBuffer mScratchMemory;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DParser.cpp30 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(F); in parseAssemblyInto()
58 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in parseAssemblyFile()
59 MemoryBuffer::getFileOrSTDIN(Filename); in parseAssemblyFile()
88 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in parseAssemblyFileWithIndex()
89 MemoryBuffer::getFileOrSTDIN(Filename); in parseAssemblyFileWithIndex()
114 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(F); in parseSummaryIndexAssemblyInto()
136 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in parseSummaryIndexAssemblyFile()
137 MemoryBuffer::getFileOrSTDIN(Filename); in parseSummaryIndexAssemblyFile()
150 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); in parseConstantValue()
167 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); in parseType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DSampleProfReader.h245 SampleProfileReaderItaniumRemapper(std::unique_ptr<MemoryBuffer> B, in SampleProfileReaderItaniumRemapper()
261 create(std::unique_ptr<MemoryBuffer> &B, SampleProfileReader &Reader,
284 std::unique_ptr<MemoryBuffer> Buffer;
323 SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C,
402 create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C,
408 MemoryBuffer *getBuffer() const { return Buffer.get(); } in getBuffer()
434 std::unique_ptr<MemoryBuffer> Buffer;
456 SampleProfileReaderText(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderText()
466 static bool hasFormat(const MemoryBuffer &Buffer);
471 SampleProfileReaderBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C,
[all …]
DInstrProfReader.h132 create(std::unique_ptr<MemoryBuffer> Buffer);
146 std::unique_ptr<MemoryBuffer> DataBuffer;
155 TextInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer_) in TextInstrProfReader()
161 static bool hasFormat(const MemoryBuffer &Buffer);
190 std::unique_ptr<MemoryBuffer> DataBuffer;
210 RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer) in RawInstrProfReader()
215 static bool hasFormat(const MemoryBuffer &DataBuffer);
429 std::unique_ptr<MemoryBuffer> DataBuffer;
431 std::unique_ptr<MemoryBuffer> RemappingBuffer;
451 std::unique_ptr<MemoryBuffer> DataBuffer,
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DBlobCache.h53 angle::MemoryBuffer *compressedData);
56 angle::MemoryBuffer *uncompressedData);
97 void put(const BlobCache::Key &key, angle::MemoryBuffer &&value);
100 void putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value);
105 angle::MemoryBuffer &&value,
152 using CacheEntry = std::pair<angle::MemoryBuffer, CacheSource>;
DBlobCache.cpp39 angle::MemoryBuffer *compressedData) in CompressBlobCacheData()
71 angle::MemoryBuffer *uncompressedData) in DecompressBlobCacheData()
109 void BlobCache::put(const BlobCache::Key &key, angle::MemoryBuffer &&value) in put()
122 void BlobCache::putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value) in putApplication()
131 void BlobCache::populate(const BlobCache::Key &key, angle::MemoryBuffer &&value, CacheSource source) in populate()
155 angle::MemoryBuffer *scratchMemory; in get()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DDebugUtils.h22 class MemoryBuffer; variable
46 Expected<std::unique_ptr<MemoryBuffer>>
47 operator()(std::unique_ptr<MemoryBuffer> Obj);
50 StringRef getBufferIdentifier(MemoryBuffer &B);
DLayer.h136 virtual Error add(JITDylib &JD, std::unique_ptr<MemoryBuffer> O,
141 std::unique_ptr<MemoryBuffer> O) = 0;
152 Create(ObjectLayer &L, VModuleKey K, std::unique_ptr<MemoryBuffer> O);
155 std::unique_ptr<MemoryBuffer> O,
167 std::unique_ptr<MemoryBuffer> O;
DCompileUtils.h24 class MemoryBuffer; variable
41 using CompileResult = std::unique_ptr<MemoryBuffer>;
59 void notifyObjectCompiled(const Module &M, const MemoryBuffer &ObjBuffer);
92 Expected<std::unique_ptr<MemoryBuffer>> operator()(Module &M) override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/
DIRReader.cpp33 llvm::getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule()
56 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in getLazyIRFileModule()
57 MemoryBuffer::getFileOrSTDIN(Filename); in getLazyIRFileModule()
99 ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr = in parseIRFile()
100 MemoryBuffer::getFileOrSTDIN(Filename); in parseIRFile()
120 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); in LLVMParseIRInContext()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp46 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in localCache()
47 MemoryBuffer::getOpenFile(*FDOrErr, EntryPath, in localCache()
90 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in localCache()
91 MemoryBuffer::getOpenFile( in localCache()
114 auto MBCopy = MemoryBuffer::getMemBufferCopy((*MBOrErr)->getBuffer(), in localCache()
DLTOModule.cpp62 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in isBitcodeFile()
63 MemoryBuffer::getFile(Path); in isBitcodeFile()
81 bool LTOModule::isBitcodeForTarget(MemoryBuffer *Buffer, in isBitcodeForTarget()
95 std::string LTOModule::getProducerString(MemoryBuffer *Buffer) { in getProducerString()
111 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createFromFile()
112 MemoryBuffer::getFile(path); in createFromFile()
117 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in createFromFile()
132 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createFromOpenFileSlice()
133 MemoryBuffer::getOpenFileSlice(sys::fs::convertFDToNativeFile(fd), path, in createFromOpenFileSlice()
139 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in createFromOpenFileSlice()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/WindowsManifest/
DWindowsManifestMerger.h32 class MemoryBuffer; variable
52 Error merge(const MemoryBuffer &Manifest);
56 std::unique_ptr<MemoryBuffer> getMergedManifest();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DGsymReader.h30 class MemoryBuffer; variable
48 GsymReader(std::unique_ptr<MemoryBuffer> Buffer);
51 std::unique_ptr<MemoryBuffer> MemBuffer;
225 create(std::unique_ptr<MemoryBuffer> &MemBuffer);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DBlobCache.h90 void put(const BlobCache::Key &key, angle::MemoryBuffer &&value);
93 void putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value);
98 angle::MemoryBuffer &&value,
144 using CacheEntry = std::pair<angle::MemoryBuffer, CacheSource>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DBinary.h185 std::unique_ptr<MemoryBuffer> Buf;
189 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf);
193 std::pair<std::unique_ptr<T>, std::unique_ptr<MemoryBuffer>> takeBinary();
201 std::unique_ptr<MemoryBuffer> Buf) in OwningBinary()
218 std::pair<std::unique_ptr<T>, std::unique_ptr<MemoryBuffer>>

12345678910