/external/llvm/lib/Object/ |
D | ModuleSummaryIndexObjectFile.cpp | 26 MemoryBufferRef Object, std::unique_ptr<ModuleSummaryIndex> I) in ModuleSummaryIndexObjectFile() 36 ErrorOr<MemoryBufferRef> 43 return MemoryBufferRef(SecContents, Obj.getFileName()); in findBitcodeInObject() 50 ErrorOr<MemoryBufferRef> 51 ModuleSummaryIndexObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer() 73 MemoryBufferRef Object, in hasGlobalValueSummaryInMemBuffer() 75 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in hasGlobalValueSummaryInMemBuffer() 87 MemoryBufferRef Object, in create() 91 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() 116 MemoryBufferRef BufferRef = (FileOrErr.get())->getMemBufferRef(); in getModuleSummaryIndexForFile()
|
D | SymbolicFile.cpp | 24 SymbolicFile::SymbolicFile(unsigned int Type, MemoryBufferRef Source) in SymbolicFile() 30 MemoryBufferRef Object, sys::fs::file_magic Type, LLVMContext *Context) { in createSymbolicFile() 71 ErrorOr<MemoryBufferRef> BCData = in createSymbolicFile() 77 MemoryBufferRef(BCData->getBuffer(), in createSymbolicFile()
|
D | IRObjectFile.cpp | 38 IRObjectFile::IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> Mod) in IRObjectFile() 278 ErrorOr<MemoryBufferRef> IRObjectFile::findBitcodeInObject(const ObjectFile &Obj) { in findBitcodeInObject() 284 return MemoryBufferRef(SecContents, Obj.getFileName()); in findBitcodeInObject() 291 ErrorOr<MemoryBufferRef> IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer() 311 llvm::object::IRObjectFile::create(MemoryBufferRef Object, in create() 313 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create()
|
D | MachOUniversal.cpp | 81 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsObjectFile() 98 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsArchive() 105 MachOUniversalBinary::create(MemoryBufferRef Source) { in create() 114 MachOUniversalBinary::MachOUniversalBinary(MemoryBufferRef Source, Error &Err) 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 Expected<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 | ArchiveWriter.cpp | 37 NewArchiveMember::NewArchiveMember(MemoryBufferRef BufRef) in NewArchiveMember() 43 ErrorOr<llvm::MemoryBufferRef> BufOrErr = OldMember.getMemoryBufferRef(); in getOldMember() 249 MemoryBufferRef MemberBuffer = Members[MemberNum].Buf->getMemBufferRef(); in writeSymbolTable() 346 std::vector<MemoryBufferRef> Members; in writeArchive() 365 MemoryBufferRef File = M.Buf->getMemBufferRef(); in writeArchive()
|
/external/llvm/include/llvm/Object/ |
D | ModuleSummaryIndexObjectFile.h | 35 ModuleSummaryIndexObjectFile(MemoryBufferRef Object, 74 static ErrorOr<MemoryBufferRef> findBitcodeInObject(const ObjectFile &Obj); 79 static ErrorOr<MemoryBufferRef> 80 findBitcodeInMemBuffer(MemoryBufferRef Object); 85 MemoryBufferRef Object, 92 create(MemoryBufferRef Object,
|
D | IRObjectFile.h | 34 IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> M); 61 static ErrorOr<MemoryBufferRef> findBitcodeInObject(const ObjectFile &Obj); 75 static ErrorOr<MemoryBufferRef> 76 findBitcodeInMemBuffer(MemoryBufferRef Object); 78 static ErrorOr<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
|
D | Binary.h | 37 MemoryBufferRef Data; 39 Binary(unsigned int Type, MemoryBufferRef Source); 84 MemoryBufferRef getMemoryBufferRef() const; 137 Expected<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source,
|
D | ObjectFile.h | 183 ObjectFile(unsigned int Type, MemoryBufferRef Source); 285 createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type); 287 createObjectFile(MemoryBufferRef Object) { in createObjectFile() 297 createCOFFObjectFile(MemoryBufferRef Object); 300 createELFObjectFile(MemoryBufferRef Object); 303 createMachOObjectFile(MemoryBufferRef Object);
|
D | SymbolicFile.h | 130 SymbolicFile(unsigned int Type, MemoryBufferRef Source); 158 createSymbolicFile(MemoryBufferRef Object, sys::fs::file_magic Type, 162 createSymbolicFile(MemoryBufferRef Object) { in createSymbolicFile()
|
D | Archive.h | 103 ErrorOr<MemoryBufferRef> getMemoryBufferRef() const; 186 Archive(MemoryBufferRef Source, Error &Err); 187 static Expected<std::unique_ptr<Archive>> create(MemoryBufferRef Source);
|
D | MachOUniversal.h | 130 MachOUniversalBinary(MemoryBufferRef Souce, Error &Err); 132 create(MemoryBufferRef Source);
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 24 class MemoryBufferRef; variable 99 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true); 145 MemoryBufferRef getMemBufferRef() const; 148 class MemoryBufferRef { 153 MemoryBufferRef() {} in MemoryBufferRef() function 154 MemoryBufferRef(MemoryBuffer& Buffer) in MemoryBufferRef() function 156 MemoryBufferRef(StringRef Buffer, StringRef Identifier) in MemoryBufferRef() function
|
/external/llvm/include/llvm/Bitcode/ |
D | ReaderWriter.h | 60 std::string getBitcodeTargetTriple(MemoryBufferRef Buffer, 65 bool isBitcodeContainingObjCCategory(MemoryBufferRef Buffer, 71 std::string getBitcodeProducerString(MemoryBufferRef Buffer, 75 ErrorOr<std::unique_ptr<Module>> parseBitcodeFile(MemoryBufferRef Buffer, 80 hasGlobalValueSummary(MemoryBufferRef Buffer, 85 getModuleSummaryIndex(MemoryBufferRef Buffer,
|
/external/llvm/tools/dsymutil/ |
D | BinaryHolder.cpp | 22 static std::vector<MemoryBufferRef> 25 std::vector<MemoryBufferRef> Buffers; in getMachOFatMemoryBuffers() 44 ErrorOr<std::vector<MemoryBufferRef>> 79 return std::vector<MemoryBufferRef>{CurrentMemoryBuffer->getMemBufferRef()}; in GetMemoryBuffersForFile() 88 ErrorOr<std::vector<MemoryBufferRef>> 101 std::vector<MemoryBufferRef> Buffers; in GetArchiveMemberBuffers() 133 ErrorOr<std::vector<MemoryBufferRef>> 146 std::vector<MemoryBufferRef> ArchiveBuffers; in MapArchiveAndGetMemberBuffers()
|
D | BinaryHolder.h | 56 ErrorOr<std::vector<MemoryBufferRef>> 64 ErrorOr<std::vector<MemoryBufferRef>> 76 ErrorOr<std::vector<MemoryBufferRef>>
|
/external/llvm/include/llvm/LTO/ |
D | LTO.h | 25 class MemoryBufferRef; variable 29 std::unique_ptr<Module> loadModuleFromBuffer(const MemoryBufferRef &Buffer, 40 StringMap<MemoryBufferRef> &ModuleMap; 43 ModuleLoader(LLVMContext &Context, StringMap<MemoryBufferRef> &ModuleMap) in ModuleLoader()
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 61 ErrorOr<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile() 62 MemoryBufferRef(StringRef((const char *)Mem, Length), "<mem>")); in isBitcodeFile() 72 ErrorOr<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile() 91 ErrorOr<MemoryBufferRef> BCOrErr = in isBitcodeForTarget() 101 ErrorOr<MemoryBufferRef> BCOrErr = in getProducerString() 149 MemoryBufferRef Buffer(Data, path); in createFromBuffer() 158 MemoryBufferRef Buffer(Data, path); in createInLocalContext() 169 parseBitcodeFileImpl(MemoryBufferRef Buffer, LLVMContext &Context, in parseBitcodeFileImpl() 173 ErrorOr<MemoryBufferRef> MBOrErr = in parseBitcodeFileImpl() 199 LTOModule::makeLTOModule(MemoryBufferRef Buffer, const TargetOptions &options, in makeLTOModule()
|
/external/llvm/include/llvm/IRReader/ |
D | IRReader.h | 23 class MemoryBufferRef; variable 40 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
|
/external/clang/include/clang/CodeGen/ |
D | BackendUtil.h | 19 class MemoryBufferRef; variable 43 llvm::MemoryBufferRef Buf);
|
/external/llvm/lib/AsmParser/ |
D | Parser.cpp | 25 bool llvm::parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err, in parseAssemblyInto() 34 std::unique_ptr<Module> llvm::parseAssembly(MemoryBufferRef F, in parseAssembly() 66 MemoryBufferRef F(AsmString, "<string>"); in parseAssemblyString()
|
/external/llvm/include/llvm/AsmParser/ |
D | Parser.h | 66 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, 81 bool parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err,
|
/external/clang/include/clang/Frontend/ |
D | PCHContainerOperations.h | 66 virtual void ExtractPCH(llvm::MemoryBufferRef Buffer, 87 void ExtractPCH(llvm::MemoryBufferRef Buffer,
|