/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
D | BitcodeReader.h | 78 getBitcodeFileContents(MemoryBufferRef Buffer); 128 Expected<BitcodeFileContents> getBitcodeFileContents(MemoryBufferRef Buffer); 132 getBitcodeModuleList(MemoryBufferRef Buffer); 139 getLazyBitcodeModule(MemoryBufferRef Buffer, LLVMContext &Context, 154 Expected<std::string> getBitcodeTargetTriple(MemoryBufferRef Buffer); 158 Expected<bool> isBitcodeContainingObjCCategory(MemoryBufferRef Buffer); 163 Expected<std::string> getBitcodeProducerString(MemoryBufferRef Buffer); 166 Expected<std::unique_ptr<Module>> parseBitcodeFile(MemoryBufferRef Buffer, 170 Expected<BitcodeLTOInfo> getBitcodeLTOInfo(MemoryBufferRef Buffer); 174 getModuleSummaryIndex(MemoryBufferRef Buffer); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | IRObjectFile.cpp | 29 IRObjectFile::IRObjectFile(MemoryBufferRef Object, in IRObjectFile() 75 Expected<MemoryBufferRef> 82 return MemoryBufferRef(SecContents, Obj.getFileName()); in findBitcodeInObject() 89 Expected<MemoryBufferRef> 90 IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer() 110 IRObjectFile::create(MemoryBufferRef Object, LLVMContext &Context) { in create() 111 Expected<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() 135 Expected<IRSymtabFile> object::readIRSymtab(MemoryBufferRef MBRef) { in readIRSymtab() 137 Expected<MemoryBufferRef> BCOrErr = in readIRSymtab()
|
D | SymbolicFile.cpp | 33 SymbolicFile::SymbolicFile(unsigned int Type, MemoryBufferRef Source) in SymbolicFile() 39 SymbolicFile::createSymbolicFile(MemoryBufferRef Object, file_magic Type, in createSymbolicFile() 84 Expected<MemoryBufferRef> BCData = in createSymbolicFile() 92 MemoryBufferRef(BCData->getBuffer(), Object.getBufferIdentifier()), in createSymbolicFile()
|
D | Binary.cpp | 36 Binary::Binary(unsigned int Type, MemoryBufferRef Source) in Binary() 43 MemoryBufferRef Binary::getMemoryBufferRef() const { return Data; } in getMemoryBufferRef() 45 Expected<std::unique_ptr<Binary>> object::createBinary(MemoryBufferRef Buffer, in createBinary()
|
/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,
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | IRObjectFile.h | 35 IRObjectFile(MemoryBufferRef Object, 66 static Expected<MemoryBufferRef> findBitcodeInObject(const ObjectFile &Obj); 71 static Expected<MemoryBufferRef> 72 findBitcodeInMemBuffer(MemoryBufferRef Object); 74 static Expected<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object, 87 Expected<IRSymtabFile> readIRSymtab(MemoryBufferRef MBRef);
|
D | Binary.h | 37 MemoryBufferRef Data; 39 Binary(unsigned int Type, MemoryBufferRef Source); 89 MemoryBufferRef getMemoryBufferRef() const; 148 static std::error_code checkOffset(MemoryBufferRef M, uintptr_t Addr, in checkOffset() 162 Expected<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 28 class MemoryBufferRef; variable 109 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true); 155 MemoryBufferRef getMemBufferRef() const; 158 class MemoryBufferRef { 163 MemoryBufferRef() = default; 164 MemoryBufferRef(MemoryBuffer& Buffer) in MemoryBufferRef() function 166 MemoryBufferRef(StringRef Buffer, StringRef Identifier) in MemoryBufferRef() function
|
/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/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/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 30 class MemoryBufferRef; variable 114 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true); 149 MemoryBufferRef getMemBufferRef() const; 262 class MemoryBufferRef { 267 MemoryBufferRef() = default; 268 MemoryBufferRef(MemoryBuffer& Buffer) in MemoryBufferRef() function 270 MemoryBufferRef(StringRef Buffer, StringRef Identifier) in MemoryBufferRef() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/AsmParser/ |
D | Parser.h | 121 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, 139 ParsedModuleAndIndex parseAssemblyWithIndex(MemoryBufferRef F, 153 parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err); 171 bool parseAssemblyInto(MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/ |
D | Parser.cpp | 26 bool llvm::parseAssemblyInto(MemoryBufferRef F, Module *M, in parseAssemblyInto() 42 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly() 72 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyWithIndex() 106 MemoryBufferRef F(AsmString, "<string>"); in parseAssemblyString() 111 static bool parseSummaryIndexAssemblyInto(MemoryBufferRef F, in parseSummaryIndexAssemblyInto() 125 llvm::parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err) { in parseSummaryIndexAssembly()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | LTOModule.cpp | 46 LTOModule::LTOModule(std::unique_ptr<Module> M, MemoryBufferRef MBRef, in LTOModule() 57 Expected<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile() 58 MemoryBufferRef(StringRef((const char *)Mem, Length), "<mem>")); in isBitcodeFile() 68 Expected<MemoryBufferRef> BCData = IRObjectFile::findBitcodeInMemBuffer( in isBitcodeFile() 84 Expected<MemoryBufferRef> BCOrErr = in isBitcodeForTarget() 97 Expected<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() 172 Expected<MemoryBufferRef> MBOrErr = in parseBitcodeFileImpl() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
D | DWARFVisitor.cpp | 78 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0], in traverseDebugInfo() 86 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0], in traverseDebugInfo() 95 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0], in traverseDebugInfo() 104 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0], in traverseDebugInfo()
|
/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()
|