| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CppModuleConfiguration.cpp | 36 getTargetIncludePaths(const llvm::Triple &triple) { in getTargetIncludePaths() argument 38 if (!triple.str().empty()) { in getTargetIncludePaths() 39 paths.push_back("/usr/include/" + triple.str()); in getTargetIncludePaths() 40 if (!triple.getArchName().empty() || in getTargetIncludePaths() 41 triple.getOSAndEnvironmentName().empty()) in getTargetIncludePaths() 42 paths.push_back(("/usr/include/" + triple.getArchName() + "-" + in getTargetIncludePaths() 43 triple.getOSAndEnvironmentName()) in getTargetIncludePaths() 78 if (triple.str().empty()) in analyzeFile() 84 (posix_dir + triple.str() + "/c++/v1").str()); in analyzeFile() 89 for (auto &path : getTargetIncludePaths(triple)) { in analyzeFile() [all …]
|
| H A D | CppModuleConfiguration.h | 63 bool analyzeFile(const FileSpec &f, const llvm::Triple &triple); 69 const llvm::Triple &triple);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | InitHeaderSearch.cpp | 203 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCIncludePaths() 245 switch (triple.getEnvironment()) { in AddDefaultCIncludePaths() 268 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCPlusPlusIncludePaths() 271 switch (triple.getEnvironment()) { in AddDefaultCPlusPlusIncludePaths() 289 const llvm::Triple &triple) { in ShouldAddDefaultIncludePaths() argument 290 switch (triple.getOS()) { in ShouldAddDefaultIncludePaths() 314 triple.isOSBinFormatMachO()) in ShouldAddDefaultIncludePaths() 319 if (triple.isWasm()) in ShouldAddDefaultIncludePaths() 343 if (triple.isOSDarwin()) { in AddDefaultIncludePaths() 346 if (triple.isDriverKit()) { in AddDefaultIncludePaths() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
| H A D | MinidumpParser.cpp | 152 llvm::Triple triple; in GetArchitecture() local 157 triple.setArch(llvm::Triple::ArchType::x86); in GetArchitecture() 163 triple.setArch(llvm::Triple::ArchType::arm); in GetArchitecture() 180 triple.setOS(llvm::Triple::OSType::Win32); in GetArchitecture() 184 triple.setOS(llvm::Triple::OSType::Linux); in GetArchitecture() 187 triple.setOS(llvm::Triple::OSType::MacOSX); in GetArchitecture() 188 triple.setVendor(llvm::Triple::Apple); in GetArchitecture() 191 triple.setOS(llvm::Triple::OSType::IOS); in GetArchitecture() 192 triple.setVendor(llvm::Triple::Apple); in GetArchitecture() 195 triple.setOS(llvm::Triple::OSType::Linux); in GetArchitecture() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | HostInfoBase.cpp | 197 ArchSpec HostInfoBase::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec() argument 198 if (triple.empty()) in GetAugmentedArchSpec() 200 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() 202 return ArchSpec(triple); in GetAugmentedArchSpec() 204 if (auto kind = HostInfo::ParseArchitectureKind(triple)) in GetAugmentedArchSpec() 325 llvm::Triple triple(llvm::sys::getProcessTriple()); in ComputeHostArchitectureSupport() local 330 switch (triple.getArch()) { in ComputeHostArchitectureSupport() 332 arch_32.SetTriple(triple); in ComputeHostArchitectureSupport() 341 arch_64.SetTriple(triple); in ComputeHostArchitectureSupport() 342 arch_32.SetTriple(triple.get32BitArchVariant()); in ComputeHostArchitectureSupport() [all …]
|
| H A D | ProcessLaunchInfo.cpp | 248 const llvm::Triple &triple = GetArchitecture().GetTriple(); in ConvertArgumentsForLaunchingInShell() local 249 if (triple.getOS() == llvm::Triple::Win32 && in ConvertArgumentsForLaunchingInShell() 250 !triple.isWindowsCygwinEnvironment()) in ConvertArgumentsForLaunchingInShell() 287 if (triple.getOS() != llvm::Triple::Win32 || in ConvertArgumentsForLaunchingInShell() 288 triple.isWindowsCygwinEnvironment()) in ConvertArgumentsForLaunchingInShell()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-tli-checker/ |
| H A D | Opts.td | 13 defm triple : Eq<"triple", "<triple>", "Target triple">;
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/API/ |
| H A D | SBModuleSpec.cpp | 115 std::string triple(m_opaque_up->GetArchitecture().GetTriple().str()); in GetTriple() local 119 ConstString const_triple(triple.c_str()); in GetTriple() 123 void SBModuleSpec::SetTriple(const char *triple) { in SetTriple() argument 124 LLDB_INSTRUMENT_VA(this, triple); in SetTriple() 126 m_opaque_up->GetArchitecture().SetTriple(triple); in SetTriple()
|
| H A D | SBInstructionList.cpp | 179 bool SBInstructionList::DumpEmulationForAllInstructions(const char *triple) { in DumpEmulationForAllInstructions() argument 180 LLDB_INSTRUMENT_VA(this, triple); in DumpEmulationForAllInstructions() 185 if (!GetInstructionAtIndex((uint32_t)i).DumpEmulation(triple)) in DumpEmulationForAllInstructions()
|
| H A D | SBInstruction.cpp | 328 bool SBInstruction::DumpEmulation(const char *triple) { in DumpEmulation() argument 329 LLDB_INSTRUMENT_VA(this, triple); in DumpEmulation() 332 if (inst_sp && triple) { in DumpEmulation() 333 return inst_sp->DumpEmulation(HostInfo::GetAugmentedArchSpec(triple)); in DumpEmulation()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | XcodeSDK.cpp | 275 XcodeSDK::Type XcodeSDK::GetSDKTypeForTriple(const llvm::Triple &triple) { in GetSDKTypeForTriple() argument 277 switch (triple.getOS()) { in GetSDKTypeForTriple() 282 switch (triple.getEnvironment()) { in GetSDKTypeForTriple() 291 if (triple.getEnvironment() == Triple::Simulator) in GetSDKTypeForTriple() 295 if (triple.getEnvironment() == Triple::Simulator) in GetSDKTypeForTriple() 299 if (triple.getEnvironment() == Triple::Simulator) in GetSDKTypeForTriple()
|
| H A D | ArchSpec.cpp | 534 ArchSpec::ArchSpec(const llvm::Triple &triple) { SetTriple(triple); } in ArchSpec() argument 747 bool ArchSpec::SetTriple(const llvm::Triple &triple) { in SetTriple() argument 748 m_triple = triple; in SetTriple() 789 bool ArchSpec::SetTriple(llvm::StringRef triple) { in SetTriple() argument 790 if (triple.empty()) { in SetTriple() 795 if (ParseMachCPUDashSubtypeTriple(triple, *this)) in SetTriple() 1417 const llvm::Triple &triple = GetTriple(); in IsFullySpecifiedTriple() local 1418 if (triple.isOSDarwin() && triple.getOSMajorVersion() == unspecified) in IsFullySpecifiedTriple() 1469 const llvm::Triple &triple = GetTriple(); in DumpTriple() local 1470 llvm::StringRef arch_str = triple.getArchName(); in DumpTriple() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/ |
| H A D | PlatformQemuUser.cpp | 109 llvm::Triple triple = HostInfo::GetArchitecture().GetTriple(); in GetSupportedArchitectures() local 110 triple.setEnvironment(llvm::Triple::UnknownEnvironment); in GetSupportedArchitectures() 111 triple.setArchName(GetGlobalProperties().GetArchitecture()); in GetSupportedArchitectures() 112 if (triple.getArch() != llvm::Triple::UnknownArch) in GetSupportedArchitectures() 113 return {ArchSpec(triple)}; in GetSupportedArchitectures()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/ |
| H A D | DisassemblerLLVMC.cpp | 1262 curr_target->createMCRegInfo(triple)); in Create() 1453 llvm::Triple triple = arch.GetTriple(); in DisassemblerLLVMC() local 1457 if (triple.getArch() == llvm::Triple::x86 || in DisassemblerLLVMC() 1458 triple.getArch() == llvm::Triple::x86_64) { in DisassemblerLLVMC() 1467 if (triple.getArch() == llvm::Triple::arm) { in DisassemblerLLVMC() 1484 if (triple.getArch() == llvm::Triple::arm && in DisassemblerLLVMC() 1486 triple.setArchName("armv9.3a"); in DisassemblerLLVMC() 1556 if (triple.isAArch64()) { in DisassemblerLLVMC() 1563 if (triple.isRISCV()) { in DisassemblerLLVMC() 1706 llvm::Triple triple = arch.GetTriple(); in FlavorValidForArchSpec() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
| H A D | ObjectFileBreakpad.cpp | 37 llvm::Triple triple; in parse() local 38 triple.setArch(Module->Arch); in parse() 39 triple.setOS(Module->OS); in parse() 45 return Header{ArchSpec(triple), std::move(uuid)}; in parse()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/ |
| H A D | PlatformNetBSD.cpp | 51 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local 52 switch (triple.getOS()) { in CreateInstance() 208 CompilerType PlatformNetBSD::GetSiginfoType(const llvm::Triple &triple) { in GetSiginfoType() argument 212 m_type_system = std::make_shared<TypeSystemClang>("siginfo", triple); in GetSiginfoType() 268 if (triple.isArch64Bit()) in GetSiginfoType()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueArch.h | 22 OptionValueArch(const char *triple) : m_current_value(triple) { in OptionValueArch() argument
|
| /freebsd-14.2/contrib/dialog/samples/ |
| H A D | dialog.py | 186 choices = reduce(lambda res, triple: res + '%d "%s" %s ' % triple, 217 choices = reduce(lambda res, triple: res + '%d "%s" %s ' % triple,
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/ |
| H A D | PlatformFreeBSD.cpp | 56 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local 57 switch (triple.getOS()) { in CreateInstance() 189 CompilerType PlatformFreeBSD::GetSiginfoType(const llvm::Triple &triple) { in GetSiginfoType() argument 193 m_type_system = std::make_shared<TypeSystemClang>("siginfo", triple); in GetSiginfoType()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Target/ |
| H A D | ABI.cpp | 202 std::string triple = arch.GetTriple().getTriple(); in MakeMCRegisterInfo() local 205 llvm::TargetRegistry::lookupTarget(triple, lookup_error); in MakeMCRegisterInfo() 208 "Failed to create an llvm target for {0}: {1}", triple, in MakeMCRegisterInfo() 213 target->createMCRegInfo(triple)); in MakeMCRegisterInfo()
|
| H A D | Platform.cpp | 263 return platform->GetAugmentedArchSpec(triple); in GetAugmentedArchSpec() 264 return HostInfo::GetAugmentedArchSpec(triple); in GetAugmentedArchSpec() 918 if (triple.empty()) in GetAugmentedArchSpec() 922 return ArchSpec(triple); in GetAugmentedArchSpec() 924 if (auto kind = HostInfo::ParseArchitectureKind(triple)) in GetAugmentedArchSpec() 928 ArchSpec raw_arch(triple); in GetAugmentedArchSpec() 1153 llvm::Triple triple; in CreateArchList() local 1154 triple.setArch(arch); in CreateArchList() 1155 triple.setOS(os); in CreateArchList() 1156 list.push_back(ArchSpec(triple)); in CreateArchList() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 153 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime() local 155 if (triple.isiOS()) in HasARCRuntime() 156 return triple.getOSMajorVersion() >= 5; in HasARCRuntime() 158 if (triple.isWatchOS()) in HasARCRuntime() 161 if (triple.getOS() == llvm::Triple::Darwin) in HasARCRuntime() 162 return triple.getOSMajorVersion() >= 11; in HasARCRuntime() 164 if (triple.getOS() == llvm::Triple::MacOSX) { in HasARCRuntime() 165 return triple.getOSVersion() >= VersionTuple(10, 7); in HasARCRuntime()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationClient.cpp | 1215 std::string triple; in GetHostInfo() local 1315 if (triple.empty()) { in GetHostInfo() 1335 std::string triple; in GetHostInfo() local 1336 triple += arch_name; in GetHostInfo() 1338 triple += '-'; in GetHostInfo() 1343 triple += '-'; in GetHostInfo() 1347 triple += os_name; in GetHostInfo() 2017 std::string triple; in DecodeProcessInfoResponse() local 2121 std::string triple; in GetCurrentProcessInfo() local 2200 if (!triple.empty()) { in GetCurrentProcessInfo() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/ |
| H A D | SymbolFileBreakpad.cpp | 546 ResolveRegister(const llvm::Triple &triple, in ResolveRegister() argument 549 if (triple.isX86() || triple.isMIPS()) { in ResolveRegister() 559 ResolveRegisterOrRA(const llvm::Triple &triple, in ResolveRegisterOrRA() argument 564 return ResolveRegister(triple, resolver, name); in ResolveRegisterOrRA() 583 llvm::Triple triple = m_objfile_sp->GetArchitecture().GetTriple(); in ParseCFIUnwindRow() local 600 ResolveRegister(triple, resolver, name)) { in ParseCFIUnwindRow() 616 ResolveRegisterOrRA(triple, resolver, lhs)) { in ParseCFIUnwindRow() 719 llvm::Triple triple = m_objfile_sp->GetArchitecture().GetTriple(); in ParseWinUnwindPlan() local 727 if (const RegisterInfo *info = ResolveRegister(triple, resolver, name)) in ParseWinUnwindPlan() 757 const RegisterInfo *info = ResolveRegister(triple, resolver, it->first); in ParseWinUnwindPlan()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/OpenBSD/ |
| H A D | PlatformOpenBSD.cpp | 51 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local 52 switch (triple.getOS()) { in CreateInstance()
|