/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitReader.cpp | 25 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, in LLVMParseBitcode() argument 27 return LLVMParseBitcodeInContext(LLVMGetGlobalContext(), MemBuf, OutModule, in LLVMParseBitcode() 31 LLVMBool LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, in LLVMParseBitcode2() argument 33 return LLVMParseBitcodeInContext2(LLVMGetGlobalContext(), MemBuf, OutModule); in LLVMParseBitcode2() 37 LLVMMemoryBufferRef MemBuf, in LLVMParseBitcodeInContext() argument 40 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext() 60 LLVMMemoryBufferRef MemBuf, in LLVMParseBitcodeInContext2() argument 62 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext2() 80 LLVMMemoryBufferRef MemBuf, in LLVMGetBitcodeModuleInContext() argument 83 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); in LLVMGetBitcodeModuleInContext() [all …]
|
/external/swiftshader/third_party/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/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/swiftshader/third_party/llvm-7.0/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);
|
D | IRReader.h | 33 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
|
/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);
|
D | IRReader.h | 33 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
|
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
D | BitReader.h | 32 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, 36 LLVMMemoryBufferRef MemBuf, 43 LLVMMemoryBufferRef MemBuf, 47 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, 53 LLVMMemoryBufferRef MemBuf, 58 LLVMBool LLVMGetBitcodeModuleProvider(LLVMMemoryBufferRef MemBuf,
|
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/LLVM/lib/Object/ |
D | Object.cpp | 21 LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf) { in LLVMCreateObjectFile() argument 22 return wrap(ObjectFile::createObjectFile(unwrap(MemBuf))); in LLVMCreateObjectFile()
|
/external/swiftshader/third_party/LLVM/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 479 OwningPtr<MemoryBuffer> MemBuf; in AnalyzeBitcode() local 482 MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), MemBuf)) in AnalyzeBitcode() 485 if (MemBuf->getBufferSize() & 3) in AnalyzeBitcode() 488 unsigned char *BufPtr = (unsigned char *)MemBuf->getBufferStart(); in AnalyzeBitcode() 489 unsigned char *EndBufPtr = BufPtr+MemBuf->getBufferSize(); in AnalyzeBitcode()
|
/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/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 701 MemoryBuffer *MemBuf) const { in checkAllRulesInBuffer() 705 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer() 708 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 711 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer() 713 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer() 725 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 929 MemoryBuffer *MemBuf) const { in checkAllRulesInBuffer() 930 return Impl->checkAllRulesInBuffer(RulePrefix, MemBuf); in checkAllRulesInBuffer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 702 MemoryBuffer *MemBuf) const { in checkAllRulesInBuffer() 706 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer() 709 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 712 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer() 714 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer() 726 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 955 MemoryBuffer *MemBuf) const { in checkAllRulesInBuffer() 956 return Impl->checkAllRulesInBuffer(RulePrefix, MemBuf); in checkAllRulesInBuffer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IRReader/ |
D | IRReader.cpp | 117 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, in LLVMParseIRInContext() argument 121 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); in LLVMParseIRInContext()
|
/external/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 696 std::unique_ptr<MemoryBuffer> &MemBuf, in openBitcodeFile() argument 705 MemBuf = std::move(MemBufOrErr.get()); in openBitcodeFile() 707 if (MemBuf->getBufferSize() & 3) in openBitcodeFile() 710 const unsigned char *BufPtr = (const unsigned char *)MemBuf->getBufferStart(); in openBitcodeFile() 711 const unsigned char *EndBufPtr = BufPtr + MemBuf->getBufferSize(); in openBitcodeFile() 716 if (MemBuf->getBufferSize() < BWH_HeaderSize) in openBitcodeFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 2432 LLVMMemoryBufferRef MemBuf; in llvm_memorybuffer_of_file() local 2435 &MemBuf, &Message)) in llvm_memorybuffer_of_file() 2438 CAMLreturn((value) MemBuf); in llvm_memorybuffer_of_file() 2445 LLVMMemoryBufferRef MemBuf; in llvm_memorybuffer_of_stdin() local 2447 if (LLVMCreateMemoryBufferWithSTDIN(&MemBuf, &Message)) in llvm_memorybuffer_of_stdin() 2450 return MemBuf; in llvm_memorybuffer_of_stdin() 2455 LLVMMemoryBufferRef MemBuf; in llvm_memorybuffer_of_string() local 2463 MemBuf = LLVMCreateMemoryBufferWithMemoryRangeCopy( in llvm_memorybuffer_of_string() 2466 return MemBuf; in llvm_memorybuffer_of_string() 2470 CAMLprim value llvm_memorybuffer_as_string(LLVMMemoryBufferRef MemBuf) { in llvm_memorybuffer_as_string() argument [all …]
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 2353 LLVMMemoryBufferRef MemBuf; in llvm_memorybuffer_of_file() local 2356 &MemBuf, &Message)) in llvm_memorybuffer_of_file() 2359 CAMLreturn((value) MemBuf); in llvm_memorybuffer_of_file() 2366 LLVMMemoryBufferRef MemBuf; in llvm_memorybuffer_of_stdin() local 2368 if (LLVMCreateMemoryBufferWithSTDIN(&MemBuf, &Message)) in llvm_memorybuffer_of_stdin() 2371 return MemBuf; in llvm_memorybuffer_of_stdin() 2376 LLVMMemoryBufferRef MemBuf; in llvm_memorybuffer_of_string() local 2384 MemBuf = LLVMCreateMemoryBufferWithMemoryRangeCopy( in llvm_memorybuffer_of_string() 2387 return MemBuf; in llvm_memorybuffer_of_string() 2391 CAMLprim value llvm_memorybuffer_as_string(LLVMMemoryBufferRef MemBuf) { in llvm_memorybuffer_as_string() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 781 std::unique_ptr<MemoryBuffer> &MemBuf, in openBitcodeFile() argument 789 MemBuf = std::move(MemBufOrErr.get()); in openBitcodeFile() 791 if (MemBuf->getBufferSize() & 3) in openBitcodeFile() 794 const unsigned char *BufPtr = (const unsigned char *)MemBuf->getBufferStart(); in openBitcodeFile() 795 const unsigned char *EndBufPtr = BufPtr + MemBuf->getBufferSize(); in openBitcodeFile() 800 if (MemBuf->getBufferSize() < BWH_HeaderSize) in openBitcodeFile()
|