Home
last modified time | relevance | path

Searched refs:MemBuf (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitReader.cpp24 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, in LLVMParseBitcode() argument
26 return LLVMParseBitcodeInContext(LLVMGetGlobalContext(), MemBuf, OutModule, in LLVMParseBitcode()
30 LLVMBool LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, in LLVMParseBitcode2() argument
32 return LLVMParseBitcodeInContext2(LLVMGetGlobalContext(), MemBuf, OutModule); in LLVMParseBitcode2()
36 LLVMMemoryBufferRef MemBuf, in LLVMParseBitcodeInContext() argument
39 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext()
59 LLVMMemoryBufferRef MemBuf, in LLVMParseBitcodeInContext2() argument
61 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext2()
79 LLVMMemoryBufferRef MemBuf, in LLVMGetBitcodeModuleInContext() argument
82 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); in LLVMGetBitcodeModuleInContext()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DBitReader.h39 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule,
44 LLVMBool LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf,
49 LLVMMemoryBufferRef MemBuf,
53 LLVMMemoryBufferRef MemBuf,
61 LLVMMemoryBufferRef MemBuf,
67 LLVMMemoryBufferRef MemBuf,
71 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
74 LLVMBool LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM);
DObject.h74 LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf,
206 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf);
DIRReader.h32 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
DCore.h3986 const char *LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf);
3987 size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf);
3988 void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DObject.cpp64 LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, in LLVMCreateBinary() argument
69 createBinary(unwrap(MemBuf)->getMemBufferRef(), maybeContext)); in LLVMCreateBinary()
178 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf) { in LLVMCreateObjectFile() argument
179 std::unique_ptr<MemoryBuffer> Buf(unwrap(MemBuf)); in LLVMCreateObjectFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp703 MemoryBuffer *MemBuf) const { in checkAllRulesInBuffer()
707 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer()
710 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer()
713 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer()
715 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
727 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer()
867 MemoryBuffer *MemBuf) const { in checkAllRulesInBuffer()
868 return Impl->checkAllRulesInBuffer(RulePrefix, MemBuf); in checkAllRulesInBuffer()
DRuntimeDyldCheckerImpl.h36 bool checkAllRulesInBuffer(StringRef RulePrefix, MemoryBuffer *MemBuf) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/
DIRReader.cpp116 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, in LLVMParseIRInContext() argument
120 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); in LLVMParseIRInContext()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DPNaClTranslator.h47 llvm::MemoryBuffer *MemBuf);
DPNaClTranslator.cpp3264 MemoryBuffer *MemBuf) { in translateBuffer() argument
3266 reinterpret_cast<const unsigned char *>(MemBuf->getBufferStart()), in translateBuffer()
3267 reinterpret_cast<const unsigned char *>(MemBuf->getBufferEnd()))); in translateBuffer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DRuntimeDyldChecker.h162 bool checkAllRulesInBuffer(StringRef RulePrefix, MemoryBuffer *MemBuf) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp128 std::unique_ptr<MemoryBuffer> MemBuf; in addObjectFile() local
129 std::tie(ObjFile, MemBuf) = Obj.takeBinary(); in addObjectFile()
131 Buffers.push_back(std::move(MemBuf)); in addObjectFile()
/third_party/mindspore/patches/
D0009-npu-zero-copy.patch361 + auto membuf = new (std::nothrow) MemBuf();
519 + struct MemBuf {
529 + std::unordered_map<void *, MemBuf *> allocated_list_;
530 + std::multimap<size_t, MemBuf *> free_list_;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp899 MemoryBuffer &MemBuf = *MemBufOrErr.get(); in ExpandResponseFile() local
900 StringRef Str(MemBuf.getBufferStart(), MemBuf.getBufferSize()); in ExpandResponseFile()
903 ArrayRef<char> BufRef(MemBuf.getBufferStart(), MemBuf.getBufferEnd()); in ExpandResponseFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCommandLine.cpp1064 MemoryBuffer &MemBuf = *MemBufOrErr.get(); in ExpandResponseFile() local
1065 StringRef Str(MemBuf.getBufferStart(), MemBuf.getBufferSize()); in ExpandResponseFile()
1068 ArrayRef<char> BufRef(MemBuf.getBufferStart(), MemBuf.getBufferEnd()); in ExpandResponseFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp4049 const char *LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf) { in LLVMGetBufferStart() argument
4050 return unwrap(MemBuf)->getBufferStart(); in LLVMGetBufferStart()
4053 size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf) { in LLVMGetBufferSize() argument
4054 return unwrap(MemBuf)->getBufferSize(); in LLVMGetBufferSize()
4057 void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf) { in LLVMDisposeMemoryBuffer() argument
4058 delete unwrap(MemBuf); in LLVMDisposeMemoryBuffer()