/external/llvm/lib/Bitcode/Reader/ |
D | BitReader.cpp | 22 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/ |
D | BitReader.h | 38 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,
|
D | Object.h | 45 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf);
|
D | Core.h | 2520 void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf);
|
/external/llvm/bindings/ocaml/bitreader/ |
D | bitreader_ocaml.c | 49 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/ |
D | llvm-bcanalyzer.cpp | 477 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/ |
D | Object.cpp | 22 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf) { in LLVMCreateObjectFile() argument 23 return wrap(ObjectFile::createObjectFile(unwrap(MemBuf))); in LLVMCreateObjectFile()
|
/external/clang/tools/driver/ |
D | driver.cpp | 194 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/ |
D | llvm_ocaml.c | 1968 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/ |
D | SourceManager.cpp | 991 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/ |
D | Core.cpp | 2318 void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf) { in LLVMDisposeMemoryBuffer() argument 2319 delete unwrap(MemBuf); in LLVMDisposeMemoryBuffer()
|