Home
last modified time | relevance | path

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

12345678910>>...16

/external/llvm-project/llvm/include/llvm/Support/
DMemoryBufferRef.h22 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/
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()
/external/llvm-project/llvm/unittests/Support/
DMemoryBufferRefTest.cpp23 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/
DBitcodeReader.h81 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/
DBitcodeReader.h78 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/
DTextStubV2Tests.cpp71 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 …]
DTextStubV1Tests.cpp70 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 …]
DTextStubV3Tests.cpp74 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/
DIRObjectFile.cpp28 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/
DIRObjectFile.cpp28 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/
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,
/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-project/llvm/include/llvm/Object/
DIRObjectFile.h34 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/
DIRObjectFile.h34 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/
DMsgPackWriterTest.cpp292 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/
DMemoryBuffer.h28 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/
DScriptParser.h20 void readLinkerScript(MemoryBufferRef mb);
23 void readVersionScript(MemoryBufferRef mb);
25 void readDynamicList(MemoryBufferRef mb);
28 void readDefsym(StringRef name, MemoryBufferRef mb);
DScriptLexer.h23 explicit ScriptLexer(MemoryBufferRef mb);
26 void tokenize(MemoryBufferRef mb);
38 std::vector<MemoryBufferRef> mbs;
44 MemoryBufferRef getCurrentMB();
DInputFiles.h51 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/
DInputFiles.h70 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/
DInputFiles.h41 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/
DInputFiles.h64 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/
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/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()

12345678910>>...16