Home
last modified time | relevance | path

Searched refs:InterfaceFile (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/lib/TextAPI/
H A DInterfaceFile.cpp49 void InterfaceFile::addAllowableClient(StringRef InstallName, in addAllowableClient()
55 void InterfaceFile::addReexportedLibrary(StringRef InstallName, in addReexportedLibrary()
74 void InterfaceFile::addUUID(const Target &Target_, StringRef UUID) { in addUUID()
98 void InterfaceFile::addTarget(const Target &Target) { in addTarget()
102 InterfaceFile::const_filtered_target_range
103 InterfaceFile::targets(ArchitectureSet Archs) const { in targets()
110 void InterfaceFile::addSymbol(SymbolKind Kind, StringRef Name, in addSymbol()
121 void InterfaceFile::addDocument(std::shared_ptr<InterfaceFile> &&Document) { in addDocument()
131 bool InterfaceFile::operator==(const InterfaceFile &O) const { in operator ==()
157 [](const std::shared_ptr<InterfaceFile> LHS, in operator ==()
[all …]
H A DTextStub.cpp612 const InterfaceFile *denormalize(IO &IO) { in denormalize()
616 auto *File = new InterfaceFile; in denormalize()
907 const InterfaceFile *denormalize(IO &IO) { in denormalize()
911 auto *File = new InterfaceFile; in denormalize()
1083 static const InterfaceFile *&
1108 Expected<std::unique_ptr<InterfaceFile>>
1115 std::vector<const InterfaceFile *> Files; in get()
1120 auto File = std::unique_ptr<InterfaceFile>( in get()
1121 const_cast<InterfaceFile *>(Files.front())); in get()
1125 std::shared_ptr<InterfaceFile>(const_cast<InterfaceFile *>(FI))); in get()
[all …]
H A DCMakeLists.txt4 InterfaceFile.cpp
/llvm-project-15.0.7/llvm/unittests/TextAPI/
H A DTextStubHelpers.h27 using TBDFile = std::unique_ptr<MachO::InterfaceFile>;
28 using TBDReexportFile = std::shared_ptr<MachO::InterfaceFile>;
48 checkEqualityOnTransform(MachO::InterfaceFile &FileA, in checkEqualityOnTransform()
49 MachO::InterfaceFile &FileB, in checkEqualityOnTransform()
50 void (*Transform)(MachO::InterfaceFile *)) { in checkEqualityOnTransform() argument
H A DTextStubV4Tests.cpp360 InterfaceFile File; in TEST()
427 InterfaceFile File; in TEST()
452 InterfaceFile Document; in TEST()
467 File.addDocument(std::make_shared<InterfaceFile>(std::move(Document))); in TEST()
1016 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
1020 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
1111 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
1115 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
1130 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
1134 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
[all …]
H A DTextStubV3Tests.cpp265 InterfaceFile File; in TEST()
330 InterfaceFile File; in TEST()
358 InterfaceFile Document; in TEST()
369 File.addDocument(std::make_shared<InterfaceFile>(std::move(Document))); in TEST()
883 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
887 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
904 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
908 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
923 FileA, FileB, [](InterfaceFile *File) { File->setInstallAPI(true); })); in TEST()
942 InterfaceFile Document; in TEST()
[all …]
H A DTextStubV1Tests.cpp171 InterfaceFile File; in TEST()
H A DTextStubV2Tests.cpp189 InterfaceFile File; in TEST()
/llvm-project-15.0.7/llvm/include/llvm/TextAPI/
H A DInterfaceFile.h152 class InterfaceFile {
336 void addDocument(std::shared_ptr<InterfaceFile> &&Document);
339 InterfaceFile *getParent() const { return Parent; }
344 const std::vector<std::shared_ptr<InterfaceFile>> &documents() const {
404 bool operator==(const InterfaceFile &O) const;
406 bool operator!=(const InterfaceFile &O) const { return !(*this == O); }
433 std::vector<std::shared_ptr<InterfaceFile>> Documents;
436 InterfaceFile *Parent = nullptr;
H A DTextAPIWriter.h19 class InterfaceFile; variable
25 static Error writeToStream(raw_ostream &os, const InterfaceFile &);
H A DTextAPIReader.h20 class InterfaceFile; variable
24 static Expected<std::unique_ptr<InterfaceFile>>
/llvm-project-15.0.7/llvm/tools/llvm-tapi-diff/
H A DDiffEngine.cpp112 bool checkSymbolEquality(llvm::MachO::InterfaceFile::const_symbol_range LHS, in checkSymbolEquality()
113 llvm::MachO::InterfaceFile::const_symbol_range RHS) { in checkSymbolEquality()
162 DiffOutput getSingleAttrDiff(InterfaceFile::const_symbol_range SymRange, in getSingleAttrDiff()
192 std::vector<DiffOutput> getSingleIF(InterfaceFile *Interface, in getSingleIF()
264 void findAndAddDiff(InterfaceFile::const_symbol_range CollectedSyms, in findAndAddDiff()
265 InterfaceFile::const_symbol_range LookupSyms, in findAndAddDiff()
303 DiffOutput recordDifferences(llvm::MachO::InterfaceFile::const_symbol_range LHS, in recordDifferences()
304 llvm::MachO::InterfaceFile::const_symbol_range RHS, in recordDifferences()
314 DiffEngine::findDifferences(const InterfaceFile *IFLHS, in findDifferences()
315 const InterfaceFile *IFRHS) { in findDifferences()
H A DDiffEngine.h163 std::vector<DiffOutput> findDifferences(const MachO::InterfaceFile *,
164 const MachO::InterfaceFile *);
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DTapiFile.h29 class InterfaceFile; variable
37 TapiFile(MemoryBufferRef Source, const MachO::InterfaceFile &interface,
H A DTapiUniversal.h106 const MachO::InterfaceFile &getInterfaceFile() { return *ParsedFile; } in getInterfaceFile()
118 std::unique_ptr<MachO::InterfaceFile> ParsedFile;
/llvm-project-15.0.7/llvm/lib/Object/
H A DTapiUniversal.cpp26 Expected<std::unique_ptr<InterfaceFile>> Result = TextAPIReader::get(Source); in TapiUniversal()
42 for (const std::shared_ptr<InterfaceFile> &File : ParsedFile->documents()) in TapiUniversal()
H A DTapiFile.cpp40 TapiFile::TapiFile(MemoryBufferRef Source, const InterfaceFile &interface, in TapiFile()
/llvm-project-15.0.7/lld/MachO/
H A DInputFiles.h35 class InterfaceFile; variable
140 InputFile(Kind, const llvm::MachO::InterfaceFile &);
219 explicit DylibFile(const llvm::MachO::InterfaceFile &interface,
225 void parseReexports(const llvm::MachO::InterfaceFile &interface);
H A DInputFiles.cpp251 InputFile::InputFile(Kind kind, const InterfaceFile &interface) in InputFile()
1646 const InterfaceFile *currentTopLevelTapi) { in findDylib()
1705 for (InterfaceFile &child : in findDylib()
1744 const InterfaceFile *currentTopLevelTapi) { in loadReexport()
1882 static bool skipPlatformCheckForCatalyst(const InterfaceFile &interface, in skipPlatformCheckForCatalyst()
1891 DylibFile::DylibFile(const InterfaceFile &interface, DylibFile *umbrella, in DylibFile()
1978 void DylibFile::parseReexports(const InterfaceFile &interface) { in parseReexports()
1979 const InterfaceFile *topLevel = in parseReexports()
1982 InterfaceFile::const_target_range targets = intfRef.targets(); in parseReexports()
H A DDriverUtils.cpp221 Expected<std::unique_ptr<InterfaceFile>> result = TextAPIReader::get(mbref); in loadDylib()
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/TextAPI/
H A DBUILD.gn10 "InterfaceFile.cpp",
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.cpp124 StringRef InterfaceFile = I.second; in copySwiftInterfaces() local
127 sys::path::append(InputPath, Options.PrependPath, InterfaceFile); in copySwiftInterfaces()
128 InterfaceFile = InputPath; in copySwiftInterfaces()
133 outs() << "copy parseable Swift interface " << InterfaceFile << " -> " in copySwiftInterfaces()
137 if ((EC = sys::fs::copy_file(InterfaceFile, Path.str()))) in copySwiftInterfaces()
138 warn(Twine("cannot copy parseable Swift interface ") + InterfaceFile + in copySwiftInterfaces()
/llvm-project-15.0.7/llvm/tools/llvm-ifs/
H A Dllvm-ifs.cpp210 InterfaceFile File; in writeTbdStub()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt5550 llvm/include/llvm/TextAPI/InterfaceFile.h
6856 llvm/lib/TextAPI/InterfaceFile.cpp