Home
last modified time | relevance | path

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

123

/external/llvm/lib/Object/
DModuleSummaryIndexObjectFile.cpp26 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()
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(), in createSymbolicFile()
DIRObjectFile.cpp38 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()
DMachOUniversal.cpp81 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()
DBinary.cpp30 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()
DELFObjectFile.cpp20 ELFObjectFileBase::ELFObjectFileBase(unsigned int Type, MemoryBufferRef Source) in ELFObjectFileBase()
24 ObjectFile::createELFObjectFile(MemoryBufferRef Obj) { in createELFObjectFile()
DArchiveWriter.cpp37 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/
DModuleSummaryIndexObjectFile.h35 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,
DIRObjectFile.h34 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,
DBinary.h37 MemoryBufferRef Data;
39 Binary(unsigned int Type, MemoryBufferRef Source);
84 MemoryBufferRef getMemoryBufferRef() const;
137 Expected<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source,
DObjectFile.h183 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);
DSymbolicFile.h130 SymbolicFile(unsigned int Type, MemoryBufferRef Source);
158 createSymbolicFile(MemoryBufferRef Object, sys::fs::file_magic Type,
162 createSymbolicFile(MemoryBufferRef Object) { in createSymbolicFile()
DArchive.h103 ErrorOr<MemoryBufferRef> getMemoryBufferRef() const;
186 Archive(MemoryBufferRef Source, Error &Err);
187 static Expected<std::unique_ptr<Archive>> create(MemoryBufferRef Source);
DMachOUniversal.h130 MachOUniversalBinary(MemoryBufferRef Souce, Error &Err);
132 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.h60 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/
DBinaryHolder.cpp22 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()
DBinaryHolder.h56 ErrorOr<std::vector<MemoryBufferRef>>
64 ErrorOr<std::vector<MemoryBufferRef>>
76 ErrorOr<std::vector<MemoryBufferRef>>
/external/llvm/include/llvm/LTO/
DLTO.h25 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/
DLTOModule.cpp61 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/
DIRReader.h23 class MemoryBufferRef; variable
40 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
/external/clang/include/clang/CodeGen/
DBackendUtil.h19 class MemoryBufferRef; variable
43 llvm::MemoryBufferRef Buf);
/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/include/llvm/AsmParser/
DParser.h66 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err,
81 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,

123