/freebsd/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() 63 const llvm::Triple &triple) { in analyzeFile() argument 78 if (triple.str().empty()) in analyzeFile() 84 (posix_dir + triple.str() + "/c++/v1").str()); in analyzeFile() [all …]
|
H A D | CppModuleConfiguration.h | 63 bool analyzeFile(const FileSpec &f, const llvm::Triple &triple); 69 const llvm::Triple &triple);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | MinidumpParser.cpp | 152 llvm::Triple triple; in GetArchitecture() local 153 triple.setVendor(llvm::Triple::VendorType::UnknownVendor); in GetArchitecture() 157 triple.setArch(llvm::Triple::ArchType::x86); in GetArchitecture() 160 triple.setArch(llvm::Triple::ArchType::x86_64); in GetArchitecture() 163 triple.setArch(llvm::Triple::ArchType::arm); in GetArchitecture() 167 triple.setArch(llvm::Triple::ArchType::aarch64); in GetArchitecture() 170 triple.setArch(llvm::Triple::ArchType::UnknownArch); in GetArchitecture() 180 triple.setOS(llvm::Triple::OSType::Win32); in GetArchitecture() 181 triple.setVendor(llvm::Triple::VendorType::PC); in GetArchitecture() 184 triple.setOS(llvm::Triple::OSType::Linux); in GetArchitecture() [all …]
|
/freebsd/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/contrib/llvm-project/llvm/tools/llvm-tli-checker/ |
H A D | Opts.td | 13 defm triple : Eq<"triple", "<triple>", "Target triple">;
|
/freebsd/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/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/ |
H A D | DisassemblerLLVMC.cpp | 56 Create(const char *triple, const char *cpu, const char *features_str, 1244 DisassemblerLLVMC::MCDisasmInstance::Create(const char *triple, const char *cpu, in Create() 1252 llvm::TargetRegistry::lookupTarget(triple, Status); in Create() 1262 curr_target->createMCRegInfo(triple)); in Create() 1267 curr_target->createMCSubtargetInfo(triple, cpu, features_str)); in Create() 1273 curr_target->createMCAsmInfo(*reg_info_up, triple, MCOptions)); in Create() 1278 new llvm::MCContext(llvm::Triple(triple), asm_info_up.get(), in Create() 1289 curr_target->createMCRelocationInfo(triple, *context_up)); in Create() 1295 triple, nullptr, DisassemblerLLVMC::SymbolLookupCallback, &owner, in Create() 1303 curr_target->createMCInstPrinter(llvm::Triple{triple}, in MCDisasmInstance() 1225 Create(const char * triple,const char * cpu,const char * features_str,unsigned flavor,DisassemblerLLVMC & owner) Create() argument 1412 llvm::Triple triple = arch.GetTriple(); DisassemblerLLVMC() local 1663 llvm::Triple triple = arch.GetTriple(); FlavorValidForArchSpec() local [all...] |
/freebsd/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/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/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/contrib/llvm-project/lldb/source/Utility/ |
H A D | XcodeSDK.cpp | 275 XcodeSDK::Type XcodeSDK::GetSDKTypeForTriple(const llvm::Triple &triple) { in GetSDKTypeForTriple() 277 switch (triple.getOS()) { in GetSDKTypeForTriple() 282 switch (triple.getEnvironment()) { in GetSDKTypeForTriple() 291 if (triple.getEnvironment() == Triple::Simulator) in FindXcodeContentsDirectoryInPath() 295 if (triple.getEnvironment() == Triple::Simulator) in FindXcodeContentsDirectoryInPath() 299 if (triple.getEnvironment() == Triple::Simulator) in FindXcodeContentsDirectoryInPath() 256 GetSDKTypeForTriple(const llvm::Triple & triple) GetSDKTypeForTriple() argument
|
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() 798 SetTriple(llvm::Triple(llvm::Triple::normalize(triple))); in SetTriple() 1417 const llvm::Triple &triple = GetTriple(); in IsFullySpecifiedTriple() local 1418 if (triple.isOSDarwin() && triple.getOSMajorVersion() == unspecified) in IsFullySpecifiedTriple() 1452 const llvm::Triple &triple = GetTriple(); in DumpTriple() local [all …]
|
/freebsd/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/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/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/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/contrib/llvm-project/lldb/source/Target/ |
H A D | ABI.cpp | 235 std::string triple = arch.GetTriple().getTriple(); in MakeMCRegisterInfo() local 238 llvm::TargetRegistry::lookupTarget(triple, lookup_error); in MakeMCRegisterInfo() 241 "Failed to create an llvm target for {0}: {1}", triple, in MakeMCRegisterInfo() 246 target->createMCRegInfo(triple)); in MakeMCRegisterInfo()
|
H A D | Platform.cpp | 227 ArchSpec Platform::GetAugmentedArchSpec(Platform *platform, llvm::StringRef triple) { in GetAugmentedArchSpec() argument 229 return platform->GetAugmentedArchSpec(triple); in GetAugmentedArchSpec() 230 return HostInfo::GetAugmentedArchSpec(triple); in GetAugmentedArchSpec() 847 ArchSpec Platform::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec() argument 848 if (triple.empty()) in GetAugmentedArchSpec() 850 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() 852 return ArchSpec(triple); in GetAugmentedArchSpec() 854 if (auto kind = HostInfo::ParseArchitectureKind(triple)) in GetAugmentedArchSpec() 858 ArchSpec raw_arch(triple); in GetAugmentedArchSpec() 1083 llvm::Triple triple; in CreateArchList() local [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationClient.cpp | 1228 std::string triple; in GetHostInfo() local 1246 extractor.GetHexByteString(triple); in GetHostInfo() 1328 if (triple.empty()) { in GetHostInfo() 1348 std::string triple; in GetHostInfo() local 1349 triple += arch_name; in GetHostInfo() 1351 triple += '-'; in GetHostInfo() 1353 triple += "unknown"; in GetHostInfo() 1355 triple += vendor_name; in GetHostInfo() 1356 triple += '-'; in GetHostInfo() 1358 triple += "unknown"; in GetHostInfo() [all …]
|
/freebsd/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/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()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JSON/ |
H A D | ObjectFileJSON.cpp | 80 ArchSpec arch(header.triple); in CreateInstance() 138 ArchSpec arch(header.triple); in GetModuleSpecifications() 208 return o && o.map("triple", header.triple) && o.map("uuid", header.uuid) && in fromJSON()
|