Home
last modified time | relevance | path

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

/freebsd-14.2/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 DDirectX.h63 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in DirectXTargetInfo()
H A DOSTargets.h38 const llvm::Triple &Triple, StringRef &PlatformName,
46 getDarwinDefines(Builder, Opts, Triple, this->PlatformName, in getOSDefines()
322 this->PlatformName = "android"; in getOSDefines()
761 this->PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getOSDefines()
864 this->PlatformName = "fuchsia"; in getOSDefines()
957 this->PlatformName = "ohos"; in getOSDefines()
H A DARM.cpp1494 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
H A DAArch64.cpp1612 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DAvailabilityInfo.cpp12 StringRef PlatformName = Context.getTargetInfo().getPlatformName(); in createFromDecl() local
18 if (A->getPlatform()->getName() != PlatformName) in createFromDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp388 std::string PlatformName(AvailabilityAttr::getPrettyPlatformName( in DoEmitAvailabilityWarning() local
391 S.Diag(Loc, Warning) << OffendingDecl << PlatformName in DoEmitAvailabilityWarning()
396 << OffendingDecl << PlatformName << Introduced.getAsString() in DoEmitAvailabilityWarning()
420 std::string PlatformName = in DoEmitAvailabilityWarning() local
428 (llvm::Twine(Insertion->Prefix) + "API_AVAILABLE(" + PlatformName + in DoEmitAvailabilityWarning()
796 std::string PlatformName(AvailabilityAttr::getPrettyPlatformName( in DiagnoseDeclAvailability() local
800 << Range << D << PlatformName << Introduced.getAsString(); in DiagnoseDeclAvailability()
804 << OffendingDecl << PlatformName << Introduced.getAsString() in DiagnoseDeclAvailability()
H A DSemaDeclAttr.cpp2403 StringRef PlatformName in checkAvailabilityAttr() local
2405 if (PlatformName.empty()) in checkAvailabilityAttr()
2406 PlatformName = Platform->getName(); in checkAvailabilityAttr()
2413 << 1 << PlatformName << Deprecated.getAsString() in checkAvailabilityAttr()
2421 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr()
2429 << 2 << PlatformName << Obsoleted.getAsString() in checkAvailabilityAttr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp1166 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()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h244 mutable StringRef PlatformName; variable
1572 StringRef getPlatformName() const { return PlatformName; } in getPlatformName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp178 PlatformName = "unknown"; in TargetInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp3224 std::string PlatformName = in addPlatformVersionArgs() local
3227 PlatformName += "-simulator"; in addPlatformVersionArgs()
3228 CmdArgs.push_back(Args.MakeArgString(PlatformName)); in addPlatformVersionArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmStreamer.cpp647 const char *PlatformName = getPlatformName((MachO::PlatformType)Platform); in emitBuildVersion() local
648 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; in emitBuildVersion()