Home
last modified time | relevance | path

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

/src/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.h62 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()
765 this->PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getOSDefines()
868 this->PlatformName = "fuchsia"; in getOSDefines()
962 this->PlatformName = "ohos"; in getOSDefines()
H A DARM.cpp1495 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
H A DAArch64.cpp1692 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
/src/contrib/llvm-project/clang/lib/AST/
H A DAvailability.cpp23 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 DSemaAvailability.cpp449 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 DSemaHLSL.cpp857 llvm::StringRef PlatformName( in CheckDeclAvailability() local
869 << Range << D << PlatformName << Introduced.getAsString() in CheckDeclAvailability()
877 << D << PlatformName << Introduced.getAsString() in CheckDeclAvailability()
H A DSemaDeclAttr.cpp2022 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 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()
/src/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h250 mutable StringRef PlatformName; variable
1659 StringRef getPlatformName() const { return PlatformName; } in getPlatformName()
/src/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp179 PlatformName = "unknown"; in TargetInfo()
/src/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp3319 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 DMCAsmStreamer.cpp663 const char *PlatformName = getPlatformName((MachO::PlatformType)Platform); in emitBuildVersion() local
664 OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor; in emitBuildVersion()