Home
last modified time | relevance | path

Searched refs:BufferName (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSmallVectorMemoryBuffer.h40 : SV(std::move(SV)), BufferName("<in-memory object>") { in SmallVectorMemoryBuffer()
47 : SV(std::move(SV)), BufferName(Name) { in SmallVectorMemoryBuffer()
54 StringRef getBufferIdentifier() const override { return BufferName; } in getBufferIdentifier()
60 std::string BufferName; variable
DMemoryBuffer.h109 getMemBuffer(StringRef InputData, StringRef BufferName = "",
118 getMemBufferCopy(StringRef InputData, const Twine &BufferName = "");
192 getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "");
198 getNewMemBuffer(size_t Size, const Twine &BufferName = "");
/external/llvm/include/llvm/ExecutionEngine/
DObjectMemoryBuffer.h41 : SV(std::move(SV)), BufferName("<in-memory object>") { in ObjectMemoryBuffer()
48 : SV(std::move(SV)), BufferName(Name) { in ObjectMemoryBuffer()
52 const char* getBufferIdentifier() const override { return BufferName.c_str(); } in getBufferIdentifier()
58 std::string BufferName; variable
/external/llvm/lib/ExecutionEngine/MCJIT/
DObjectBuffer.h28 : SV(SV), BufferName("<in-memory object>") { in ObjectMemoryBuffer()
34 : SV(SV), BufferName(Name) { in ObjectMemoryBuffer()
37 const char* getBufferIdentifier() const override { return BufferName.c_str(); } in getBufferIdentifier()
43 std::string BufferName; variable
/external/llvm/lib/Support/
DMemoryBuffer.cpp109 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, in getMemBuffer() argument
111 auto *Ret = new (NamedBufferAlloc(BufferName)) in getMemBuffer()
123 MemoryBuffer::getMemBufferCopy(StringRef InputData, const Twine &BufferName) { in getMemBufferCopy() argument
125 getNewUninitMemBuffer(InputData.size(), BufferName); in getMemBufferCopy()
134 MemoryBuffer::getNewUninitMemBuffer(size_t Size, const Twine &BufferName) { in getNewUninitMemBuffer() argument
140 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer()
160 MemoryBuffer::getNewMemBuffer(size_t Size, StringRef BufferName) { in getNewMemBuffer() argument
161 std::unique_ptr<MemoryBuffer> SB = getNewUninitMemBuffer(Size, BufferName); in getNewMemBuffer()
236 getMemoryBufferForStream(int FD, const Twine &BufferName) { in getMemoryBufferForStream() argument
251 return MemoryBuffer::getMemBufferCopy(Buffer, BufferName); in getMemoryBufferForStream()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp109 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, in getMemBuffer() argument
111 auto *Ret = new (NamedBufferAlloc(BufferName)) in getMemBuffer()
123 MemoryBuffer::getMemBufferCopy(StringRef InputData, const Twine &BufferName) { in getMemBufferCopy() argument
125 getNewUninitMemBuffer(InputData.size(), BufferName); in getMemBufferCopy()
134 MemoryBuffer::getNewUninitMemBuffer(size_t Size, const Twine &BufferName) { in getNewUninitMemBuffer() argument
140 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer()
160 MemoryBuffer::getNewMemBuffer(size_t Size, StringRef BufferName) { in getNewMemBuffer() argument
161 std::unique_ptr<MemoryBuffer> SB = getNewUninitMemBuffer(Size, BufferName); in getNewMemBuffer()
236 getMemoryBufferForStream(int FD, const Twine &BufferName) { in getMemoryBufferForStream() argument
251 return MemoryBuffer::getMemBufferCopy(Buffer, BufferName); in getMemoryBufferForStream()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DMemoryBuffer.cpp112 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, in getMemBuffer() argument
114 auto *Ret = new (NamedBufferAlloc(BufferName)) in getMemBuffer()
126 getMemBufferCopyImpl(StringRef InputData, const Twine &BufferName) { in getMemBufferCopyImpl() argument
127 auto Buf = WritableMemoryBuffer::getNewUninitMemBuffer(InputData.size(), BufferName); in getMemBufferCopyImpl()
135 MemoryBuffer::getMemBufferCopy(StringRef InputData, const Twine &BufferName) { in getMemBufferCopy() argument
136 auto Buf = getMemBufferCopyImpl(InputData, BufferName); in getMemBufferCopy()
211 getMemoryBufferForStream(sys::fs::file_t FD, const Twine &BufferName) { in getMemoryBufferForStream() argument
226 return getMemBufferCopyImpl(Buffer, BufferName); in getMemoryBufferForStream()
274 WritableMemoryBuffer::getNewUninitMemBuffer(size_t Size, const Twine &BufferName) { in getNewUninitMemBuffer() argument
281 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer()
[all …]
/external/llvm/include/llvm/Support/
DMemoryBuffer.h95 getMemBuffer(StringRef InputData, StringRef BufferName = "",
104 getMemBufferCopy(StringRef InputData, const Twine &BufferName = "");
110 getNewMemBuffer(size_t Size, StringRef BufferName = "");
116 getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "");
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMemoryBuffer.h105 getMemBuffer(StringRef InputData, StringRef BufferName = "",
114 getMemBufferCopy(StringRef InputData, const Twine &BufferName = "");
120 getNewMemBuffer(size_t Size, StringRef BufferName = "");
126 getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "");
/external/swiftshader/third_party/subzero/unittest/
DBitcodeMunge.cpp41 const char *BufferName = "Test"; in runTest() local
43 Translator.translateBuffer(BufferName, MungedInput.get()); in runTest()
/external/llvm/utils/TableGen/
DCTagsEmitter.cpp40 const char *BufferName = CurMB->getBufferIdentifier(); in emit() local
42 OS << *Id << "\t" << BufferName << "\t" << LineAndColumn.first << "\n"; in emit()
/external/llvm/unittests/Support/
DSourceMgrTest.cpp25 void setMainBuffer(StringRef Text, StringRef BufferName) { in setMainBuffer() argument
27 MemoryBuffer::getMemBuffer(Text, BufferName); in setMainBuffer()
/external/llvm/include/llvm-c/
DCore.h3163 const char *BufferName,
3167 const char *BufferName);
/external/llvm/lib/IR/
DCore.cpp3156 const char *BufferName, in LLVMCreateMemoryBufferWithMemoryRange() argument
3160 StringRef(BufferName), in LLVMCreateMemoryBufferWithMemoryRange()
3167 const char *BufferName) { in LLVMCreateMemoryBufferWithMemoryRangeCopy() argument
3171 StringRef(BufferName)).release()); in LLVMCreateMemoryBufferWithMemoryRangeCopy()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3981 const char *BufferName,
3985 const char *BufferName);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp4031 const char *BufferName, in LLVMCreateMemoryBufferWithMemoryRange() argument
4035 StringRef(BufferName), in LLVMCreateMemoryBufferWithMemoryRange()
4042 const char *BufferName) { in LLVMCreateMemoryBufferWithMemoryRangeCopy() argument
4046 StringRef(BufferName)).release()); in LLVMCreateMemoryBufferWithMemoryRangeCopy()