| /openbsd/src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| 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 …]
|
| /openbsd/src/gnu/llvm/clang/lib/Lex/ |
| D | InitHeaderSearch.cpp | 84 const llvm::Triple &triple); 92 void AddDefaultCIncludePaths(const llvm::Triple &triple, 97 const llvm::Triple &triple, 102 bool ShouldAddDefaultIncludePaths(const llvm::Triple &triple); 106 const llvm::Triple &triple, 197 const llvm::Triple &triple) { in AddGnuCPlusPlusIncludePaths() argument 202 llvm::Triple::ArchType arch = triple.getArch(); in AddGnuCPlusPlusIncludePaths() 225 void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple, in AddDefaultCIncludePaths() argument 227 if (!ShouldAddDefaultIncludePaths(triple)) in AddDefaultCIncludePaths() 230 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCIncludePaths() [all …]
|
| /openbsd/src/gnu/llvm/libcxx/lib/abi/ |
| D | CMakeLists.txt | 10 function(cxx_abi_list_identifier result triple abi_library abi_version unstable exceptions new_dele… 13 if ("${triple}" MATCHES "darwin") 15 string(REGEX REPLACE "darwin[0-9]+\\.[0-9]+\\.[0-9]+" "darwin" triple "${triple}") 16 elseif("${triple}" MATCHES "freebsd") 18 string(REGEX REPLACE "freebsd[0-9]+\\.[0-9]+" "freebsd" triple "${triple}") 20 list(APPEND abi_properties "${triple}") 44 set(triple "${CMAKE_CXX_COMPILER_TARGET}") variable 46 set(triple "${LLVM_DEFAULT_TARGET_TRIPLE}") variable 49 "${triple}"
|
| /openbsd/src/gnu/llvm/lldb/source/Host/windows/ |
| D | Host.cpp | 34 llvm::Triple &triple) { in GetTripleForProcess() argument 54 triple.setVendor(llvm::Triple::PC); in GetTripleForProcess() 55 triple.setOS(llvm::Triple::Win32); in GetTripleForProcess() 56 triple.setArch(llvm::Triple::UnknownArch); in GetTripleForProcess() 58 triple.setArch(llvm::Triple::x86_64); in GetTripleForProcess() 60 triple.setArch(llvm::Triple::x86); in GetTripleForProcess() 62 triple.setArch(llvm::Triple::arm); in GetTripleForProcess() 64 triple.setArch(llvm::Triple::aarch64); in GetTripleForProcess() 87 llvm::Triple triple; in GetProcessExecutableAndTriple() local 88 triple.setVendor(llvm::Triple::PC); in GetProcessExecutableAndTriple() [all …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-c-test/ |
| D | disassemble.c | 37 static void do_disassemble(const char *triple, const char *features, in do_disassemble() argument 39 LLVMDisasmContextRef D = LLVMCreateDisasmCPUFeatures(triple, "", features, in do_disassemble() 45 printf("ERROR: Couldn't create disassembler for triple %s\n", triple); in do_disassemble() 68 const char *triple = tokens[0]; in handle_line() local 72 printf("triple: %s, features: %s\n", triple, features); in handle_line() 83 do_disassemble(triple, features, disbuf, disbuflen); in handle_line()
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Process/minidump/ |
| 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 …]
|
| /openbsd/src/gnu/llvm/lldb/source/Host/common/ |
| 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() 329 llvm::Triple triple(llvm::sys::getProcessTriple()); in ComputeHostArchitectureSupport() local 334 switch (triple.getArch()) { in ComputeHostArchitectureSupport() 336 arch_32.SetTriple(triple); in ComputeHostArchitectureSupport() 345 arch_64.SetTriple(triple); in ComputeHostArchitectureSupport() 346 arch_32.SetTriple(triple.get32BitArchVariant()); in ComputeHostArchitectureSupport() [all …]
|
| /openbsd/src/gnu/llvm/llvm/bindings/python/llvm/tests/ |
| D | test_disassembler.py | 13 triple = 'i686-apple-darwin9' 15 disassembler = Disassembler(triple) 38 triple = 'arm-linux-android' 40 disassembler = Disassembler(triple)
|
| /openbsd/src/gnu/llvm/lldb/examples/python/ |
| D | diagnose_unwind.py | 69 if initial_fp == lldb.LLDB_INVALID_ADDRESS and target.triple[0:3] == "arm": 103 if target.triple[ 104 0:6] == "x86_64" or target.triple[ 105 0:4] == "i386" or target.triple[ 116 if target.triple[0:3] == "arm" and (next_pc & 1) == 1: 250 if target.triple[ 251 0:6] == "x86_64" or target.triple[ 268 if target.triple[ 269 0:6] == "x86_64" or target.triple[
|
| D | operating_system.py | 80 triple = self.process.target.triple 81 if triple: 82 arch = triple.split('-')[0]
|
| /openbsd/src/regress/usr.bin/mandoc/roff/args/ |
| D | roff.out_ascii | 13 triple inter-argument space: (one) (two) 16 triple eol blank: (one) (two) 24 triple inter-argument space: (one one) (two two) 28 triple eol blank: (one one) (two two)
|
| /openbsd/src/gnu/llvm/lldb/source/API/ |
| D | SBModuleSpec.cpp | 110 std::string triple(m_opaque_up->GetArchitecture().GetTriple().str()); in GetTriple() local 114 ConstString const_triple(triple.c_str()); in GetTriple() 118 void SBModuleSpec::SetTriple(const char *triple) { in SetTriple() argument 119 LLDB_INSTRUMENT_VA(this, triple); in SetTriple() 121 m_opaque_up->GetArchitecture().SetTriple(triple); in SetTriple()
|
| /openbsd/src/gnu/llvm/clang/ |
| D | NOTES.txt | 41 // Specifying targets: -triple and -arch 44 The clang supports "-triple" and "-arch" options. At most one -triple and one 49 (1) If the user does not specify -triple, we default to the host triple. 51 specified triple.
|
| /openbsd/src/gnu/llvm/llvm/utils/ |
| D | update_mir_test_checks.py | 84 def __init__(self, prefixes, cmd_args, triple): argument 87 self.triple = triple 90 return [self.prefixes, self.cmd_args, self.triple][index] 127 triple = None 130 triple = m.group(1) 133 if m and not triple: 134 triple = '{}--'.format(m.group(1)) 147 run_list.append(Run(check_prefixes, cmd_args, triple)) 187 def build_function_info_dictionary(test, raw_tool_output, triple, prefixes, argument
|
| /openbsd/src/gnu/llvm/llvm/docs/CommandGuide/ |
| D | llvm-tli-checker.rst | 27 $ llvm-tli-checker --triple x86_64-scei-ps4 example.so 46 TargetLibraryInfo's information for the specified triple, and exit. This 72 .. option:: --triple=<triple> 74 The triple to use for initializing TargetLibraryInfo.
|
| /openbsd/src/gnu/llvm/clang/docs/ |
| D | ClangLinkerWrapper.rst | 33 --bitcode-library=<kind>-<triple>-<arch>=<path> 37 --device-linker=<value> or <triple>=<value> 43 --host-triple=<triple> Triple to use for the host compilation 74 clang-linker-wrapper --host-triple=x86_64 --linker-path=/usr/bin/ld -- <Args>
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/ |
| D | PlatformRemoteAppleBridge.cpp | 80 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local 81 llvm::Triple::VendorType vendor = triple.getVendor(); in CreateInstance() 105 switch (triple.getOS()) { in CreateInstance()
|
| D | PlatformRemoteAppleTV.cpp | 83 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local 84 llvm::Triple::VendorType vendor = triple.getVendor(); in CreateInstance() 103 switch (triple.getOS()) { in CreateInstance()
|
| D | PlatformRemoteMacOSX.cpp | 79 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local 80 switch (triple.getVendor()) { in CreateInstance() 97 switch (triple.getOS()) { in CreateInstance()
|
| D | PlatformRemoteiOS.cpp | 77 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local 78 llvm::Triple::VendorType vendor = triple.getVendor(); in CreateInstance() 97 switch (triple.getOS()) { in CreateInstance()
|
| /openbsd/src/gnu/llvm/llvm/utils/lit/lit/llvm/ |
| D | config.py | 288 def get_clang_has_lsan(self, clang, triple): argument 304 if re.match(r'.*-linux', triple): 307 if re.match(r'^x86_64.*-apple', triple): 321 def make_itanium_abi_triple(self, triple): argument 322 m = re.match(r'(\w+)-(\w+)-(\w+)', triple) 325 "Could not turn '%s' into Itanium ABI triple" % triple) 328 return triple 331 def make_msabi_triple(self, triple): argument 332 m = re.match(r'(\w+)-(\w+)-(\w+)', triple) 335 "Could not turn '%s' into MS ABI triple" % triple) [all …]
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Platform/Linux/ |
| D | PlatformLinux.cpp | 53 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local 54 switch (triple.getOS()) { in CreateInstance() 290 PlatformLinux::GetTrapHandlerUnwindPlan(const llvm::Triple &triple, in GetTrapHandlerUnwindPlan() argument 292 if (triple.isAArch64()) in GetTrapHandlerUnwindPlan() 314 CompilerType PlatformLinux::GetSiginfoType(const llvm::Triple &triple) { in GetSiginfoType() argument 318 m_type_system = std::make_shared<TypeSystemClang>("siginfo", triple); in GetSiginfoType() 324 switch (triple.getArch()) { in GetSiginfoType() 395 if (triple.isArch64Bit()) in GetSiginfoType()
|
| /openbsd/src/gnu/llvm/libcxx/utils/libcxx/test/ |
| D | params.py | 74 actions=lambda triple: filter(None, [ 75 AddFeature('target={}'.format(triple)), 76 AddFlagIfSupported('--target={}'.format(triple)), 77 AddSubstitution('%{triple}', triple)
|
| /openbsd/src/gnu/llvm/compiler-rt/cmake/Modules/ |
| D | CompilerRTMockLLVMCMakeConfig.cmake | 43 # Try asking the compiler for its default target triple. 47 # Note: Clang also supports `-print-target-triple` but gcc doesn't 56 "Fetching target triple from compiler \"${CMAKE_C_COMPILER_ID}\" " 62 message(FATAL_ERROR "Fetching target triple from compiler failed")
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Disassembler/LLVMC/ |
| D | DisassemblerLLVMC.cpp | 55 Create(const char *triple, const char *cpu, const char *features_str, 1225 DisassemblerLLVMC::MCDisasmInstance::Create(const char *triple, const char *cpu, in Create() argument 1233 llvm::TargetRegistry::lookupTarget(triple, Status); in Create() 1243 curr_target->createMCRegInfo(triple)); in Create() 1248 curr_target->createMCSubtargetInfo(triple, cpu, features_str)); in Create() 1254 curr_target->createMCAsmInfo(*reg_info_up, triple, MCOptions)); in Create() 1259 new llvm::MCContext(llvm::Triple(triple), asm_info_up.get(), in Create() 1270 curr_target->createMCRelocationInfo(triple, *context_up)); in Create() 1276 triple, nullptr, DisassemblerLLVMC::SymbolLookupCallback, &owner, in Create() 1284 curr_target->createMCInstPrinter(llvm::Triple{triple}, in Create() [all …]
|