Home
last modified time | relevance | path

Searched refs:OSType (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DStringSwitchTest.cpp159 return llvm::StringSwitch<OSType>(S) in TEST()
161 OSType::Windows) in TEST()
163 .Default(OSType::Unknown); in TEST()
171 EXPECT_EQ(OSType::Linux, Translate("unix")); in TEST()
172 EXPECT_EQ(OSType::Linux, Translate("*nix")); in TEST()
179 EXPECT_EQ(OSType::Unknown, Translate("")); in TEST()
186 return llvm::StringSwitch<OSType>(S) in TEST()
188 OSType::Windows) in TEST()
190 .Default(OSType::Unknown); in TEST()
198 EXPECT_EQ(OSType::Linux, Translate("UNIX")); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRAsmBackend.h31 AVRAsmBackend(Triple::OSType OSType) in AVRAsmBackend() argument
32 : MCAsmBackend(support::little), OSType(OSType) {} in AVRAsmBackend()
65 Triple::OSType OSType;
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTarget.cpp268 case llvm::Triple::OSType::Linux: in get()
269 case llvm::Triple::OSType::Darwin: in get()
270 case llvm::Triple::OSType::MacOSX: in get()
272 case llvm::Triple::OSType::Win32: in get()
281 case llvm::Triple::OSType::Linux: in get()
282 case llvm::Triple::OSType::Darwin: in get()
283 case llvm::Triple::OSType::MacOSX: in get()
285 case llvm::Triple::OSType::Win32: in get()
294 case llvm::Triple::OSType::Linux: in get()
297 case llvm::Triple::OSType::Win32: in get()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/VE/MCTargetDesc/
H A DVEAsmBackend.cpp184 Triple::OSType OSType; member in __anone922e8690111::ELFVEAsmBackend
187 ELFVEAsmBackend(const Target &T, Triple::OSType OSType) in ELFVEAsmBackend() argument
188 : VEAsmBackend(T), OSType(OSType) {} in ELFVEAsmBackend()
217 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(OSType); in createObjectTargetWriter()
/llvm-project-15.0.7/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiAsmBackend.cpp45 Triple::OSType OSType; member in __anonf873499d0111::LanaiAsmBackend
48 LanaiAsmBackend(const Target &T, Triple::OSType OST) in LanaiAsmBackend()
49 : MCAsmBackend(support::big), OSType(OST) {} in LanaiAsmBackend()
127 return createLanaiELFObjectWriter(MCELFObjectTargetWriter::getOSABI(OSType)); in createObjectTargetWriter()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcAsmBackend.cpp336 Triple::OSType OSType; member in __anon84648f450111::ELFSparcAsmBackend
338 ELFSparcAsmBackend(const Target &T, Triple::OSType OSType) : in ELFSparcAsmBackend() argument
339 SparcAsmBackend(T), OSType(OSType) { } in ELFSparcAsmBackend()
364 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(OSType); in createObjectTargetWriter()
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DArchSpecTest.cpp147 EXPECT_EQ(llvm::Triple::OSType::Linux, B.GetTriple().getOS()); in TEST()
154 EXPECT_EQ(llvm::Triple::OSType::Linux, A.GetTriple().getOS()); in TEST()
172 EXPECT_EQ(llvm::Triple::OSType::Linux, B.GetTriple().getOS()); in TEST()
180 EXPECT_EQ(llvm::Triple::OSType::Linux, A.GetTriple().getOS()); in TEST()
187 EXPECT_EQ(llvm::Triple::OSType::WatchOS, D.GetTriple().getOS()); in TEST()
193 EXPECT_EQ(llvm::Triple::OSType::WatchOS, C.GetTriple().getOS()); in TEST()
208 EXPECT_EQ(llvm::Triple::OSType::Linux, B.GetTriple().getOS()); in TEST()
216 EXPECT_EQ(llvm::Triple::OSType::Linux, A.GetTriple().getOS()); in TEST()
238 EXPECT_EQ(llvm::Triple::OSType::Linux, A.GetTriple().getOS()); in TEST()
239 EXPECT_EQ(llvm::Triple::OSType::Linux, B.GetTriple().getOS()); in TEST()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformAppleSimulator.h50 llvm::Triple::OSType preferred_os,
59 llvm::Triple::OSType preferred_os,
60 llvm::SmallVector<llvm::Triple::OSType, 4> supported_os,
120 llvm::Triple::OSType m_os_type = llvm::Triple::UnknownOS;
H A DPlatformDarwin.h90 llvm::Optional<llvm::Triple::OSType> os = {});
191 static llvm::Triple::OSType GetHostOSType();
/llvm-project-15.0.7/lldb/source/Target/
H A DAssertFrameRecognizer.cpp37 bool GetAbortLocation(llvm::Triple::OSType os, SymbolLocation &location) { in GetAbortLocation()
70 bool GetAssertLocation(llvm::Triple::OSType os, SymbolLocation &location) { in GetAssertLocation()
93 llvm::Triple::OSType os = target.GetArchitecture().GetTriple().getOS(); in RegisterAssertFrameRecognizer()
136 llvm::Triple::OSType os = target.GetArchitecture().GetTriple().getOS(); in RecognizeFrame()
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/ostypeformatting/
H A Dmain.mm8 OSType a = 'test';
9 OSType b = 'best';
/llvm-project-15.0.7/lldb/source/Plugins/ABI/X86/
H A DABISysV_x86_64.cpp73 const llvm::Triple::OSType os_type = arch.GetTriple().getOS(); in CreateInstance()
78 case llvm::Triple::OSType::IOS: in CreateInstance()
79 case llvm::Triple::OSType::TvOS: in CreateInstance()
80 case llvm::Triple::OSType::WatchOS: in CreateInstance()
92 case llvm::Triple::OSType::Darwin: in CreateInstance()
93 case llvm::Triple::OSType::FreeBSD: in CreateInstance()
94 case llvm::Triple::OSType::Linux: in CreateInstance()
95 case llvm::Triple::OSType::MacOSX: in CreateInstance()
96 case llvm::Triple::OSType::NetBSD: in CreateInstance()
97 case llvm::Triple::OSType::Solaris: in CreateInstance()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCELFObjectWriter.h72 static uint8_t getOSABI(Triple::OSType OSType) { in getOSABI() argument
73 switch (OSType) { in getOSABI()
/llvm-project-15.0.7/lldb/unittests/Platform/
H A DPlatformAppleSimulatorTest.cpp54 const llvm::Triple::OSType sim_platforms[] = { in TEST_F()
75 const llvm::Triple::OSType sim_platforms[] = { in TEST_F()
/llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp179 triple.setOS(llvm::Triple::OSType::Win32); in GetArchitecture()
183 triple.setOS(llvm::Triple::OSType::Linux); in GetArchitecture()
186 triple.setOS(llvm::Triple::OSType::MacOSX); in GetArchitecture()
190 triple.setOS(llvm::Triple::OSType::IOS); in GetArchitecture()
194 triple.setOS(llvm::Triple::OSType::Linux); in GetArchitecture()
198 triple.setOS(llvm::Triple::OSType::UnknownOS); in GetArchitecture()
205 triple.setOS(llvm::Triple::OSType::Linux); in GetArchitecture()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DTriple.h181 enum OSType { enum
295 OSType OS{};
354 OSType getOS() const { return OS; } in getOS()
944 void setOS(OSType Kind);
1048 static StringRef getOSTypeName(OSType Kind);
1063 static VersionTuple getCanonicalVersionForOS(OSType OSKind,
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderDarwin.h118 llvm::Triple::OSType os_type = llvm::Triple::OSType::UnknownOS;
138 os_type = llvm::Triple::OSType::UnknownOS; in Clear()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp502 ostype = llvm::Triple::OSType::AIX; in GetOsFromOSABI()
505 ostype = llvm::Triple::OSType::FreeBSD; in GetOsFromOSABI()
508 ostype = llvm::Triple::OSType::Linux; in GetOsFromOSABI()
511 ostype = llvm::Triple::OSType::NetBSD; in GetOsFromOSABI()
514 ostype = llvm::Triple::OSType::OpenBSD; in GetOsFromOSABI()
517 ostype = llvm::Triple::OSType::Solaris; in GetOsFromOSABI()
520 ostype = llvm::Triple::OSType::UnknownOS; in GetOsFromOSABI()
547 llvm::Triple::OSType ostype; in GetModuleSpecifications()
549 llvm::Triple::OSType spec_ostype = in GetModuleSpecifications()
1343 llvm::Triple::OSType ostype; in GetSectionHeaderInfo()
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDarwinSDKInfo.h36 constexpr OSEnvPair(llvm::Triple::OSType FromOS, in OSEnvPair()
38 llvm::Triple::OSType ToOS, in OSEnvPair()
H A DAlignedAllocation.h24 inline llvm::VersionTuple alignedAllocMinVersion(llvm::Triple::OSType OS) { in alignedAllocMinVersion()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.cpp57 llvm::Triple::OSType stringTo<llvm::Triple::OSType>(llvm::StringRef Str) { in stringTo()
59 return llvm::StringSwitch<Triple::OSType>(Str) in stringTo()
96 static UUID parseModuleId(llvm::Triple::OSType os, llvm::StringRef str) { in parseModuleId()
177 llvm::Triple::OSType OS = consume<llvm::Triple::OSType>(Line); in parse()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DCommandOptionValidators.cpp19 llvm::Triple::OSType os = in IsValid()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DHLSL.cpp27 if (T.getOS() != Triple::OSType::ShaderModel) in isLegalShaderModel()
102 T.setOSName(Triple::getOSTypeName(Triple::OSType::ShaderModel).str() + in tryParseProfile()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITTestAPICommon.h100 SmallVector<Triple::OSType, 4> UnsupportedOSs;
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp468 Triple::OSType ExpectedOS);
1093 SMLoc Loc, Triple::OSType ExpectedOS) { in checkVersion()
1107 static Triple::OSType getOSTypeFromMCVM(MCVersionMinType Type) { in getOSTypeFromMCVM()
1137 Triple::OSType ExpectedOS = getOSTypeFromMCVM(Type); in parseVersionMin()
1143 static Triple::OSType getOSTypeFromPlatform(MachO::PlatformType Type) { in getOSTypeFromPlatform()
1198 Triple::OSType ExpectedOS in parseBuildVersion()

123