Searched refs:PlatformName (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/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() 379 this->PlatformName = "android"; in getOSDefines() 836 this->PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getOSDefines() 936 this->PlatformName = "fuchsia"; in getOSDefines()
|
| H A D | AArch64.cpp | 1049 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
|
| H A D | ARM.cpp | 1396 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
|
| /llvm-project-15.0.7/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() 757 std::string PlatformName(AvailabilityAttr::getPrettyPlatformName( in DiagnoseDeclAvailability() local 761 << Range << D << PlatformName << Introduced.getAsString(); in DiagnoseDeclAvailability() 765 << OffendingDecl << PlatformName << Introduced.getAsString() in DiagnoseDeclAvailability()
|
| H A D | SemaDeclAttr.cpp | 2374 StringRef PlatformName in checkAvailabilityAttr() local 2376 if (PlatformName.empty()) in checkAvailabilityAttr() 2377 PlatformName = Platform->getName(); in checkAvailabilityAttr() 2384 << 1 << PlatformName << Deprecated.getAsString() in checkAvailabilityAttr() 2392 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr() 2400 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | DarwinAsmParser.cpp | 1165 StringRef PlatformName; in parseBuildVersion() local 1167 if (getParser().parseIdentifier(PlatformName)) in parseBuildVersion() 1170 unsigned Platform = StringSwitch<unsigned>(PlatformName) in parseBuildVersion() 1200 checkVersion(Directive, PlatformName, Loc, ExpectedOS); in parseBuildVersion()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 221 mutable StringRef PlatformName; variable 1491 StringRef getPlatformName() const { return PlatformName; } in getPlatformName()
|
| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 582 StringRef PlatformName = Context.getTargetInfo().getPlatformName(); in getAvailability() local 588 if (A->getPlatform()->getName() != PlatformName) in getAvailability()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 149 PlatformName = "unknown"; in TargetInfo()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Darwin.cpp | 3027 std::string PlatformName = in addPlatformVersionArgs() local 3030 PlatformName += "-simulator"; in addPlatformVersionArgs() 3031 CmdArgs.push_back(Args.MakeArgString(PlatformName)); in addPlatformVersionArgs()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCAsmStreamer.cpp | 642 const char *PlatformName = getPlatformName((MachO::PlatformType)Platform); in emitBuildVersion() local 643 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; in emitBuildVersion()
|