Searched refs:PlatformName (Results 1 – 11 of 11) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 23 const llvm::Triple &Triple, StringRef &PlatformName, in getDarwinDefines() argument 54 PlatformName = "macos"; in getDarwinDefines() 57 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getDarwinDefines() 58 if (PlatformName == "ios" && Triple.isMacCatalystEnvironment()) in getDarwinDefines() 59 PlatformName = "maccatalyst"; in getDarwinDefines() 65 if (PlatformName == "win32") { in getDarwinDefines()
|
| H A D | OSTargets.h | 74 const llvm::Triple &Triple, StringRef &PlatformName, 82 getDarwinDefines(Builder, Opts, Triple, this->PlatformName, in getOSDefines() 378 this->PlatformName = "android"; in getOSDefines() 792 this->PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getOSDefines()
|
| H A D | AArch64.cpp | 947 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
|
| H A D | ARM.cpp | 1310 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 372 std::string PlatformName(AvailabilityAttr::getPrettyPlatformName( in DoEmitAvailabilityWarning() local 375 S.Diag(Loc, Warning) << OffendingDecl << PlatformName in DoEmitAvailabilityWarning() 380 << OffendingDecl << PlatformName << Introduced.getAsString() in DoEmitAvailabilityWarning() 404 std::string PlatformName = in DoEmitAvailabilityWarning() local 412 (llvm::Twine(Insertion->Prefix) + "API_AVAILABLE(" + PlatformName + in DoEmitAvailabilityWarning() 758 std::string PlatformName(AvailabilityAttr::getPrettyPlatformName( in DiagnoseDeclAvailability() local 762 << Range << D << PlatformName << Introduced.getAsString(); in DiagnoseDeclAvailability() 766 << OffendingDecl << PlatformName << Introduced.getAsString() in DiagnoseDeclAvailability()
|
| H A D | SemaDeclAttr.cpp | 2233 StringRef PlatformName in checkAvailabilityAttr() local 2235 if (PlatformName.empty()) in checkAvailabilityAttr() 2236 PlatformName = Platform->getName(); in checkAvailabilityAttr() 2243 << 1 << PlatformName << Deprecated.getAsString() in checkAvailabilityAttr() 2251 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr() 2259 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | DarwinAsmParser.cpp | 1162 StringRef PlatformName; in parseBuildVersion() local 1164 if (getParser().parseIdentifier(PlatformName)) in parseBuildVersion() 1167 unsigned Platform = StringSwitch<unsigned>(PlatformName) in parseBuildVersion() 1196 checkVersion(Directive, PlatformName, Loc, ExpectedOS); in parseBuildVersion()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 217 mutable StringRef PlatformName; variable 1415 StringRef getPlatformName() const { return PlatformName; } in getPlatformName()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 144 PlatformName = "unknown"; in TargetInfo()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Darwin.cpp | 2722 std::string PlatformName = getPlatformName(TargetPlatform, TargetEnvironment); in addPlatformVersionArgs() local 2724 PlatformName += "-simulator"; in addPlatformVersionArgs() 2725 CmdArgs.push_back(Args.MakeArgString(PlatformName)); in addPlatformVersionArgs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCAsmStreamer.cpp | 635 const char *PlatformName = getPlatformName((MachO::PlatformType)Platform); in emitBuildVersion() local 636 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; in emitBuildVersion()
|