| /src/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 | DirectX.h | 62 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in DirectXTargetInfo()
|
| H A D | OSTargets.h | 38 const llvm::Triple &Triple, StringRef &PlatformName, 46 getDarwinDefines(Builder, Opts, Triple, this->PlatformName, in getOSDefines() 322 this->PlatformName = "android"; in getOSDefines() 765 this->PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getOSDefines() 868 this->PlatformName = "fuchsia"; in getOSDefines() 962 this->PlatformName = "ohos"; in getOSDefines()
|
| H A D | ARM.cpp | 1495 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
|
| H A D | AArch64.cpp | 1692 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | Availability.cpp | 23 StringRef PlatformName = Context.getTargetInfo().getPlatformName(); in createFromDecl() local 29 if (A->getPlatform()->getName() != PlatformName) in createFromDecl()
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 449 std::string PlatformName( in DoEmitAvailabilityWarning() local 462 S.Diag(Loc, DiagKind) << OffendingDecl << PlatformName in DoEmitAvailabilityWarning() 468 << OffendingDecl << PlatformName << Introduced.getAsString() in DoEmitAvailabilityWarning() 497 std::string PlatformName = in DoEmitAvailabilityWarning() local 505 (llvm::Twine(Insertion->Prefix) + "API_AVAILABLE(" + PlatformName + in DoEmitAvailabilityWarning() 867 std::string PlatformName( in DiagnoseDeclAvailability() local 881 << Range << D << PlatformName << Introduced.getAsString() in DiagnoseDeclAvailability() 886 << OffendingDecl << PlatformName << Introduced.getAsString() in DiagnoseDeclAvailability()
|
| H A D | SemaHLSL.cpp | 857 llvm::StringRef PlatformName( in CheckDeclAvailability() local 869 << Range << D << PlatformName << Introduced.getAsString() in CheckDeclAvailability() 877 << D << PlatformName << Introduced.getAsString() in CheckDeclAvailability()
|
| H A D | SemaDeclAttr.cpp | 2022 StringRef PlatformName in checkAvailabilityAttr() local 2024 if (PlatformName.empty()) in checkAvailabilityAttr() 2025 PlatformName = Platform->getName(); in checkAvailabilityAttr() 2032 << 1 << PlatformName << Deprecated.getAsString() in checkAvailabilityAttr() 2040 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr() 2048 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr()
|
| /src/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | DarwinAsmParser.cpp | 1166 StringRef PlatformName; in parseBuildVersion() local 1168 if (getParser().parseIdentifier(PlatformName)) in parseBuildVersion() 1171 unsigned Platform = StringSwitch<unsigned>(PlatformName) in parseBuildVersion() 1200 checkVersion(Directive, PlatformName, Loc, ExpectedOS); in parseBuildVersion()
|
| /src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 250 mutable StringRef PlatformName; variable 1659 StringRef getPlatformName() const { return PlatformName; } in getPlatformName()
|
| /src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 179 PlatformName = "unknown"; in TargetInfo()
|
| /src/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Darwin.cpp | 3319 std::string PlatformName = in addPlatformVersionArgs() local 3322 PlatformName += "-simulator"; in addPlatformVersionArgs() 3323 CmdArgs.push_back(Args.MakeArgString(PlatformName)); in addPlatformVersionArgs()
|
| /src/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCAsmStreamer.cpp | 663 const char *PlatformName = getPlatformName((MachO::PlatformType)Platform); in emitBuildVersion() local 664 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; in emitBuildVersion()
|