Home
last modified time | relevance | path

Searched refs:PlatformName (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/
H A DOSTargets.cpp23 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 DOSTargets.h74 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 DAArch64.cpp947 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
H A DARM.cpp1310 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp372 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 DSemaDeclAttr.cpp2233 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 DDarwinAsmParser.cpp1162 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 DTargetInfo.h217 mutable StringRef PlatformName; variable
1415 StringRef getPlatformName() const { return PlatformName; } in getPlatformName()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp144 PlatformName = "unknown"; in TargetInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp2722 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 DMCAsmStreamer.cpp635 const char *PlatformName = getPlatformName((MachO::PlatformType)Platform); in emitBuildVersion() local
636 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; in emitBuildVersion()