/external/llvm/lib/Object/ |
D | FunctionIndexObjectFile.cpp | 26 MemoryBufferRef Object, std::unique_ptr<FunctionInfoIndex> I) in FunctionIndexObjectFile() 35 ErrorOr<MemoryBufferRef> 45 return MemoryBufferRef(SecContents, Obj.getFileName()); in findBitcodeInObject() 52 ErrorOr<MemoryBufferRef> 53 FunctionIndexObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer() 75 MemoryBufferRef Object, DiagnosticHandlerFunction DiagnosticHandler) { in hasFunctionSummaryInMemBuffer() 76 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in hasFunctionSummaryInMemBuffer() 87 FunctionIndexObjectFile::create(MemoryBufferRef Object, in create() 92 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() 111 MemoryBufferRef Object, DiagnosticHandlerFunction DiagnosticHandler, in findFunctionSummaryInMemBuffer() [all …]
|
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(), Object.getBufferIdentifier()), in createSymbolicFile()
|
D | IRObjectFile.cpp | 38 IRObjectFile::IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> Mod) in IRObjectFile() 266 ErrorOr<MemoryBufferRef> IRObjectFile::findBitcodeInObject(const ObjectFile &Obj) { in findBitcodeInObject() 275 return MemoryBufferRef(SecContents, Obj.getFileName()); in findBitcodeInObject() 282 ErrorOr<MemoryBufferRef> IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer() 302 llvm::object::IRObjectFile::create(MemoryBufferRef Object, in create() 304 ErrorOr<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create()
|
D | MachOUniversal.cpp | 78 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 | ArchiveWriter.cpp | 225 ArrayRef<MemoryBufferRef> Buffers, in writeSymbolTable() 233 MemoryBufferRef MemberBuffer = Buffers[MemberNum]; in writeSymbolTable() 324 std::vector<MemoryBufferRef> Members; in writeArchive() 329 MemoryBufferRef MemberRef; in writeArchive() 352 ErrorOr<MemoryBufferRef> MemberBufferOrErr = in writeArchive() 379 MemoryBufferRef File = Members[MemberNum++]; in writeArchive()
|
D | Archive.cpp | 227 ErrorOr<MemoryBufferRef> Archive::Child::getMemoryBufferRef() const { in getMemoryBufferRef() 235 return MemoryBufferRef(*Buf, Name); in getMemoryBufferRef() 240 ErrorOr<MemoryBufferRef> BuffOrErr = getMemoryBufferRef(); in getAsBinary() 247 ErrorOr<std::unique_ptr<Archive>> Archive::create(MemoryBufferRef Source) { in create() 260 Archive::Archive(MemoryBufferRef Source, std::error_code &ec) in Archive()
|
D | ObjectFile.cpp | 28 ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source) in ObjectFile() 63 ObjectFile::createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type) { in createObjectFile()
|
/external/llvm/include/llvm/Object/ |
D | FunctionIndexObjectFile.h | 35 FunctionIndexObjectFile(MemoryBufferRef Object, 72 static ErrorOr<MemoryBufferRef> findBitcodeInObject(const ObjectFile &Obj); 77 static ErrorOr<MemoryBufferRef> 78 findBitcodeInMemBuffer(MemoryBufferRef Object); 83 hasFunctionSummaryInMemBuffer(MemoryBufferRef Object, 90 create(MemoryBufferRef Object, DiagnosticHandlerFunction DiagnosticHandler, 97 findFunctionSummaryInMemBuffer(MemoryBufferRef 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); 84 MemoryBufferRef getMemoryBufferRef() const; 137 ErrorOr<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source,
|
D | ObjectFile.h | 181 ObjectFile(unsigned int Type, MemoryBufferRef Source); 280 createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type); 282 createObjectFile(MemoryBufferRef Object) { in createObjectFile() 292 createCOFFObjectFile(MemoryBufferRef Object); 295 createELFObjectFile(MemoryBufferRef Object); 298 createMachOObjectFile(MemoryBufferRef Object);
|
D | SymbolicFile.h | 129 SymbolicFile(unsigned int Type, MemoryBufferRef Source); 157 createSymbolicFile(MemoryBufferRef Object, sys::fs::file_magic Type, 161 createSymbolicFile(MemoryBufferRef Object) { in createSymbolicFile()
|
D | Archive.h | 101 ErrorOr<MemoryBufferRef> getMemoryBufferRef() const; 178 Archive(MemoryBufferRef Source, std::error_code &EC); 179 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 | 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 | 52 std::string getBitcodeTargetTriple(MemoryBufferRef Buffer, 58 std::string getBitcodeProducerString(MemoryBufferRef Buffer, 62 ErrorOr<std::unique_ptr<Module>> parseBitcodeFile(MemoryBufferRef Buffer, 66 bool hasFunctionSummary(MemoryBufferRef Buffer, 75 getFunctionInfoIndex(MemoryBufferRef Buffer, 86 MemoryBufferRef Buffer, DiagnosticHandlerFunction DiagnosticHandler,
|
/external/llvm/tools/dsymutil/ |
D | BinaryHolder.cpp | 31 static std::vector<MemoryBufferRef> 34 std::vector<MemoryBufferRef> Buffers; in getMachOFatMemoryBuffers() 53 ErrorOr<std::vector<MemoryBufferRef>> 87 return std::vector<MemoryBufferRef>{CurrentMemoryBuffer->getMemBufferRef()}; in GetMemoryBuffersForFile() 95 ErrorOr<std::vector<MemoryBufferRef>> 108 std::vector<MemoryBufferRef> Buffers; in GetArchiveMemberBuffers() 140 ErrorOr<std::vector<MemoryBufferRef>> 153 std::vector<MemoryBufferRef> ArchiveBuffers; in MapArchiveAndGetMemberBuffers()
|
D | BinaryHolder.h | 55 ErrorOr<std::vector<MemoryBufferRef>> 63 ErrorOr<std::vector<MemoryBufferRef>> 75 ErrorOr<std::vector<MemoryBufferRef>>
|
/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/lib/LTO/ |
D | LTOModule.cpp | 67 ErrorOr<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile() 68 MemoryBufferRef(StringRef((const char *)Mem, Length), "<mem>")); in isBitcodeFile() 78 ErrorOr<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile() 85 ErrorOr<MemoryBufferRef> BCOrErr = in isBitcodeForTarget() 95 ErrorOr<MemoryBufferRef> BCOrErr = in getProducerString() 150 MemoryBufferRef Buffer(Data, path); in createInContext() 155 parseBitcodeFileImpl(MemoryBufferRef Buffer, LLVMContext &Context, in parseBitcodeFileImpl() 159 ErrorOr<MemoryBufferRef> MBOrErr = in parseBitcodeFileImpl() 183 LTOModule::makeLTOModule(MemoryBufferRef Buffer, TargetOptions options, in makeLTOModule()
|
/external/llvm/include/llvm/AsmParser/ |
D | Parser.h | 65 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, 80 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,
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitReader.cpp | 49 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext() 76 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext2()
|