/external/llvm/include/llvm/Object/ |
D | IRObjectFile.h | 33 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,
|
D | Binary.h | 37 MemoryBufferRef Data; 39 Binary(unsigned int Type, MemoryBufferRef Source); 82 MemoryBufferRef getMemoryBufferRef() const; 129 ErrorOr<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source,
|
D | SymbolicFile.h | 122 SymbolicFile(unsigned int Type, MemoryBufferRef Source); 150 createSymbolicFile(MemoryBufferRef Object, sys::fs::file_magic Type, 154 createSymbolicFile(MemoryBufferRef Object) { in createSymbolicFile()
|
D | ObjectFile.h | 187 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);
|
D | Archive.h | 102 ErrorOr<MemoryBufferRef> getMemoryBufferRef() const; 175 Archive(MemoryBufferRef Source, std::error_code &EC); 176 static ErrorOr<std::unique_ptr<Archive>> create(MemoryBufferRef Source);
|
D | MachOUniversal.h | 89 MachOUniversalBinary(MemoryBufferRef Souce, std::error_code &EC); 91 create(MemoryBufferRef Source);
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 25 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/ |
D | SymbolicFile.cpp | 22 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()
|
D | IRObjectFile.cpp | 37 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()
|
D | MachOUniversal.cpp | 76 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()
|
D | Binary.cpp | 30 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()
|
D | ELFObjectFile.cpp | 20 ELFObjectFileBase::ELFObjectFileBase(unsigned int Type, MemoryBufferRef Source) in ELFObjectFileBase() 24 ObjectFile::createELFObjectFile(MemoryBufferRef Obj) { in createELFObjectFile()
|
D | Archive.cpp | 184 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()
|
D | ObjectFile.cpp | 28 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/ |
D | BinaryHolder.h | 49 ErrorOr<MemoryBufferRef> GetArchiveMemberBuffer(StringRef Filename); 54 ErrorOr<MemoryBufferRef> MapArchiveAndGetMemberBuffer(StringRef Filename); 64 ErrorOr<MemoryBufferRef> GetMemoryBufferForFile(StringRef Filename);
|
D | BinaryHolder.cpp | 21 ErrorOr<MemoryBufferRef> 52 ErrorOr<MemoryBufferRef> 76 ErrorOr<MemoryBufferRef>
|
/external/llvm/lib/AsmParser/ |
D | Parser.cpp | 25 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/ |
D | Parser.h | 56 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, 68 bool parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err);
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 66 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/ |
D | ReaderWriter.h | 51 getBitcodeTargetTriple(MemoryBufferRef Buffer, LLVMContext &Context, 56 parseBitcodeFile(MemoryBufferRef Buffer, LLVMContext &Context,
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | ObjectCache.h | 30 virtual void notifyObjectCompiled(const Module *M, MemoryBufferRef Obj) = 0;
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITObjectCacheTest.cpp | 27 void notifyObjectCompiled(const Module *M, MemoryBufferRef Obj) override { in notifyObjectCompiled() 64 MemoryBuffer *copyBuffer(MemoryBufferRef Buf) { in copyBuffer()
|
/external/llvm/include/llvm/IRReader/ |
D | IRReader.h | 38 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 112 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/ |
D | llvm-ar.cpp | 691 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()
|