/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitReader.cpp | 24 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitReader.cpp | 24 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 …]
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitReader.cpp | 26 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, in LLVMParseBitcode() argument 28 return LLVMParseBitcodeInContext(LLVMGetGlobalContext(), MemBuf, OutModule, in LLVMParseBitcode() 32 LLVMBool LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, in LLVMParseBitcode2() argument 34 return LLVMParseBitcodeInContext2(LLVMGetGlobalContext(), MemBuf, OutModule); in LLVMParseBitcode2() 45 LLVMMemoryBufferRef MemBuf, in LLVMParseBitcodeInContext() argument 48 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext() 73 LLVMMemoryBufferRef MemBuf, in LLVMParseBitcodeInContext2() argument 75 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext2() 92 LLVMMemoryBufferRef MemBuf, in LLVMGetBitcodeModuleInContext() argument 101 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); in LLVMGetBitcodeModuleInContext() [all …]
|
/external/llvm/include/llvm-c/ |
D | BitReader.h | 40 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, 45 LLVMBool LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, 50 LLVMMemoryBufferRef MemBuf, 54 LLVMMemoryBufferRef MemBuf, 62 LLVMMemoryBufferRef MemBuf, 68 LLVMMemoryBufferRef MemBuf, 72 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, 75 LLVMBool LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM);
|
/external/llvm-project/llvm/include/llvm-c/ |
D | BitReader.h | 39 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);
|
D | Object.h | 74 LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, 206 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | BitReader.h | 39 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);
|
D | Object.h | 74 LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, 206 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf);
|
/external/llvm-project/llvm/bindings/ocaml/bitreader/ |
D | bitreader_ocaml.c | 25 CAMLprim LLVMModuleRef llvm_get_module(LLVMContextRef C, LLVMMemoryBufferRef MemBuf) { in llvm_get_module() argument 28 if (LLVMGetBitcodeModuleInContext2(C, MemBuf, &M)) in llvm_get_module() 35 CAMLprim LLVMModuleRef llvm_parse_bitcode(LLVMContextRef C, LLVMMemoryBufferRef MemBuf) { in llvm_parse_bitcode() argument 38 if (LLVMParseBitcodeInContext2(C, MemBuf, &M)) in llvm_parse_bitcode()
|
/external/llvm/bindings/ocaml/bitreader/ |
D | bitreader_ocaml.c | 25 CAMLprim LLVMModuleRef llvm_get_module(LLVMContextRef C, LLVMMemoryBufferRef MemBuf) { in llvm_get_module() argument 28 if (LLVMGetBitcodeModuleInContext2(C, MemBuf, &M)) in llvm_get_module() 35 CAMLprim LLVMModuleRef llvm_parse_bitcode(LLVMContextRef C, LLVMMemoryBufferRef MemBuf) { in llvm_parse_bitcode() argument 38 if (LLVMParseBitcodeInContext2(C, MemBuf, &M)) in llvm_parse_bitcode()
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | obj2yaml.cpp | 44 MemoryBufferRef MemBuf = Buffer->getMemBufferRef(); in dumpInput() local 45 if (file_magic::archive == identify_magic(MemBuf.getBuffer())) in dumpInput() 46 return archive2yaml(outs(), MemBuf); in dumpInput() 49 createBinary(MemBuf, /*Context=*/nullptr); in dumpInput()
|
/external/llvm-project/llvm/tools/dsymutil/ |
D | SymbolMap.cpp | 126 auto &MemBuf = **ErrOrMemBuffer; in Load() local 127 StringRef Data(MemBuf.getBufferStart(), in Load() 128 MemBuf.getBufferEnd() - MemBuf.getBufferStart()); in Load()
|
/external/llvm-project/llvm/bindings/ocaml/irreader/ |
D | irreader_ocaml.c | 25 LLVMMemoryBufferRef MemBuf) { in llvm_parse_ir() argument 31 if (LLVMParseIRInContext(C, MemBuf, &M, &Message)) in llvm_parse_ir()
|
/external/llvm/bindings/ocaml/irreader/ |
D | irreader_ocaml.c | 25 LLVMMemoryBufferRef MemBuf) { in llvm_parse_ir() argument 31 if (LLVMParseIRInContext(C, MemBuf, &M, &Message)) in llvm_parse_ir()
|
/external/llvm-project/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 78 std::unique_ptr<MemoryBuffer> MemBuf = std::move(*MemBufOrErr); in openBitcodeFile() local 80 if (MemBuf->getBufferSize() & 3) in openBitcodeFile() 83 return std::move(MemBuf); in openBitcodeFile()
|
/external/llvm/tools/llvm-as-fuzzer/ |
D | llvm-as-fuzzer.cpp | 54 std::unique_ptr<MemoryBuffer> MemBuf = MemoryBuffer::getMemBufferCopy(Input); in LLVMFuzzerTestOneInput() local 69 M = parseAssembly(MemBuf->getMemBufferRef(), Err, Context); in LLVMFuzzerTestOneInput()
|
/external/llvm-project/llvm/tools/llvm-as-fuzzer/ |
D | llvm-as-fuzzer.cpp | 53 std::unique_ptr<MemoryBuffer> MemBuf = MemoryBuffer::getMemBufferCopy(Input); in LLVMFuzzerTestOneInput() local 68 M = parseAssembly(MemBuf->getMemBufferRef(), Err, Context); in LLVMFuzzerTestOneInput()
|
/external/llvm-project/llvm/tools/llvm-link/ |
D | llvm-link.cpp | 172 Expected<MemoryBufferRef> MemBuf = C.getMemoryBufferRef(); in loadArFile() local 173 if (Error E = MemBuf.takeError()) { in loadArFile() 182 (MemBuf.get().getBufferStart()), in loadArFile() 184 (MemBuf.get().getBufferEnd()))) { in loadArFile() 191 std::unique_ptr<Module> M = parseIR(MemBuf.get(), ParseErr, Context); in loadArFile()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Object.cpp | 64 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()
|
/external/llvm-project/llvm/lib/Object/ |
D | Object.cpp | 64 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()
|
/external/llvm/lib/IRReader/ |
D | IRReader.cpp | 103 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, in LLVMParseIRInContext() argument 107 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); in LLVMParseIRInContext()
|
/external/llvm-project/llvm/lib/IRReader/ |
D | IRReader.cpp | 111 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, in LLVMParseIRInContext() argument 115 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); in LLVMParseIRInContext()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/ |
D | IRReader.cpp | 116 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, in LLVMParseIRInContext() argument 120 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); in LLVMParseIRInContext()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 703 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()
|
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 704 MemoryBuffer *MemBuf) const { in checkAllRulesInBuffer() 709 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer() 712 while (LineStart != MemBuf->getBufferEnd() && isSpace(*LineStart)) in checkAllRulesInBuffer() 715 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer() 717 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer() 738 while (LineStart != MemBuf->getBufferEnd() && isSpace(*LineStart)) in checkAllRulesInBuffer() 878 MemoryBuffer *MemBuf) const { in checkAllRulesInBuffer() 879 return Impl->checkAllRulesInBuffer(RulePrefix, MemBuf); in checkAllRulesInBuffer()
|