Home
last modified time | relevance | path

Searched refs:MemoryBufferRef (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm/include/llvm/Object/
DIRObjectFile.h33 IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> M);
60 static ErrorOr<MemoryBufferRef> findBitcodeInObject(const ObjectFile &Obj);
65 static ErrorOr<MemoryBufferRef>
66 findBitcodeInMemBuffer(MemoryBufferRef Object);
68 static ErrorOr<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
DBinary.h37 MemoryBufferRef Data;
39 Binary(unsigned int Type, MemoryBufferRef Source);
82 MemoryBufferRef getMemoryBufferRef() const;
129 ErrorOr<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source,
DSymbolicFile.h122 SymbolicFile(unsigned int Type, MemoryBufferRef Source);
150 createSymbolicFile(MemoryBufferRef Object, sys::fs::file_magic Type,
154 createSymbolicFile(MemoryBufferRef Object) { in createSymbolicFile()
DObjectFile.h187 ObjectFile(unsigned int Type, MemoryBufferRef Source);
302 createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type);
304 createObjectFile(MemoryBufferRef Object) { in createObjectFile()
314 createCOFFObjectFile(MemoryBufferRef Object);
317 createELFObjectFile(MemoryBufferRef Object);
320 createMachOObjectFile(MemoryBufferRef Object);
DArchive.h102 ErrorOr<MemoryBufferRef> getMemoryBufferRef() const;
175 Archive(MemoryBufferRef Source, std::error_code &EC);
176 static ErrorOr<std::unique_ptr<Archive>> create(MemoryBufferRef Source);
DMachOUniversal.h89 MachOUniversalBinary(MemoryBufferRef Souce, std::error_code &EC);
91 create(MemoryBufferRef Source);
/external/llvm/include/llvm/Support/
DMemoryBuffer.h25 class MemoryBufferRef; variable
100 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true);
145 MemoryBufferRef getMemBufferRef() const;
148 class MemoryBufferRef {
153 MemoryBufferRef() {} in MemoryBufferRef() function
154 MemoryBufferRef(StringRef Buffer, StringRef Identifier) in MemoryBufferRef() function
/external/llvm/lib/Object/
DSymbolicFile.cpp22 SymbolicFile::SymbolicFile(unsigned int Type, MemoryBufferRef Source) in SymbolicFile()
28 MemoryBufferRef Object, sys::fs::file_magic Type, LLVMContext *Context) { in createSymbolicFile()
68 ErrorOr<MemoryBufferRef> BCData = in createSymbolicFile()
74 MemoryBufferRef(BCData->getBuffer(), Object.getBufferIdentifier()), in createSymbolicFile()
DIRObjectFile.cpp37 IRObjectFile::IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> Mod) in IRObjectFile()
258 ErrorOr<MemoryBufferRef> IRObjectFile::findBitcodeInObject(const ObjectFile &Obj) { in findBitcodeInObject()
267 return MemoryBufferRef(SecContents, Obj.getFileName()); in findBitcodeInObject()
274 ErrorOr<MemoryBufferRef> IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer()
294 llvm::object::IRObjectFile::create(MemoryBufferRef Object, in create()
296 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create()
DMachOUniversal.cpp76 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsObjectFile()
90 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsArchive()
97 MachOUniversalBinary::create(MemoryBufferRef Source) { in create()
106 MachOUniversalBinary::MachOUniversalBinary(MemoryBufferRef Source, in MachOUniversalBinary()
DBinary.cpp30 Binary::Binary(unsigned int Type, MemoryBufferRef Source) in Binary()
37 MemoryBufferRef Binary::getMemoryBufferRef() const { return Data; } in getMemoryBufferRef()
39 ErrorOr<std::unique_ptr<Binary>> object::createBinary(MemoryBufferRef Buffer, in createBinary()
DELFObjectFile.cpp20 ELFObjectFileBase::ELFObjectFileBase(unsigned int Type, MemoryBufferRef Source) in ELFObjectFileBase()
24 ObjectFile::createELFObjectFile(MemoryBufferRef Obj) { in createELFObjectFile()
DArchive.cpp184 ErrorOr<MemoryBufferRef> Archive::Child::getMemoryBufferRef() const { in getMemoryBufferRef()
189 return MemoryBufferRef(getBuffer(), Name); in getMemoryBufferRef()
194 ErrorOr<MemoryBufferRef> BuffOrErr = getMemoryBufferRef(); in getAsBinary()
201 ErrorOr<std::unique_ptr<Archive>> Archive::create(MemoryBufferRef Source) { in create()
209 Archive::Archive(MemoryBufferRef Source, std::error_code &ec) in Archive()
DObjectFile.cpp28 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile()
51 ObjectFile::createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type) { in createObjectFile()
/external/llvm/tools/dsymutil/
DBinaryHolder.h49 ErrorOr<MemoryBufferRef> GetArchiveMemberBuffer(StringRef Filename);
54 ErrorOr<MemoryBufferRef> MapArchiveAndGetMemberBuffer(StringRef Filename);
64 ErrorOr<MemoryBufferRef> GetMemoryBufferForFile(StringRef Filename);
DBinaryHolder.cpp21 ErrorOr<MemoryBufferRef>
52 ErrorOr<MemoryBufferRef>
76 ErrorOr<MemoryBufferRef>
/external/llvm/lib/AsmParser/
DParser.cpp25 bool llvm::parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err) { in parseAssemblyInto()
33 std::unique_ptr<Module> llvm::parseAssembly(MemoryBufferRef F, in parseAssembly()
62 MemoryBufferRef F(AsmString, "<string>"); in parseAssemblyString()
/external/llvm/include/llvm/AsmParser/
DParser.h56 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err,
68 bool parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err);
/external/llvm/lib/LTO/
DLTOModule.cpp66 ErrorOr<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
67 MemoryBufferRef(StringRef((const char *)Mem, Length), "<mem>")); in isBitcodeFile()
77 ErrorOr<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile()
84 ErrorOr<MemoryBufferRef> BCOrErr = in isBitcodeForTarget()
146 MemoryBufferRef Buffer(Data, path); in createInContext()
150 static Module *parseBitcodeFileImpl(MemoryBufferRef Buffer, in parseBitcodeFileImpl()
155 ErrorOr<MemoryBufferRef> MBOrErr = in parseBitcodeFileImpl()
189 LTOModule *LTOModule::makeLTOModule(MemoryBufferRef Buffer, in makeLTOModule()
/external/llvm/include/llvm/Bitcode/
DReaderWriter.h51 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context,
56 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context,
/external/llvm/include/llvm/ExecutionEngine/
DObjectCache.h30 virtual void notifyObjectCompiled(const Module *M, MemoryBufferRef Obj) = 0;
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITObjectCacheTest.cpp27 void notifyObjectCompiled(const Module *M, MemoryBufferRef Obj) override { in notifyObjectCompiled()
64 MemoryBuffer *copyBuffer(MemoryBufferRef Buf) { in copyBuffer()
/external/llvm/include/llvm/IRReader/
DIRReader.h38 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
/external/llvm/lib/Support/
DMemoryBuffer.cpp112 MemoryBuffer::getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator) { in getMemBuffer()
431 MemoryBufferRef MemoryBuffer::getMemBufferRef() const { in getMemBufferRef()
434 return MemoryBufferRef(Data, Identifier); in getMemBufferRef()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp691 ArrayRef<MemoryBufferRef> Buffers, in writeSymbolTable()
702 MemoryBufferRef MemberBuffer = Buffers[MemberNum]; in writeSymbolTable()
763 std::vector<MemoryBufferRef> Members; in performWriteOperation()
768 MemoryBufferRef MemberRef; in performWriteOperation()
784 ErrorOr<MemoryBufferRef> MemberBufferOrErr = in performWriteOperation()
812 MemoryBufferRef File = Members[MemberNum]; in performWriteOperation()

12