/freebsd/contrib/llvm-project/clang/include/clang/APINotes/ |
H A D | APINotesWriter.h | 59 llvm::VersionTuple SwiftVersion); 68 llvm::VersionTuple SwiftVersion); 79 llvm::VersionTuple SwiftVersion); 87 const CXXMethodInfo &Info, llvm::VersionTuple SwiftVersion); 95 llvm::VersionTuple SwiftVersion); 103 llvm::VersionTuple SwiftVersion); 110 llvm::VersionTuple SwiftVersion); 117 const TagInfo &Info, llvm::VersionTuple SwiftVersion); 124 const TypedefInfo &Info, llvm::VersionTuple SwiftVersion);
|
H A D | APINotesManager.h | 54 llvm::VersionTuple SwiftVersion; variable 123 this->SwiftVersion = Version; in setSwiftVersion()
|
H A D | APINotesReader.h | 33 llvm::VersionTuple SwiftVersion, bool &Failed); 42 llvm::VersionTuple SwiftVersion);
|
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | TextStubCommon.cpp | 169 void ScalarTraits<SwiftVersion>::output(const SwiftVersion &Value, void *, in output() 189 StringRef ScalarTraits<SwiftVersion>::input(StringRef Scalar, void *IO, in input() 190 SwiftVersion &Value) { in input() 200 Value = StringSwitch<SwiftVersion>(Scalar) in input() 208 if (Value != SwiftVersion(0)) in input() 216 QuotingType ScalarTraits<SwiftVersion>::mustQuote(StringRef) { in mustQuote()
|
H A D | TextStubCommon.h | 39 LLVM_YAML_STRONG_TYPEDEF(uint8_t, SwiftVersion) in LLVM_YAML_STRONG_TYPEDEF() 90 template <> struct ScalarTraits<SwiftVersion> { in LLVM_YAML_STRONG_TYPEDEF() 91 static void output(const SwiftVersion &, void *, raw_ostream &); in LLVM_YAML_STRONG_TYPEDEF() 92 static StringRef input(StringRef, void *, SwiftVersion &); in LLVM_YAML_STRONG_TYPEDEF()
|
H A D | TextStub.cpp | 702 SwiftVersion SwiftABIVersion{0}; 948 SwiftVersion SwiftABIVersion{0}; 1001 IO.mapOptional("swift-version", Keys->SwiftABIVersion, SwiftVersion(0)); in mapKeysToValues() 1004 SwiftVersion(0)); in mapKeysToValues() 1030 IO.mapOptional("swift-abi-version", Keys->SwiftABIVersion, SwiftVersion(0)); in mapKeysToValuesV4()
|
/freebsd/contrib/llvm-project/clang/lib/APINotes/ |
H A D | APINotesYAMLCompiler.cpp | 747 VersionTuple SwiftVersion) { in convertMethod() argument 785 SwiftVersion); in convertMethod() 789 ContextKind Kind, VersionTuple SwiftVersion) { in convertContext() argument 802 Writer.addContext(ParentContextID, C.Name, Kind, CI, SwiftVersion); in convertContext() 819 convertMethod(method, CtxID, C.Name, SwiftVersion); in convertContext() 856 SwiftVersion); in convertContext() 858 Writer.addObjCProperty(CtxID, Property.Name, true, PI, SwiftVersion); in convertContext() 859 Writer.addObjCProperty(CtxID, Property.Name, false, PI, SwiftVersion); in convertContext() 866 VersionTuple SwiftVersion) { in convertNamespaceContext() argument 873 ContextKind::Namespace, CI, SwiftVersion); in convertNamespaceContext() [all …]
|
H A D | APINotesWriter.cpp | 1330 llvm::VersionTuple SwiftVersion) { in addContext() argument 1353 if (Versioned.first == SwiftVersion) { in addContext() 1361 VersionedVec.push_back({SwiftVersion, Info}); in addContext() 1369 VersionTuple SwiftVersion) { in addObjCProperty() argument 1373 .push_back({SwiftVersion, Info}); in addObjCProperty() 1379 VersionTuple SwiftVersion) { in addObjCMethod() argument 1383 Implementation->ObjCMethods[Key].push_back({SwiftVersion, Info}); in addObjCMethod() 1397 if (Versioned.first == SwiftVersion) { in addObjCMethod() 1405 VersionedVec.push_back({SwiftVersion, ContextInfo()}); in addObjCMethod() 1413 VersionTuple SwiftVersion) { in addCXXMethod() argument [all …]
|
H A D | APINotesReader.cpp | 617 llvm::VersionTuple SwiftVersion; member in clang::api_notes::APINotesReader::Implementation 1704 llvm::VersionTuple SwiftVersion, bool &Failed) in APINotesReader() argument 1710 Implementation->SwiftVersion = SwiftVersion; in APINotesReader() 1878 llvm::VersionTuple SwiftVersion) { in Create() argument 1881 new APINotesReader(InputBuffer.release(), SwiftVersion, Failed)); in Create() 1953 return {Implementation->SwiftVersion, *KnownInfo}; in lookupObjCClassInfo() 1988 return {Implementation->SwiftVersion, *KnownInfo}; in lookupObjCProtocolInfo() 2006 return {Implementation->SwiftVersion, *Known}; in lookupObjCProperty() 2025 return {Implementation->SwiftVersion, *Known}; in lookupObjCMethod() 2042 return {Implementation->SwiftVersion, *Known}; in lookupCXXMethod() [all …]
|
H A D | APINotesManager.cpp | 101 auto Reader = APINotesReader::Create(std::move(CompiledBuffer), SwiftVersion); in loadAPINotes() 122 auto Reader = APINotesReader::Create(std::move(CompiledBuffer), SwiftVersion); in loadAPINotes()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | MachOPlatform.cpp | 231 uint16_t SwiftVersion; member 242 SwiftVersion = (RawFlags >> 16) & 0xFFFF; in ObjCImageInfoFlags() 252 Result |= (SwiftVersion << 16); in rawFlags() 1165 if (Old.SwiftVersion && New.SwiftVersion) in mergeImageInfoFlags() 1166 New.SwiftVersion = std::min(Old.SwiftVersion, New.SwiftVersion); in mergeImageInfoFlags() 1167 else if (Old.SwiftVersion) in mergeImageInfoFlags() 1168 New.SwiftVersion = Old.SwiftVersion; in mergeImageInfoFlags()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOObject.h | 318 std::optional<uint32_t> SwiftVersion; member
|
H A D | MachOObjcopy.cpp | 127 (Obj.Header.Flags & MachO::MH_DYLDLINK) && Obj.SwiftVersion && 128 *Obj.SwiftVersion && N->isSwiftSymbol())
|
H A D | MachOReader.cpp | 362 O.SwiftVersion = (ImageInfo.Flags >> 8) & 0xff; in readSwiftVersion()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 3394 if (!Opts.SwiftVersion.empty()) in GenerateAPINotesArgs() 3396 Opts.SwiftVersion.getAsString()); in GenerateAPINotesArgs() 3405 if (Opts.SwiftVersion.tryParse(A->getValue())) in ParseAPINotesArgs() 4995 if (!APINotesOpts.SwiftVersion.empty()) { in getModuleHash() 4996 HBuilder.add(APINotesOpts.SwiftVersion.getMajor()); in getModuleHash() 4997 if (auto Minor = APINotesOpts.SwiftVersion.getMinor()) in getModuleHash() 4999 if (auto Subminor = APINotesOpts.SwiftVersion.getSubminor()) in getModuleHash() 5001 if (auto Build = APINotesOpts.SwiftVersion.getBuild()) in getModuleHash()
|
H A D | CompilerInstance.cpp | 751 TheSema->APINotes.setSwiftVersion(getAPINotesOpts().SwiftVersion); in createSema()
|