| /llvm-project-15.0.7/llvm/include/llvm/TextAPI/ |
| H A D | Target.h | 29 Target(Architecture Arch, PlatformType Platform) in Target() argument 30 : Arch(Arch), Platform(Platform) {} in Target() 32 : Arch(mapToArchitecture(Triple)), Platform(mapToPlatformType(Triple)) {} in Target() 39 PlatformType Platform; variable 43 return std::tie(LHS.Arch, LHS.Platform) == std::tie(RHS.Arch, RHS.Platform); 47 return std::tie(LHS.Arch, LHS.Platform) != std::tie(RHS.Arch, RHS.Platform); 51 return std::tie(LHS.Arch, LHS.Platform) < std::tie(RHS.Arch, RHS.Platform);
|
| H A D | Platform.h | 23 PlatformType mapToPlatformType(PlatformType Platform, bool WantSim); 26 StringRef getPlatformName(PlatformType Platform); 28 std::string getOSAndEnvironmentName(PlatformType Platform,
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Platform.cpp | 138 void Platform::Initialize() {} in Initialize() 140 void Platform::Terminate() {} in Terminate() 200 Status Platform::GetSharedModule( in GetSharedModule() 264 ArchSpec Platform::GetAugmentedArchSpec(Platform *platform, llvm::StringRef triple) { in GetAugmentedArchSpec() 271 Platform::Platform(bool is_host) in Platform() function in Platform 283 Platform::~Platform() = default; 285 void Platform::GetStatus(Stream &strm) { in GetStatus() 416 Platform *platform_ptr; 511 Log *log = GetLog(LLDBLog::Platform); in Install() 724 const char *Platform::GetHostname() { in GetHostname() [all …]
|
| H A D | RemoteAwarePlatform.cpp | 224 return Platform::CloseFile(fd, error); in CloseFile() 246 return Platform::GetFileSize(file_spec); in GetFileSize() 253 return Platform::CreateSymlink(src, dst); in CreateSymlink() 259 return Platform::GetFileExists(file_spec); in GetFileExists() 265 return Platform::Unlink(file_spec); in Unlink() 329 return Platform::GetHostname(); in GetHostname() 335 return Platform::GetUserIDResolver(); in GetUserIDResolver() 341 return Platform::GetEnvironment(); in GetEnvironment() 347 return Platform::IsConnected(); in IsConnected() 380 return Platform::LaunchProcess(launch_info); in LaunchProcess() [all …]
|
| /llvm-project-15.0.7/llvm/lib/TextAPI/ |
| H A D | Target.cpp | 22 PlatformType Platform; in create() local 23 Platform = StringSwitch<PlatformType>(PlatformStr) in create() 36 if (Platform == PLATFORM_UNKNOWN) { in create() 41 Platform = (PlatformType)RawValue; in create() 45 return Target{Architecture, Platform}; in create() 49 return (getArchitectureName(Arch) + " (" + getPlatformName(Platform) + ")") in operator std::string() 61 Result.insert(Target.Platform); in mapToPlatformSet() 74 getOSAndEnvironmentName(Targ.Platform)) in getTargetTripleName()
|
| H A D | Platform.cpp | 21 PlatformType mapToPlatformType(PlatformType Platform, bool WantSim) { in mapToPlatformType() argument 22 switch (Platform) { in mapToPlatformType() 24 return Platform; in mapToPlatformType() 63 StringRef getPlatformName(PlatformType Platform) { in getPlatformName() argument 64 switch (Platform) { in getPlatformName() 106 std::string getOSAndEnvironmentName(PlatformType Platform, in getOSAndEnvironmentName() argument 108 switch (Platform) { in getOSAndEnvironmentName()
|
| H A D | TextStubCommon.cpp | 108 auto Platform = StringSwitch<PlatformType>(Scalar) in input() local 117 if (Platform == PLATFORM_MACCATALYST) in input() 121 if (Platform == PLATFORM_UNKNOWN) in input() 124 Values.insert(Platform); in input()
|
| /llvm-project-15.0.7/openmp/runtime/tools/lib/ |
| H A D | Platform.pm | 22 package Platform; package 303 { package Platform::base; 317 { package Platform::host_arch; 324 { package Platform::host_os; 331 { package Platform::host_platform; 338 { package Platform::target_arch; 345 { package Platform::target_mic_arch; 352 { package Platform::target_os; 359 { package Platform::target_platform;
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Availability.h | 37 StringRef Platform; variable 42 AvailabilitySpec(VersionTuple Version, StringRef Platform, in AvailabilitySpec() argument 44 : Version(Version), Platform(Platform), BeginLoc(BeginLoc), in AvailabilitySpec() 52 StringRef getPlatform() const { return Platform; } in getPlatform()
|
| /llvm-project-15.0.7/llvm/unittests/TextAPI/ |
| H A D | TextStubV1Tests.cpp | 75 auto Platform = PLATFORM_IOS; in TEST() local 78 Targets.emplace_back(Target(arch, Platform)); in TEST() 81 EXPECT_EQ(Platform, *File->getPlatforms().begin()); in TEST() 129 auto Platform = PLATFORM_IOS; in TEST() local 132 Targets.emplace_back(Target(arch, Platform)); in TEST() 135 EXPECT_EQ(Platform, *File->getPlatforms().begin()); in TEST() 211 auto Platform = PLATFORM_MACOS; in TEST() local 228 auto Platform = PLATFORM_IOS; in TEST() local 245 auto Platform = PLATFORM_WATCHOS; in TEST() local 262 auto Platform = PLATFORM_TVOS; in TEST() local [all …]
|
| H A D | TextStubV2Tests.cpp | 76 auto Platform = PLATFORM_IOS; in TEST() local 79 Targets.emplace_back(Target(arch, Platform)); in TEST() 82 EXPECT_EQ(Platform, *File->getPlatforms().begin()); in TEST() 148 auto Platform = PLATFORM_IOS; in TEST() local 151 Targets.emplace_back(Target(arch, Platform)); in TEST() 154 EXPECT_EQ(Platform, *File->getPlatforms().begin()); in TEST() 232 auto Platform = PLATFORM_MACOS; in TEST() local 248 auto Platform = PLATFORM_IOS; in TEST() local 265 auto Platform = PLATFORM_WATCHOS; in TEST() local 282 auto Platform = PLATFORM_TVOS; in TEST() local [all …]
|
| H A D | TextStubV3Tests.cpp | 79 auto Platform = PLATFORM_IOS; in TEST() local 169 auto Platform = PLATFORM_IOS; in TEST() local 388 auto Platform = PLATFORM_MACOS; in TEST() local 412 auto Platform = PLATFORM_IOS; in TEST() local 435 auto Platform = PLATFORM_WATCHOS; in TEST() local 459 auto Platform = PLATFORM_TVOS; in TEST() local 482 auto Platform = PLATFORM_BRIDGEOS; in TEST() local 505 auto Platform = PLATFORM_MACCATALYST; in TEST() local 556 auto Platform = PLATFORM_IOSSIMULATOR; in TEST() local 604 auto Platform = PLATFORM_TVOSSIMULATOR; in TEST() local [all …]
|
| H A D | TextStubV4Tests.cpp | 99 for (auto Platform : File->getPlatforms()) in TEST() local 100 EXPECT_EQ(Platforms.count(Platform), 1U); in TEST() 229 for (auto &&Platform : Platforms) in TEST() 263 PlatformType Platform = PLATFORM_MACOS; in TEST() local 428 PlatformType Platform = PLATFORM_MACCATALYST; in TEST() local 430 Target(AK_i386, Platform), in TEST() 431 Target(AK_x86_64, Platform), in TEST() 495 for (auto Platform : File->getPlatforms()) in TEST() local 496 EXPECT_EQ(Platforms.count(Platform), 1U); in TEST() 524 for (auto Platform : File->getPlatforms()) in TEST() local [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/gdb-server/ |
| H A D | PlatformRemoteGDBServer.cpp | 45 Platform::Initialize(); in Initialize() 62 Platform::Terminate(); in Terminate() 96 Log *log = GetLog(LLDBLog::Platform); in GetModuleSpec() 132 : Platform(/*is_host=*/false) {} in PlatformRemoteGDBServer() 175 Log *log = GetLog(LLDBLog::Platform); in GetRemoteWorkingDirectory() 192 Log *log = GetLog(LLDBLog::Platform); in SetRemoteWorkingDirectory() 322 Log *log = GetLog(LLDBLog::Platform); in LaunchProcess() 545 Log *log = GetLog(LLDBLog::Platform); in MakeDirectory() 559 Log *log = GetLog(LLDBLog::Platform); in GetFilePermissions() 574 Log *log = GetLog(LLDBLog::Platform); in SetFilePermissions() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/OpenBSD/ |
| H A D | PlatformOpenBSD.cpp | 44 Log *log = GetLog(LLDBLog::Platform); in CreateInstance() 82 Platform::Initialize(); in Initialize() 88 Platform::SetHostPlatform(default_platform_sp); in Initialize() 129 Platform::GetStatus(strm); in GetStatus()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/QemuUser/ |
| H A D | PlatformQemuUser.h | 15 class PlatformQemuUser : public Platform { 55 return Platform::GetHostPlatform()->GetMmapArgumentList( in GetMmapArgumentList() 63 PlatformQemuUser() : Platform(/*is_host=*/true) {} in PlatformQemuUser()
|
| /llvm-project-15.0.7/lldb/unittests/Platform/ |
| H A D | PlatformTest.cpp | 82 Platform::SetHostPlatform(platform_sp); in SetHostPlatform() 83 ASSERT_EQ(Platform::GetHostPlatform(), platform_sp); in SetHostPlatform() 98 EXPECT_EQ(platform_sp, Platform::GetHostPlatform()); in TEST_F() 130 EXPECT_EQ(platform_sp, Platform::GetHostPlatform()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCAssembler.h | 105 MachO::PlatformType Platform; ///< Used when EmitBuildVersion==true. member 291 void setBuildVersion(MachO::PlatformType Platform, unsigned Major, 295 VersionInfo.TypeOrPlatform.Platform = Platform; 305 void setDarwinTargetVariantBuildVersion(MachO::PlatformType Platform, in setDarwinTargetVariantBuildVersion() argument 310 DarwinTargetVariantVersionInfo.TypeOrPlatform.Platform = Platform; in setDarwinTargetVariantBuildVersion()
|
| /llvm-project-15.0.7/lldb/unittests/Target/ |
| H A D | RemoteAwarePlatformTest.cpp | 52 class TargetPlatformTester : public Platform { 54 using Platform::Platform;
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | CommandOptionValidators.h | 16 class Platform; variable 20 bool IsValid(Platform &platform,
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Plugins/Platform/Linux/ |
| H A D | BUILD.gn | 12 "//lldb/source/Plugins/Platform/POSIX", 16 # Reaches into Plugins/Platform/POSIX.
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionGroupArchitecture.cpp | 26 bool OptionGroupArchitecture::GetArchitecture(Platform *platform, in GetArchitecture() 28 arch = Platform::GetAugmentedArchSpec(platform, m_arch_str); in GetArchitecture()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/Android/ |
| H A D | PlatformAndroidRemoteGDBServer.cpp | 32 Log *log = GetLog(LLDBLog::Platform); in ForwardPortWithAdb() 91 Log *log = GetLog(LLDBLog::Platform); in LaunchGDBServer() 139 Log *log = GetLog(LLDBLog::Platform); in ConnectRemote() 155 Log *log = GetLog(LLDBLog::Platform); in DeleteForwardPort()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/ |
| H A D | BUILD.gn | 22 "//lldb/source/Plugins/Platform/MacOSX", 29 # Reaches into Plugins/Platform/MacOSX.
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | RemoteAwarePlatform.h | 18 class RemoteAwarePlatform : public Platform { 20 using Platform::Platform;
|