/external/llvm-project/llvm/include/llvm/Support/ |
D | MemoryBufferRef.h | 22 class MemoryBufferRef { 27 MemoryBufferRef() = default; 28 MemoryBufferRef(const MemoryBuffer &Buffer); 29 MemoryBufferRef(StringRef Buffer, StringRef Identifier) in MemoryBufferRef() function 40 friend bool operator==(const MemoryBufferRef &LHS, 41 const MemoryBufferRef &RHS) { 48 friend bool operator!=(const MemoryBufferRef &LHS, 49 const MemoryBufferRef &RHS) {
|
/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()
|
/external/llvm-project/llvm/unittests/Support/ |
D | MemoryBufferRefTest.cpp | 23 MemoryBufferRef MBR(*MB); in TEST() 32 MemoryBufferRef Ref(*MB); in TEST() 33 MemoryBufferRef Empty; in TEST() 34 MemoryBufferRef NoIdentifier(MB->getBuffer(), ""); in TEST() 35 MemoryBufferRef NoData("", MB->getBufferIdentifier()); in TEST() 36 MemoryBufferRef Same(MB->getBuffer(), MB->getBufferIdentifier()); in TEST() 46 MemoryBufferRef CopyRef(*Copy); in TEST()
|
/external/llvm-project/llvm/include/llvm/Bitcode/ |
D | BitcodeReader.h | 81 getBitcodeFileContents(MemoryBufferRef Buffer); 133 Expected<BitcodeFileContents> getBitcodeFileContents(MemoryBufferRef Buffer); 137 getBitcodeModuleList(MemoryBufferRef Buffer); 144 getLazyBitcodeModule(MemoryBufferRef Buffer, LLVMContext &Context, 159 Expected<std::string> getBitcodeTargetTriple(MemoryBufferRef Buffer); 163 Expected<bool> isBitcodeContainingObjCCategory(MemoryBufferRef Buffer); 168 Expected<std::string> getBitcodeProducerString(MemoryBufferRef Buffer); 172 MemoryBufferRef Buffer, LLVMContext &Context, 178 Expected<BitcodeLTOInfo> getBitcodeLTOInfo(MemoryBufferRef Buffer); 182 getModuleSummaryIndex(MemoryBufferRef Buffer); [all …]
|
/external/swiftshader/third_party/llvm-10.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/llvm-project/llvm/unittests/TextAPI/ |
D | TextStubV2Tests.cpp | 71 TextAPIReader::get(MemoryBufferRef(TBDv2File1, "Test.tbd")); in TEST() 143 TextAPIReader::get(MemoryBufferRef(TBDv2File2, "Test.tbd")); in TEST() 229 TextAPIReader::get(MemoryBufferRef(TBDv2PlatformMacOS, "Test.tbd")); in TEST() 246 TextAPIReader::get(MemoryBufferRef(TBDv2PlatformiOS, "Test.tbd")); in TEST() 263 TextAPIReader::get(MemoryBufferRef(TBDv2PlatformWatchOS, "Test.tbd")); in TEST() 280 TextAPIReader::get(MemoryBufferRef(TBDv2PlatformtvOS, "Test.tbd")); in TEST() 297 TextAPIReader::get(MemoryBufferRef(TBDv2BridgeOS, "Test.tbd")); in TEST() 315 TextAPIReader::get(MemoryBufferRef(TBDv2Swift1, "Test.tbd")); in TEST() 331 TextAPIReader::get(MemoryBufferRef(TBDv2Swift1dot, "Test.tbd")); in TEST() 347 TextAPIReader::get(MemoryBufferRef(tbd_v2_swift_2_0, "Test.tbd")); in TEST() [all …]
|
D | TextStubV1Tests.cpp | 70 TextAPIReader::get(MemoryBufferRef(TBDv1File1, "Test.tbd")); in TEST() 124 TextAPIReader::get(MemoryBufferRef(TBDv1File2, "Test.tbd")); in TEST() 209 TextAPIReader::get(MemoryBufferRef(TBDv1PlatformMacOS, "Test.tbd")); in TEST() 226 TextAPIReader::get(MemoryBufferRef(TBDv1PlatformiOS, "Test.tbd")); in TEST() 243 TextAPIReader::get(MemoryBufferRef(TBDv1PlatformWatchOS, "Test.tbd")); in TEST() 260 TextAPIReader::get(MemoryBufferRef(TBDv1PlatformtvOS, "Test.tbd")); in TEST() 277 TextAPIReader::get(MemoryBufferRef(TBDv1BridgeOS, "Test.tbd")); in TEST() 295 TextAPIReader::get(MemoryBufferRef(TBDv1Swift1, "Test.tbd")); in TEST() 311 TextAPIReader::get(MemoryBufferRef(TBDv1Swift1dot, "Test.tbd")); in TEST() 327 TextAPIReader::get(MemoryBufferRef(TBDv1Swift2, "Test.tbd")); in TEST() [all …]
|
D | TextStubV3Tests.cpp | 74 TextAPIReader::get(MemoryBufferRef(TBDv3File1, "Test.tbd")); in TEST() 163 TextAPIReader::get(MemoryBufferRef(TBDv3Inlines, "Test.tbd")); in TEST() 386 TextAPIReader::get(MemoryBufferRef(TBDv3PlatformMacOS, "Test.tbd")); in TEST() 410 TextAPIReader::get(MemoryBufferRef(TBDv3PlatformiOS, "Test.tbd")); in TEST() 433 TextAPIReader::get(MemoryBufferRef(TBDv3watchOS, "Test.tbd")); in TEST() 456 TextAPIReader::get(MemoryBufferRef(TBDv3PlatformtvOS, "Test.tbd")); in TEST() 480 TextAPIReader::get(MemoryBufferRef(TBDv3BridgeOS, "Test.tbd")); in TEST() 503 TextAPIReader::get(MemoryBufferRef(TBDv3PlatformiOSmac, "Test.tbd")); in TEST() 526 TextAPIReader::get(MemoryBufferRef(TBDv3PlatformZippered, "Test.tbd")); in TEST() 554 TextAPIReader::get(MemoryBufferRef(TBDv3PlatformiOSsim, "Test.tbd")); in TEST() [all …]
|
/external/llvm-project/llvm/lib/Object/ |
D | IRObjectFile.cpp | 28 IRObjectFile::IRObjectFile(MemoryBufferRef Object, in IRObjectFile() 73 Expected<MemoryBufferRef> 82 return MemoryBufferRef(*Contents, Obj.getFileName()); in findBitcodeInObject() 89 Expected<MemoryBufferRef> 90 IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) { in findBitcodeInMemBuffer() 111 IRObjectFile::create(MemoryBufferRef Object, LLVMContext &Context) { in create() 112 Expected<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create() 136 Expected<IRSymtabFile> object::readIRSymtab(MemoryBufferRef MBRef) { in readIRSymtab() 138 Expected<MemoryBufferRef> BCOrErr = in readIRSymtab()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | IRObjectFile.cpp | 28 IRObjectFile::IRObjectFile(MemoryBufferRef Object, in IRObjectFile() 73 Expected<MemoryBufferRef> 82 return MemoryBufferRef(*Contents, 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()
|
/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,
|
/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-project/llvm/include/llvm/Object/ |
D | IRObjectFile.h | 34 IRObjectFile(MemoryBufferRef Object, 64 static Expected<MemoryBufferRef> findBitcodeInObject(const ObjectFile &Obj); 69 static Expected<MemoryBufferRef> 70 findBitcodeInMemBuffer(MemoryBufferRef Object); 72 static Expected<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object, 85 Expected<IRSymtabFile> readIRSymtab(MemoryBufferRef MBRef);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | IRObjectFile.h | 34 IRObjectFile(MemoryBufferRef Object, 64 static Expected<MemoryBufferRef> findBitcodeInObject(const ObjectFile &Obj); 69 static Expected<MemoryBufferRef> 70 findBitcodeInMemBuffer(MemoryBufferRef Object); 72 static Expected<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object, 85 Expected<IRSymtabFile> readIRSymtab(MemoryBufferRef MBRef);
|
/external/llvm-project/llvm/unittests/BinaryFormat/ |
D | MsgPackWriterTest.cpp | 292 MPWriter.write(MemoryBufferRef(s, "")); in TEST_F() 298 MPWriter.write(MemoryBufferRef(s, "")); in TEST_F() 304 MPWriter.write(MemoryBufferRef(s, "")); in TEST_F() 310 MPWriter.write(MemoryBufferRef(s, "")); in TEST_F() 316 MPWriter.write(MemoryBufferRef(s, "")); in TEST_F() 322 MPWriter.write(MemoryBufferRef(s, "")); in TEST_F() 328 MPWriter.write(MemoryBufferRef(s, "")); in TEST_F() 334 MPWriter.write(MemoryBufferRef(s, "")); in TEST_F() 436 MPWriter.writeExt(0x01, MemoryBufferRef(s, "")); in TEST_F() 442 MPWriter.writeExt(0x01, MemoryBufferRef(s, "")); in TEST_F() [all …]
|
/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-project/lld/ELF/ |
D | ScriptParser.h | 20 void readLinkerScript(MemoryBufferRef mb); 23 void readVersionScript(MemoryBufferRef mb); 25 void readDynamicList(MemoryBufferRef mb); 28 void readDefsym(StringRef name, MemoryBufferRef mb);
|
D | ScriptLexer.h | 23 explicit ScriptLexer(MemoryBufferRef mb); 26 void tokenize(MemoryBufferRef mb); 38 std::vector<MemoryBufferRef> mbs; 44 MemoryBufferRef getCurrentMB();
|
D | InputFiles.h | 51 llvm::Optional<MemoryBufferRef> readFile(StringRef path); 76 MemoryBufferRef mb; 147 InputFile(Kind k, MemoryBufferRef m); 159 ELFFileBase(Kind k, MemoryBufferRef m); 205 ObjFile(MemoryBufferRef m, StringRef archiveName) : ELFFileBase(ObjKind, m) { in ObjFile() 304 LazyObjFile(MemoryBufferRef m, StringRef archiveName, in LazyObjFile() 354 BitcodeFile(MemoryBufferRef m, StringRef archiveName, 364 SharedFile(MemoryBufferRef m, StringRef defaultSoName) in SharedFile() 399 explicit BinaryFile(MemoryBufferRef m) : InputFile(BinaryKind, m) {} in BinaryFile() 404 InputFile *createObjectFile(MemoryBufferRef mb, StringRef archiveName = "", [all …]
|
/external/llvm-project/lld/wasm/ |
D | InputFiles.h | 70 InputFile(Kind k, MemoryBufferRef m) in InputFile() 75 MemoryBufferRef mb; 88 explicit ArchiveFile(MemoryBufferRef m) : InputFile(ArchiveKind, m) {} in ArchiveFile() 103 explicit ObjFile(MemoryBufferRef m, StringRef archiveName) in ObjFile() 164 explicit SharedFile(MemoryBufferRef m) : InputFile(SharedKind, m) {} in SharedFile() 171 explicit BitcodeFile(MemoryBufferRef m, StringRef archiveName) in BitcodeFile() 189 inline bool isBitcode(MemoryBufferRef mb) { in isBitcode() 195 InputFile *createObjectFile(MemoryBufferRef mb, StringRef archiveName = ""); 198 llvm::Optional<MemoryBufferRef> readFile(StringRef path);
|
/external/llvm-project/lld/COFF/ |
D | InputFiles.h | 41 std::vector<MemoryBufferRef> getArchiveMembers(llvm::object::Archive *file); 84 MemoryBufferRef mb; 93 InputFile(Kind k, MemoryBufferRef m) : mb(m), fileKind(k) {} in InputFile() 104 explicit ArchiveFile(MemoryBufferRef m); 121 explicit LazyObjFile(MemoryBufferRef m) : InputFile(LazyObjectKind, m) {} in LazyObjFile() 137 explicit ObjFile(MemoryBufferRef m) : InputFile(ObjectKind, m) {} in ObjFile() 138 explicit ObjFile(MemoryBufferRef m, std::vector<Symbol *> &&symbols) in ObjFile() 317 explicit PDBInputFile(MemoryBufferRef m); 343 explicit ImportFile(MemoryBufferRef m) : InputFile(ImportKind, m) {} in ImportFile() 376 BitcodeFile(MemoryBufferRef mb, StringRef archiveName, [all …]
|
/external/llvm-project/lld/MachO/ |
D | InputFiles.h | 64 MemoryBufferRef mb; 76 InputFile(Kind kind, MemoryBufferRef mb) in InputFile() 92 ObjFile(MemoryBufferRef mb, uint32_t modTime, StringRef archiveName); 111 OpaqueFile(MemoryBufferRef mb, StringRef segName, StringRef sectName); 125 explicit DylibFile(MemoryBufferRef mb, DylibFile *umbrella = nullptr); 155 explicit BitcodeFile(MemoryBufferRef mb); 163 llvm::Optional<MemoryBufferRef> readFile(StringRef path);
|
/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()
|