Home
last modified time | relevance | path

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

12

/llvm-project/llvm/lib/TextAPI/
H A DInterfaceFile.cpp1 //===- InterfaceFile.cpp --------------------------------------------------===//
13 #include "llvm/TextAPI/InterfaceFile.h"
26 void InterfaceFile::addAllowableClient(StringRef InstallName, in addAllowableClient()
34 void InterfaceFile::addReexportedLibrary(StringRef InstallName, in addReexportedLibrary()
42 void InterfaceFile::addParentUmbrella(const Target &Target_, StringRef Parent) { in addParentUmbrella()
57 void InterfaceFile::addRPath(StringRef RPath, const Target &InputTarget) { in addRPath()
72 void InterfaceFile::addTarget(const Target &Target) { in addTarget()
76 InterfaceFile::const_filtered_target_range
77 InterfaceFile::targets(ArchitectureSet Archs) const { in targets()
84 void InterfaceFile
[all...]
H A DTextStub.cpp400 template <> struct MappingTraits<const InterfaceFile *> {
403 NormalizedTBD(IO &IO, const InterfaceFile *&File) { in NormalizedTBD()
573 const InterfaceFile *denormalize(IO &IO) { in denormalize()
577 auto *File = new InterfaceFile; in denormalize()
726 static void mapping(IO &IO, const InterfaceFile *&File) { in mapping()
769 NormalizedTBD_V4(IO &IO, const InterfaceFile *&File) { in NormalizedTBD_V4()
809 InterfaceFile::const_filtered_symbol_range Symbols) { in NormalizedTBD_V4()
862 const InterfaceFile *denormalize(IO &IO) { in denormalize()
866 auto *File = new InterfaceFile; in denormalize()
986 const InterfaceFile *&File) { in mapKeysToValues()
[all …]
H A DTextStubCommon.h49 Expected<std::unique_ptr<InterfaceFile>> in LLVM_YAML_STRONG_TYPEDEF()
52 Error serializeInterfaceFileToJSON(raw_ostream &OS, const InterfaceFile &File, in LLVM_YAML_STRONG_TYPEDEF()
H A DTextStubV5.cpp583 using IFPtr = std::unique_ptr<InterfaceFile>;
652 IFPtr F(new InterfaceFile); in parseToInterfaceFile()
708 Expected<std::unique_ptr<InterfaceFile>>
725 std::unique_ptr<InterfaceFile> IF(std::move(*IFOrErr)); in getInterfaceFileFromJSON()
732 IF->addDocument(std::shared_ptr<InterfaceFile>(std::move(File))); in getInterfaceFileFromJSON()
855 Array serializeSymbols(InterfaceFile::const_filtered_symbol_range Symbols, in serializeSymbols()
922 Array serializeFlags(const InterfaceFile *File) { in serializeFlags()
936 Expected<Object> serializeIF(const InterfaceFile *File) { in serializeIF()
996 Expected<Object> getJSON(const InterfaceFile *File, const FileType FileKind) { in getJSON()
1020 const InterfaceFile &File, in serializeInterfaceFileToJSON()
H A DRecordsSlice.cpp15 #include "llvm/TextAPI/InterfaceFile.h"
305 static std::unique_ptr<InterfaceFile> in createInterfaceFile()
321 auto File = std::make_unique<InterfaceFile>(std::move(Symbols)); in createInterfaceFile()
338 std::unique_ptr<InterfaceFile> in convertToInterfaceFile()
340 std::unique_ptr<InterfaceFile> File; in convertToInterfaceFile()
H A DCMakeLists.txt4 InterfaceFile.cpp
/llvm-project/llvm/include/llvm/TextAPI/
H A DInterfaceFile.h105 class InterfaceFile {
107 InterfaceFile(std::unique_ptr<SymbolSet> &&InputSymbols) in InterfaceFile() function
110 InterfaceFile() : SymbolsSet(std::make_unique<SymbolSet>()){}; in InterfaceFile() function
289 void addDocument(std::shared_ptr<InterfaceFile> &&Document);
292 InterfaceFile *getParent() const { return Parent; } in getParent()
297 const std::vector<std::shared_ptr<InterfaceFile>> &documents() const { in documents()
376 llvm::Expected<std::unique_ptr<InterfaceFile>>
383 llvm::Expected<std::unique_ptr<InterfaceFile>>
393 llvm::Expected<std::unique_ptr<InterfaceFile>>
394 merge(const InterfaceFile *O) const;
[all …]
H A DTextAPIReader.h20 class InterfaceFile; variable
38 static Expected<std::unique_ptr<InterfaceFile>>
H A DRecordsSlice.h198 class InterfaceFile; variable
199 std::unique_ptr<InterfaceFile> convertToInterfaceFile(const Records &Slices);
H A DDylibReader.h45 Expected<std::unique_ptr<InterfaceFile>> get(MemoryBufferRef Buffer);
H A DTextAPIWriter.h33 static Error writeToStream(raw_ostream &OS, const InterfaceFile &File,
/llvm-project/llvm/unittests/TextAPI/
H A DTextStubHelpers.h29 using TBDFile = std::unique_ptr<MachO::InterfaceFile>;
30 using TBDReexportFile = std::shared_ptr<MachO::InterfaceFile>;
50 checkEqualityOnTransform(MachO::InterfaceFile &FileA, in checkEqualityOnTransform()
51 MachO::InterfaceFile &FileB, in checkEqualityOnTransform()
52 void (*Transform)(MachO::InterfaceFile *)) { in checkEqualityOnTransform() argument
H A DTextStubV4Tests.cpp340 InterfaceFile File; in TEST()
392 InterfaceFile File; in TEST()
415 InterfaceFile Document; in TEST()
428 File.addDocument(std::make_shared<InterfaceFile>(std::move(Document))); in TEST()
1030 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
1034 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
1116 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
1120 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
1134 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
1138 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
[all …]
H A DTextStubV3Tests.cpp256 InterfaceFile File; in TEST()
321 InterfaceFile File; in TEST()
349 InterfaceFile Document; in TEST()
360 File.addDocument(std::make_shared<InterfaceFile>(std::move(Document))); in TEST()
874 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
878 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
895 InterfaceFile FileA = std::move(*ResultA.get()); in TEST()
899 InterfaceFile FileB = std::move(*ResultB.get()); in TEST()
901 EXPECT_TRUE(checkEqualityOnTransform(FileA, FileB, [](InterfaceFile *File) { in TEST()
904 EXPECT_TRUE(checkEqualityOnTransform(FileA, FileB, [](InterfaceFile *File) { in TEST()
[all …]
/llvm-project/llvm/tools/llvm-readtapi/
H A DDiffEngine.h144 DiffEngine(MachO::InterfaceFile *InputFileNameLHS, in DiffEngine()
145 MachO::InterfaceFile *InputFileNameRHS) in DiffEngine()
150 MachO::InterfaceFile *FileLHS;
151 MachO::InterfaceFile *FileRHS;
157 std::vector<DiffOutput> findDifferences(const MachO::InterfaceFile *,
158 const MachO::InterfaceFile *);
H A Dllvm-readtapi.cpp131 static std::unique_ptr<InterfaceFile> in getInterfaceFile()
140 std::unique_ptr<InterfaceFile> IF; in getInterfaceFile()
197 std::unique_ptr<InterfaceFile> Out = nullptr) { in stubifyImpl()
212 std::unique_ptr<InterfaceFile> Out; in stubifyImpl()
225 static void stubifyImpl(std::unique_ptr<InterfaceFile> IF, Context &Ctx) { in stubifyDirectory()
246 StringMap<std::unique_ptr<InterfaceFile>> Dylibs; in stubifyDirectory()
465 std::function<llvm::Expected<std::unique_ptr<InterfaceFile>>( in main()
466 const llvm::MachO::InterfaceFile &, Architecture)>; in main()
570 return handleSingleFileAction(Ctx, "extract", &InterfaceFile::extract);
572 return handleSingleFileAction(Ctx, "remove", &InterfaceFile
[all...]
H A DDiffEngine.cpp117 bool checkSymbolEquality(llvm::MachO::InterfaceFile::const_symbol_range LHS, in checkSymbolEquality()
118 llvm::MachO::InterfaceFile::const_symbol_range RHS) { in checkSymbolEquality()
170 DiffOutput getSingleAttrDiff(InterfaceFile::const_symbol_range SymRange, in getSingleAttrDiff()
200 std::vector<DiffOutput> getSingleIF(InterfaceFile *Interface, in getSingleIF()
268 void findAndAddDiff(InterfaceFile::const_symbol_range CollectedSyms, in findAndAddDiff()
269 InterfaceFile::const_symbol_range LookupSyms, in findAndAddDiff()
306 DiffOutput recordDifferences(llvm::MachO::InterfaceFile::const_symbol_range LHS, in recordDifferences()
307 llvm::MachO::InterfaceFile::const_symbol_range RHS, in recordDifferences()
317 DiffEngine::findDifferences(const InterfaceFile *IFLHS, in findDifferences()
318 const InterfaceFile *IFRHS) { in findDifferences()
/llvm-project/clang/tools/clang-installapi/
H A DClangInstallAPI.cpp162 InterfaceFile IF(Ctx.Verifier->takeExports()); in run()
172 std::function<void(InterfaceFile *, StringRef, const Target &)> Add) { in run() argument
179 &InterfaceFile::addAllowableClient); in run()
180 assignLibAttrs(Opts.LinkerOpts.RPaths, &InterfaceFile::addRPath); in run()
181 assignLibAttrs(Ctx.Reexports, &InterfaceFile::addReexportedLibrary); in run()
/llvm-project/llvm/lib/Object/
H A DTapiUniversal.cpp24 Expected<std::unique_ptr<InterfaceFile>> Result = TextAPIReader::get(Source); in TapiUniversal()
40 for (const std::shared_ptr<InterfaceFile> &File : ParsedFile->documents()) in TapiUniversal()
/llvm-project/lld/MachO/
H A DInputFiles.h35 class InterfaceFile; variable
141 InputFile(Kind, const llvm::MachO::InterfaceFile &);
227 explicit DylibFile(const llvm::MachO::InterfaceFile &interface,
233 void parseReexports(const llvm::MachO::InterfaceFile &interface);
281 const llvm::MachO::InterfaceFile *currentTopLevelTapi);
/llvm-project/clang/include/clang/InstallAPI/
H A DMachO.h34 using InterfaceFile = llvm::MachO::InterfaceFile; variable
/llvm-project/llvm/include/llvm/Object/
H A DTapiUniversal.h106 const MachO::InterfaceFile &getInterfaceFile() { return *ParsedFile; } in getInterfaceFile()
118 std::unique_ptr<MachO::InterfaceFile> ParsedFile;
H A DTapiFile.h33 TapiFile(MemoryBufferRef Source, const MachO::InterfaceFile &Interface,
/llvm-project/llvm/utils/gn/secondary/llvm/lib/TextAPI/
H A DBUILD.gn11 "InterfaceFile.cpp",
/llvm-project/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.cpp515 StringRef InterfaceFile = I.second; in copySwiftInterfaces() local
518 sys::path::append(InputPath, Options.PrependPath, InterfaceFile); in copySwiftInterfaces()
519 InterfaceFile = InputPath; in copySwiftInterfaces()
524 outs() << "copy parseable Swift interface " << InterfaceFile << " -> " in copySwiftInterfaces()
528 if ((EC = sys::fs::copy_file(InterfaceFile, Path.str()))) in copySwiftInterfaces()
530 InterfaceFile + ": " + toString(errorCodeToError(EC))); in copySwiftInterfaces()

12