Home
last modified time | relevance | path

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

12345678910

/openbsd/gnu/llvm/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 …]
/openbsd/gnu/llvm/clang/lib/Lex/
H A DInitHeaderSearch.cpp230 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCIncludePaths()
323 switch (triple.getEnvironment()) { in AddDefaultCIncludePaths()
380 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCPlusPlusIncludePaths()
383 switch (triple.getEnvironment()) { in AddDefaultCPlusPlusIncludePaths()
408 const llvm::Triple &triple) { in ShouldAddDefaultIncludePaths() argument
409 switch (triple.getOS()) { in ShouldAddDefaultIncludePaths()
424 triple.isOSBinFormatMachO()) in ShouldAddDefaultIncludePaths()
429 if (triple.isWasm()) in ShouldAddDefaultIncludePaths()
453 if (triple.isOSDarwin()) { in AddDefaultIncludePaths()
456 if (triple.isDriverKit()) { in AddDefaultIncludePaths()
[all …]
/openbsd/gnu/llvm/libcxx/lib/abi/
H A DCMakeLists.txt10 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/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-define/examples/
H A Dparam-subst.txt14 ; REDEFINE: %{cflags} = -triple x86_64-apple-darwin10.6.0 -fopenmp-simd
17 ; CHECK: %clang_cc1 -verify -fopenmp -fopenmp-version=51 -triple x86_64-apple-darwin10.6.0 -fopenmp…
19 ; REDEFINE: %{cflags} = -triple x86_64-unknown-linux-gnu -fopenmp-simd
22 ; CHECK: %clang_cc1 -verify -fopenmp -fopenmp-version=51 -triple x86_64-unknown-linux-gnu -fopenmp-…
24 ; REDEFINE: %{cflags} = -triple x86_64-apple-darwin10.6.0
27 ; CHECK: %clang_cc1 -verify -fopenmp -fopenmp-version=51 -triple x86_64-apple-darwin10.6.0 -emit-ll…
29 ; REDEFINE: %{cflags} = -triple x86_64-unknown-linux-gnu
32 ; CHECK: %clang_cc1 -verify -fopenmp -fopenmp-version=51 -triple x86_64-unknown-linux-gnu -emit-llv…
/openbsd/gnu/llvm/lldb/source/Host/windows/
H A DHost.cpp54 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()
89 triple.setOS(llvm::Triple::Win32); in GetProcessExecutableAndTriple()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-c-test/
H A Ddisassemble.c37 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/gnu/llvm/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp152 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 …]
/openbsd/gnu/llvm/lldb/source/Host/common/
H A DHostInfoBase.cpp197 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/gnu/llvm/llvm/bindings/python/llvm/tests/
H A Dtest_disassembler.py13 triple = 'i686-apple-darwin9'
15 disassembler = Disassembler(triple)
38 triple = 'arm-linux-android'
40 disassembler = Disassembler(triple)
/openbsd/gnu/llvm/lldb/examples/python/
H A Doperating_system.py80 triple = self.process.target.triple
81 if triple:
82 arch = triple.split('-')[0]
H A Ddiagnose_unwind.py69 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[
/openbsd/gnu/llvm/llvm/tools/llvm-tli-checker/
H A DOpts.td13 defm triple : Eq<"triple", "<triple>", "Target triple">;
/openbsd/regress/usr.bin/mandoc/roff/args/
H A Droff.out_ascii13 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/gnu/llvm/lldb/source/API/
H A DSBModuleSpec.cpp110 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/gnu/llvm/clang/
H A DNOTES.txt41 // 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/gnu/llvm/llvm/utils/
H A Dupdate_mir_test_checks.py84 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/gnu/llvm/lldb/examples/python/scripted_process/
H A Dscripted_process.py39 triple = self.target.triple
40 if triple:
41 self.arch = triple.split('-')[0]
/openbsd/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DLinkerWrapperOpts.td19 def host_triple_EQ : Joined<["--"], "host-triple=">,
20 Flags<[WrapperOnlyOption]>, MetaVarName<"<triple>">,
26 Flags<[WrapperOnlyOption]>, MetaVarName<"<kind>-<triple>-<arch>=<path>">,
29 Flags<[WrapperOnlyOption]>, MetaVarName<"<value> or <triple>=<value>">,
70 def triple_EQ : Joined<["--"], "triple=">,
71 Flags<[DeviceOnlyOption, HelpHidden]>, MetaVarName<"<triple>">,
72 HelpText<"The device target triple">;
/openbsd/gnu/llvm/llvm/docs/CommandGuide/
H A Dllvm-tli-checker.rst27 $ 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/gnu/llvm/clang/docs/
H A DClangLinkerWrapper.rst33 --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/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformRemoteAppleBridge.cpp80 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() local
81 llvm::Triple::VendorType vendor = triple.getVendor(); in CreateInstance()
105 switch (triple.getOS()) { in CreateInstance()
/openbsd/gnu/llvm/llvm/utils/lit/lit/llvm/
H A Dconfig.py288 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)
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)
339 if os == 'windows' and re.match(r'.*-msvc$', triple):
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/Linux/
H A DPlatformLinux.cpp53 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/gnu/llvm/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.cpp114 llvm::Triple triple = HostInfo::GetArchitecture().GetTriple(); in GetSupportedArchitectures() local
115 triple.setEnvironment(llvm::Triple::UnknownEnvironment); in GetSupportedArchitectures()
116 triple.setArchName(GetGlobalProperties().GetArchitecture()); in GetSupportedArchitectures()
117 if (triple.getArch() != llvm::Triple::UnknownArch) in GetSupportedArchitectures()
118 return {ArchSpec(triple)}; in GetSupportedArchitectures()
/openbsd/gnu/llvm/libcxx/utils/libcxx/test/
H A Dparams.py74 actions=lambda triple: filter(None, [
75 AddFeature('target={}'.format(triple)),
76 AddFlagIfSupported('--target={}'.format(triple)),
77 AddSubstitution('%{triple}', triple)

12345678910