Searched refs:PlatformName (Results 1 – 12 of 12) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 57 const llvm::Triple &Triple, StringRef &PlatformName, in getDarwinDefines() argument 68 PlatformName = "macos"; in getDarwinDefines() 71 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getDarwinDefines() 72 if (PlatformName == "ios" && Triple.isMacCatalystEnvironment()) in getDarwinDefines() 73 PlatformName = "maccatalyst"; in getDarwinDefines() 79 if (PlatformName == "win32") { in getDarwinDefines()
|
| H A D | DirectX.h | 66 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in DirectXTargetInfo()
|
| H A D | OSTargets.h | 41 const llvm::Triple &Triple, StringRef &PlatformName, 73 getDarwinDefines(Builder, Opts, Triple, this->PlatformName, in getOSDefines() 347 this->PlatformName = "android"; in getOSDefines() 813 this->PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getOSDefines() 932 this->PlatformName = "fuchsia"; in getOSDefines() 1027 this->PlatformName = "ohos"; in getOSDefines()
|
| H A D | ARM.cpp | 1580 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 468 std::string PlatformName( in DoEmitAvailabilityWarning() local 481 S.Diag(Loc, DiagKind) << OffendingDecl << PlatformName in DoEmitAvailabilityWarning() 487 << OffendingDecl << PlatformName << Introduced.getAsString() in DoEmitAvailabilityWarning() 517 StringRef PlatformName = in DoEmitAvailabilityWarning() local 531 AvailabilityAttr::equivalentPlatformNames(PlatformName); in DoEmitAvailabilityWarning() 907 std::string PlatformName( in DiagnoseDeclAvailability() local 921 << Range << D << PlatformName << Introduced.getAsString() in DiagnoseDeclAvailability() 926 << OffendingDecl << PlatformName << Introduced.getAsString() in DiagnoseDeclAvailability()
|
| H A D | SemaHLSL.cpp | 2381 llvm::StringRef PlatformName( in CheckDeclAvailability() local 2393 << Range << D << PlatformName << Introduced.getAsString() in CheckDeclAvailability() 2401 << D << PlatformName << Introduced.getAsString() in CheckDeclAvailability()
|
| H A D | SemaDeclAttr.cpp | 2194 StringRef PlatformName in checkAvailabilityAttr() local 2196 if (PlatformName.empty()) in checkAvailabilityAttr() 2197 PlatformName = Platform->getName(); in checkAvailabilityAttr() 2204 << 1 << PlatformName << Deprecated.getAsString() in checkAvailabilityAttr() 2212 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr() 2220 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | DarwinAsmParser.cpp | 1150 StringRef PlatformName; in parseBuildVersion() local 1152 if (getParser().parseIdentifier(PlatformName)) in parseBuildVersion() 1155 unsigned Platform = StringSwitch<unsigned>(PlatformName) in parseBuildVersion() 1184 checkVersion(Directive, PlatformName, Loc, ExpectedOS); in parseBuildVersion()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 259 mutable StringRef PlatformName; variable 1690 StringRef getPlatformName() const { return PlatformName; } in getPlatformName()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 186 PlatformName = "unknown"; in TargetInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCAsmStreamer.cpp | 677 const char *PlatformName = getPlatformName((MachO::PlatformType)Platform); in emitBuildVersion() local 678 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; in emitBuildVersion()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Darwin.cpp | 3561 std::string PlatformName = in addPlatformVersionArgs() local 3564 PlatformName += "-simulator"; in addPlatformVersionArgs() 3565 CmdArgs.push_back(Args.MakeArgString(PlatformName)); in addPlatformVersionArgs()
|