Home
last modified time | relevance | path

Searched refs:getMemBufferRef (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/IRReader/
H A DIRReader.cpp50 return parseAssembly(Buffer->getMemBufferRef(), Err, Context); in getLazyIRModule()
105 return parseIR(FileOrErr.get()->getMemBufferRef(), Err, Context, Callbacks); in parseIRFile()
119 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release()); in LLVMParseIRInContext()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCompileUtils.cpp60 auto Obj = object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in operator ()()
80 ObjCache->notifyObjectCompiled(&M, ObjBuffer.getMemBufferRef()); in notifyObjectCompiled()
H A DLayer.cpp180 auto I = getObjectFileInterface(getExecutionSession(), O->getMemBufferRef()); in add()
187 auto I = getObjectFileInterface(getExecutionSession(), O->getMemBufferRef()); in add()
198 getObjectFileInterface(L.getExecutionSession(), O->getMemBufferRef()); in Create()
H A DCOFFPlatform.cpp177 object::Archive::create(OrcRuntimeArchiveBuffer->getMemBufferRef()); in Create()
190 object::Archive::create(OrcRuntimeArchiveBuffer->getMemBufferRef())); in Create()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp38 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext()
60 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext2()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DParser.cpp71 return parseAssembly(FileOrErr.get()->getMemBufferRef(), Err, Context, Slots); in parseAssemblyFile()
114 return parseAssemblyWithIndex(FileOrErr.get()->getMemBufferRef(), Err, in parseAssemblyFileWithIndex()
179 return parseSummaryIndexAssembly(FileOrErr.get()->getMemBufferRef(), Err); in parseSummaryIndexAssemblyFile()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp172 FileID FID = SM.createFileID(buf->getMemBufferRef()); in Highlight()
182 Lexer lex(FID, buf->getMemBufferRef(), SM, Opts); in Highlight()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp70 BufferOrErr.get()->getMemBufferRef()); in isBitcodeFile()
86 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in isBitcodeForTarget()
99 IRObjectFile::findBitcodeInMemBuffer(Buffer->getMemBufferRef()); in getProducerString()
120 return makeLTOModule(Buffer->getMemBufferRef(), options, Context, in createFromFile()
142 return makeLTOModule(Buffer->getMemBufferRef(), options, Context, in createFromOpenFileSlice()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp689 auto Input = loadInputFile(Buffer->getMemBufferRef()); in distributedIndexes()
727 auto Input = loadInputFile(Buffer->getMemBufferRef()); in emitImports()
754 auto Input = loadInputFile(Buffer->getMemBufferRef()); in promote()
787 auto Input = loadInputFile(Buffer->getMemBufferRef()); in import()
820 auto Input = loadInputFile(Buffer->getMemBufferRef()); in internalize()
845 auto Input = loadInputFile(Buffer->getMemBufferRef()); in optimize()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DLineIterator.cpp36 : line_iterator(Buffer.getMemBufferRef(), SkipBlanks, CommentMarker) {} in line_iterator()
/freebsd/contrib/llvm-project/llvm/tools/llvm-tapi-diff/
H A Dllvm-tapi-diff.cpp
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp70 createBinary(unwrap(MemBuf)->getMemBufferRef(), maybeContext)); in LLVMCreateBinary()
184 ObjectFile::createObjectFile(Buf->getMemBufferRef())); in LLVMCreateObjectFile()
H A DBinary.cpp116 createBinary(Buffer->getMemBufferRef(), Context, InitContent); in createBinary()
H A DObjectFile.cpp217 createObjectFile(Buffer->getMemBufferRef()); in isReflectionSectionStrippable()
H A DArchiveWriter.cpp61 auto MemBufferRef = this->Buf->getMemBufferRef(); in detectKindFromObject()
852 M.Buf->getMemBufferRef(), Context, Kind, [&](Error Err) { in computeMemberData()
895 MemoryBufferRef Buf = M->Buf->getMemBufferRef(); in computeMemberData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.cpp270 FileID FID = SM.createFileID(buf->getMemBufferRef()); in TokenVerifier()
280 Lexer lex(FID, buf->getMemBufferRef(), SM, Opts); in TokenVerifier()
/freebsd/contrib/llvm-project/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp181 Buffer.get()->getMemBufferRef().getBuffer()); in main()
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp148 object::Archive Archive(B->getMemBufferRef(), Err); in doList()
477 MemoryBufferRef MBRef = (*MOrErr)->getMemBufferRef(); in libDriverMain()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemoryBuffer.h174 MemoryBufferRef getMemBufferRef() const;
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp395 check(InputFile::create(MB->getMemBufferRef()), F); in run()
479 check(InputFile::create(MB->getMemBufferRef()), std::string(F)); in dumpSymtab()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DMacroExpander.cpp137 FileID FID = SourceMgr.createFileID(Buffers.back()->getMemBufferRef()); in parseDefinition()
/freebsd/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp431 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in printLineInfoForInput()
567 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in executeInput()
972 ObjectFile::createObjectFile((*InputBuffer)->getMemBufferRef())); in linkAndVerify()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp182 MemoryBufferRef MB = CompiledObjBuffer->getMemBufferRef(); in emitObject()
217 object::ObjectFile::createObjectFile(ObjectToLoad->getMemBufferRef()); in generateCodeForModule()
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp300 object::Archive::create(ArchiveBuffers.back()->getMemBufferRef()); in readLibrary()
662 auto BinaryOrErr = createBinary(NM.Buf->getMemBufferRef(), Context); in getAsBinary()
1155 object::Archive::create(Buf.get()->getMemBufferRef()); in performOperation()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHIPUtility.cpp126 processInput(BufferOrErr.get()->getMemBufferRef()); in populateSymbols()

123