Home
last modified time | relevance | path

Searched refs:triple (Results 1 – 25 of 153) sorted by relevance

1234567

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCppModuleConfiguration.cpp36 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 DCppModuleConfiguration.h63 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 DMinidumpParser.cpp156 llvm::Triple triple; in GetArchitecture() local
157 triple.setVendor(llvm::Triple::VendorType::UnknownVendor); in GetArchitecture()
161 triple.setArch(llvm::Triple::ArchType::x86); in GetArchitecture()
164 triple.setArch(llvm::Triple::ArchType::x86_64); in GetArchitecture()
167 triple.setArch(llvm::Triple::ArchType::arm); in GetArchitecture()
171 triple.setArch(llvm::Triple::ArchType::aarch64); in GetArchitecture()
174 triple.setArch(llvm::Triple::ArchType::UnknownArch); in GetArchitecture()
184 triple.setOS(llvm::Triple::OSType::Win32); in GetArchitecture()
185 triple.setVendor(llvm::Triple::VendorType::PC); in GetArchitecture()
188 triple.setOS(llvm::Triple::OSType::Linux); in GetArchitecture()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp199 ArchSpec HostInfoBase::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec() argument
200 if (triple.empty()) in GetAugmentedArchSpec()
202 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec()
204 return ArchSpec(triple); in GetAugmentedArchSpec()
206 if (auto kind = HostInfo::ParseArchitectureKind(triple)) in GetAugmentedArchSpec()
327 llvm::Triple triple(llvm::sys::getProcessTriple()); in ComputeHostArchitectureSupport() local
332 switch (triple.getArch()) { in ComputeHostArchitectureSupport()
334 arch_32.SetTriple(triple); in ComputeHostArchitectureSupport()
343 arch_64.SetTriple(triple); in ComputeHostArchitectureSupport()
344 arch_32.SetTriple(triple.get32BitArchVariant()); in ComputeHostArchitectureSupport()
[all …]
H A DProcessLaunchInfo.cpp248 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/clang/lib/Lex/
H A DInitHeaderSearch.cpp78 void AddDefaultCIncludePaths(const llvm::Triple &triple,
83 bool ShouldAddDefaultIncludePaths(const llvm::Triple &triple);
87 const llvm::Triple &triple,
173 void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple, in AddDefaultCIncludePaths() argument
175 if (!ShouldAddDefaultIncludePaths(triple)) in AddDefaultCIncludePaths()
212 const llvm::Triple &triple) { in ShouldAddDefaultIncludePaths() argument
213 switch (triple.getOS()) { in ShouldAddDefaultIncludePaths()
239 if (triple.isWasm() || triple.isAppleMachO()) in ShouldAddDefaultIncludePaths()
247 if (triple.isOSDarwin()) in ShouldAddDefaultIncludePaths()
254 const LangOptions &Lang, const llvm::Triple &triple, in AddDefaultIncludePaths() argument
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-tli-checker/
H A DOpts.td13 defm triple : Eq<"triple", "<triple>", "Target triple">;
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBModuleSpec.cpp115 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 DSBInstructionList.cpp197 bool SBInstructionList::DumpEmulationForAllInstructions(const char *triple) { in DumpEmulationForAllInstructions() argument
198 LLDB_INSTRUMENT_VA(this, triple); in DumpEmulationForAllInstructions()
203 if (!GetInstructionAtIndex((uint32_t)i).DumpEmulation(triple)) in DumpEmulationForAllInstructions()
H A DSBInstruction.cpp327 bool SBInstruction::DumpEmulation(const char *triple) { in DumpEmulation() argument
328 LLDB_INSTRUMENT_VA(this, triple); in DumpEmulation()
331 if (inst_sp && triple) { in DumpEmulation()
332 return inst_sp->DumpEmulation(HostInfo::GetAugmentedArchSpec(triple)); in DumpEmulation()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.cpp109 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/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp57 Create(const char *triple, const char *cpu, const char *features_str,
1252 DisassemblerLLVMC::MCDisasmInstance::Create(const char *triple, const char *cpu, in Create() argument
1260 llvm::TargetRegistry::lookupTarget(triple, Status); in Create()
1270 curr_target->createMCRegInfo(triple)); in Create()
1275 curr_target->createMCSubtargetInfo(triple, cpu, features_str)); in Create()
1281 curr_target->createMCAsmInfo(*reg_info_up, triple, MCOptions)); in Create()
1286 new llvm::MCContext(llvm::Triple(triple), asm_info_up.get(), in Create()
1297 curr_target->createMCRelocationInfo(triple, *context_up)); in Create()
1303 triple, nullptr, DisassemblerLLVMC::SymbolLookupCallback, &owner, in Create()
1311 curr_target->createMCInstPrinter(llvm::Triple{triple}, in Create()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DXcodeSDK.cpp303 XcodeSDK::Type XcodeSDK::GetSDKTypeForTriple(const llvm::Triple &triple) { in GetSDKTypeForTriple() argument
305 switch (triple.getOS()) { in GetSDKTypeForTriple()
310 switch (triple.getEnvironment()) { in GetSDKTypeForTriple()
319 if (triple.getEnvironment() == Triple::Simulator) in GetSDKTypeForTriple()
323 if (triple.getEnvironment() == Triple::Simulator) in GetSDKTypeForTriple()
327 if (triple.getEnvironment() == Triple::Simulator) in GetSDKTypeForTriple()
H A DArchSpec.cpp557 ArchSpec::ArchSpec(const llvm::Triple &triple) { SetTriple(triple); } in ArchSpec() argument
770 bool ArchSpec::SetTriple(const llvm::Triple &triple) { in SetTriple() argument
771 m_triple = triple; in SetTriple()
812 bool ArchSpec::SetTriple(llvm::StringRef triple) { in SetTriple() argument
813 if (triple.empty()) { in SetTriple()
818 if (ParseMachCPUDashSubtypeTriple(triple, *this)) in SetTriple()
821 SetTriple(llvm::Triple(llvm::Triple::normalize(triple))); in SetTriple()
1450 const llvm::Triple &triple = GetTriple(); in IsFullySpecifiedTriple() local
1451 if (triple.isOSDarwin() && triple.getOSMajorVersion() == unspecified) in IsFullySpecifiedTriple()
1484 const llvm::Triple &triple = GetTriple(); in DumpTriple() local
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.cpp37 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 DPlatformNetBSD.cpp51 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/Plugins/Platform/FreeBSD/
H A DPlatformFreeBSD.cpp56 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 Ddialog.py186 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/lldb/source/Plugins/Platform/AIX/
H A DPlatformAIX.h50 lldb::UnwindPlanSP GetTrapHandlerUnwindPlan(const llvm::Triple &triple,
58 CompilerType GetSiginfoType(const llvm::Triple &triple) override;
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueArch.h22 OptionValueArch(const char *triple) : m_current_value(triple) { in OptionValueArch() argument
/freebsd/contrib/llvm-project/libc/src/__support/threads/
H A Dfork_callbacks.cpp42 bool register_triple(const ForkCallbackTriple &triple) { in register_triple() argument
46 list[next_index] = triple; in register_triple()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DABI.cpp235 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()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.cpp544 ResolveRegister(const llvm::Triple &triple, in ResolveRegister() argument
547 if (triple.isX86() || triple.isMIPS()) { in ResolveRegister()
557 ResolveRegisterOrRA(const llvm::Triple &triple, in ResolveRegisterOrRA() argument
562 return ResolveRegister(triple, resolver, name); in ResolveRegisterOrRA()
581 llvm::Triple triple = m_objfile_sp->GetArchitecture().GetTriple(); in ParseCFIUnwindRow() local
598 ResolveRegister(triple, resolver, name)) { in ParseCFIUnwindRow()
614 ResolveRegisterOrRA(triple, resolver, lhs)) { in ParseCFIUnwindRow()
714 llvm::Triple triple = m_objfile_sp->GetArchitecture().GetTriple(); in ParseWinUnwindPlan() local
722 if (const RegisterInfo *info = ResolveRegister(triple, resolver, name)) in ParseWinUnwindPlan()
752 const RegisterInfo *info = ResolveRegister(triple, resolver, it->first); in ParseWinUnwindPlan()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp1251 std::string triple; in GetHostInfo() local
1269 extractor.GetHexByteString(triple); in GetHostInfo()
1351 if (triple.empty()) { in GetHostInfo()
1371 std::string triple; in GetHostInfo() local
1372 triple += arch_name; in GetHostInfo()
1374 triple += '-'; in GetHostInfo()
1376 triple += "unknown"; in GetHostInfo()
1378 triple += vendor_name; in GetHostInfo()
1379 triple += '-'; in GetHostInfo()
1381 triple += "unknown"; in GetHostInfo()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/OpenBSD/
H A DPlatformOpenBSD.cpp51 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local
52 switch (triple.getOS()) { in CreateInstance()

1234567