Home
last modified time | relevance | path

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

/external/llvm/lib/Bitcode/Reader/
DBitReader.cpp22 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, in LLVMParseBitcode() argument
24 return LLVMParseBitcodeInContext(wrap(&getGlobalContext()), MemBuf, OutModule, in LLVMParseBitcode()
29 LLVMMemoryBufferRef MemBuf, in LLVMParseBitcodeInContext() argument
34 *OutModule = wrap(ParseBitcodeFile(unwrap(MemBuf), *unwrap(ContextRef), in LLVMParseBitcodeInContext()
49 LLVMMemoryBufferRef MemBuf, in LLVMGetBitcodeModuleInContext() argument
54 *OutM = wrap(getLazyBitcodeModule(unwrap(MemBuf), *unwrap(ContextRef), in LLVMGetBitcodeModuleInContext()
66 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, in LLVMGetBitcodeModule() argument
68 return LLVMGetBitcodeModuleInContext(LLVMGetGlobalContext(), MemBuf, OutM, in LLVMGetBitcodeModule()
74 LLVMMemoryBufferRef MemBuf, in LLVMGetBitcodeModuleProviderInContext() argument
77 return LLVMGetBitcodeModuleInContext(ContextRef, MemBuf, in LLVMGetBitcodeModuleProviderInContext()
[all …]
/external/llvm/include/llvm-c/
DBitReader.h38 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf,
42 LLVMMemoryBufferRef MemBuf,
49 LLVMMemoryBufferRef MemBuf,
53 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
59 LLVMMemoryBufferRef MemBuf,
64 LLVMBool LLVMGetBitcodeModuleProvider(LLVMMemoryBufferRef MemBuf,
DObject.h45 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf);
DCore.h2520 void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf);
/external/llvm/bindings/ocaml/bitreader/
Dbitreader_ocaml.c49 CAMLprim value llvm_get_module(LLVMContextRef C, LLVMMemoryBufferRef MemBuf) { in llvm_get_module() argument
55 if (LLVMGetBitcodeModuleInContext(C, MemBuf, &M, &Message)) in llvm_get_module()
63 LLVMMemoryBufferRef MemBuf) { in llvm_parse_bitcode() argument
69 if (LLVMParseBitcodeInContext(C, MemBuf, &M, &Message)) in llvm_parse_bitcode()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp477 OwningPtr<MemoryBuffer> MemBuf; in AnalyzeBitcode() local
480 MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), MemBuf)) in AnalyzeBitcode()
483 if (MemBuf->getBufferSize() & 3) in AnalyzeBitcode()
486 const unsigned char *BufPtr = (unsigned char *)MemBuf->getBufferStart(); in AnalyzeBitcode()
487 const unsigned char *EndBufPtr = BufPtr+MemBuf->getBufferSize(); in AnalyzeBitcode()
/external/llvm/lib/Object/
DObject.cpp22 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf) { in LLVMCreateObjectFile() argument
23 return wrap(ObjectFile::createObjectFile(unwrap(MemBuf))); in LLVMCreateObjectFile()
/external/clang/tools/driver/
Ddriver.cpp194 OwningPtr<llvm::MemoryBuffer> MemBuf; in ExpandArgsFromBuf() local
195 if (llvm::MemoryBuffer::getFile(FName, MemBuf)) { in ExpandArgsFromBuf()
200 const char *Buf = MemBuf->getBufferStart(); in ExpandArgsFromBuf()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1968 LLVMMemoryBufferRef MemBuf; in llvm_memorybuffer_of_file() local
1971 &MemBuf, &Message)) in llvm_memorybuffer_of_file()
1974 CAMLreturn((value) MemBuf); in llvm_memorybuffer_of_file()
1981 LLVMMemoryBufferRef MemBuf; in llvm_memorybuffer_of_stdin() local
1983 if (LLVMCreateMemoryBufferWithSTDIN(&MemBuf, &Message)) in llvm_memorybuffer_of_stdin()
1986 return MemBuf; in llvm_memorybuffer_of_stdin()
1990 CAMLprim value llvm_memorybuffer_dispose(LLVMMemoryBufferRef MemBuf) { in llvm_memorybuffer_dispose() argument
1991 LLVMDisposeMemoryBuffer(MemBuf); in llvm_memorybuffer_dispose()
/external/clang/lib/Basic/
DSourceManager.cpp991 const llvm::MemoryBuffer *MemBuf = getBuffer(FID, &MyInvalid); in getColumnNumber() local
998 if (FilePos >= MemBuf->getBufferSize()) { in getColumnNumber()
1004 const char *Buf = MemBuf->getBufferStart(); in getColumnNumber()
/external/llvm/lib/VMCore/
DCore.cpp2318 void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf) { in LLVMDisposeMemoryBuffer() argument
2319 delete unwrap(MemBuf); in LLVMDisposeMemoryBuffer()