Home
last modified time | relevance | path

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

123

/external/llvm/lib/Object/
DFunctionIndexObjectFile.cpp26 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 …]
DSymbolicFile.cpp24 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()
DIRObjectFile.cpp38 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()
DMachOUniversal.cpp78 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()
DArchiveWriter.cpp225 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()
DArchive.cpp227 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()
DObjectFile.cpp28 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/
DFunctionIndexObjectFile.h35 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,
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);
84 MemoryBufferRef getMemoryBufferRef() const;
137 ErrorOr<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source,
DObjectFile.h181 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);
DSymbolicFile.h129 SymbolicFile(unsigned int Type, MemoryBufferRef Source);
157 createSymbolicFile(MemoryBufferRef Object, sys::fs::file_magic Type,
161 createSymbolicFile(MemoryBufferRef Object) { in createSymbolicFile()
DArchive.h101 ErrorOr<MemoryBufferRef> getMemoryBufferRef() const;
178 Archive(MemoryBufferRef Source, std::error_code &EC);
179 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.h24 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/
DReaderWriter.h52 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/
DBinaryHolder.cpp31 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()
DBinaryHolder.h55 ErrorOr<std::vector<MemoryBufferRef>>
63 ErrorOr<std::vector<MemoryBufferRef>>
75 ErrorOr<std::vector<MemoryBufferRef>>
/external/llvm/lib/AsmParser/
DParser.cpp25 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/
DLTOModule.cpp67 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/
DParser.h65 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err,
80 bool parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err,
/external/clang/include/clang/Frontend/
DPCHContainerOperations.h66 virtual void ExtractPCH(llvm::MemoryBufferRef Buffer,
87 void ExtractPCH(llvm::MemoryBufferRef Buffer,
/external/llvm/lib/Bitcode/Reader/
DBitReader.cpp49 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext()
76 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext2()

123