[ARM] MVE predicate store patterns
[llvm-complete.git] / utils / gn / secondary / llvm / triples.gni
blobefe8be28513c67a60f75afba3ece7c76eacc44f7
1 if (current_cpu == "x86") {
2   if (current_os == "linux") {
3     llvm_current_triple = "i386-unknown-linux-gnu"
4   }
5 } else if (current_cpu == "x64") {
6   if (current_os == "freebsd") {
7     llvm_current_triple = "x86_64-unknown-freebsd"
8   } else if (current_os == "linux") {
9     llvm_current_triple = "x86_64-unknown-linux-gnu"
10   } else if (current_os == "mac") {
11     llvm_current_triple = "x86_64-apple-darwin"
12   } else if (current_os == "win") {
13     llvm_current_triple = "x86_64-pc-windows"
14   }
15 } else if (current_cpu == "arm64") {
16   if (current_os == "android") {
17     llvm_current_triple = "aarch64-linux-android21"
18   }
19 } else if (current_cpu == "ppc64") {
20   if (current_os == "linux") {
21     llvm_current_triple = "powerpc64le-unknown-linux-gnu"
22   }
25 if (!defined(llvm_current_triple)) {
26   assert(false, "unimplemented cpu/os " + current_cpu + "/" + current_os)
29 declare_args() {
30   # The default target triple.
31   llvm_target_triple = llvm_current_triple