Lines Matching full:case
20 case UnknownArch: return "unknown";
22 case aarch64: return "aarch64";
23 case arm: return "arm";
24 case hexagon: return "hexagon";
25 case mips: return "mips";
26 case mipsel: return "mipsel";
27 case mips64: return "mips64";
28 case mips64el:return "mips64el";
29 case msp430: return "msp430";
30 case ppc64: return "powerpc64";
31 case ppc64le: return "powerpc64le";
32 case ppc: return "powerpc";
33 case r600: return "r600";
34 case sparc: return "sparc";
35 case sparcv9: return "sparcv9";
36 case systemz: return "s390x";
37 case tce: return "tce";
38 case thumb: return "thumb";
39 case x86: return "i386";
40 case x86_64: return "x86_64";
41 case xcore: return "xcore";
42 case nvptx: return "nvptx";
43 case nvptx64: return "nvptx64";
44 case le32: return "le32";
45 case amdil: return "amdil";
46 case spir: return "spir";
47 case spir64: return "spir64";
58 case aarch64: return "aarch64";
60 case arm:
61 case thumb: return "arm";
63 case ppc64:
64 case ppc64le:
65 case ppc: return "ppc";
67 case mips:
68 case mipsel:
69 case mips64:
70 case mips64el:return "mips";
72 case hexagon: return "hexagon";
74 case r600: return "r600";
76 case sparcv9:
77 case sparc: return "sparc";
79 case systemz: return "systemz";
81 case x86:
82 case x86_64: return "x86";
84 case xcore: return "xcore";
86 case nvptx: return "nvptx";
87 case nvptx64: return "nvptx";
88 case le32: return "le32";
89 case amdil: return "amdil";
90 case spir: return "spir";
91 case spir64: return "spir";
97 case UnknownVendor: return "unknown";
99 case Apple: return "apple";
100 case PC: return "pc";
101 case SCEI: return "scei";
102 case BGP: return "bgp";
103 case BGQ: return "bgq";
104 case Freescale: return "fsl";
105 case IBM: return "ibm";
106 case NVIDIA: return "nvidia";
114 case UnknownOS: return "unknown";
116 case AuroraUX: return "auroraux";
117 case Cygwin: return "cygwin";
118 case Darwin: return "darwin";
119 case DragonFly: return "dragonfly";
120 case FreeBSD: return "freebsd";
121 case IOS: return "ios";
122 case KFreeBSD: return "kfreebsd";
123 case Linux: return "linux";
124 case Lv2: return "lv2";
125 case MacOSX: return "macosx";
126 case MinGW32: return "mingw32";
127 case NetBSD: return "netbsd";
128 case OpenBSD: return "openbsd";
129 case Solaris: return "solaris";
130 case Win32: return "win32";
131 case Haiku: return "haiku";
132 case Minix: return "minix";
133 case RTEMS: return "rtems";
134 case NaCl: return "nacl";
135 case CNK: return "cnk";
136 case Bitrig: return "bitrig";
137 case AIX: return "aix";
138 case CUDA: return "cuda";
139 case NVCL: return "nvcl";
147 case UnknownEnvironment: return "unknown";
148 case GNU: return "gnu";
149 case GNUEABIHF: return "gnueabihf";
150 case GNUEABI: return "gnueabi";
151 case GNUX32: return "gnux32";
152 case EABI: return "eabi";
153 case MachO: return "macho";
154 case Android: return "android";
155 case ELF: return "elf";
163 .Case("aarch64", aarch64)
164 .Case("arm", arm)
165 .Case("mips", mips)
166 .Case("mipsel", mipsel)
167 .Case("mips64", mips64)
168 .Case("mips64el", mips64el)
169 .Case("msp430", msp430)
170 .Case("ppc64", ppc64)
171 .Case("ppc32", ppc)
172 .Case("ppc", ppc)
173 .Case("ppc64le", ppc64le)
174 .Case("r600", r600)
175 .Case("hexagon", hexagon)
176 .Case("sparc", sparc)
177 .Case("sparcv9", sparcv9)
178 .Case("systemz", systemz)
179 .Case("tce", tce)
180 .Case("thumb", thumb)
181 .Case("x86", x86)
182 .Case("x86-64", x86_64)
183 .Case("xcore", xcore)
184 .Case("nvptx", nvptx)
185 .Case("nvptx64", nvptx64)
186 .Case("le32", le32)
187 .Case("amdil", amdil)
188 .Case("spir", spir)
189 .Case("spir64", spir64)
199 .Case("i386", "i386")
200 .Case("x86_64", "x86_64")
201 .Case("powerpc", "ppc")
202 .Case("powerpc64", "ppc64")
203 .Case("powerpc64le", "ppc64le")
204 .Case("arm", "arm")
209 .Case("r600", "r600")
210 .Case("nvptx", "nvptx")
211 .Case("nvptx64", "nvptx64")
212 .Case("le32", "le32")
213 .Case("amdil", "amdil")
214 .Case("spir", "spir")
215 .Case("spir64", "spir64")
225 .Case("powerpc", Triple::ppc)
227 .Case("powerpc64le", Triple::ppc64le)
228 .Case("aarch64", Triple::aarch64)
233 .Case("thumb", Triple::thumb)
235 .Case("msp430", Triple::msp430)
239 .Case("mips64el", Triple::mips64el)
240 .Case("r600", Triple::r600)
241 .Case("hexagon", Triple::hexagon)
242 .Case("s390x", Triple::systemz)
243 .Case("sparc", Triple::sparc)
245 .Case("tce", Triple::tce)
246 .Case("xcore", Triple::xcore)
247 .Case("nvptx", Triple::nvptx)
248 .Case("nvptx64", Triple::nvptx64)
249 .Case("le32", Triple::le32)
250 .Case("amdil", Triple::amdil)
251 .Case("spir", Triple::spir)
252 .Case("spir64", Triple::spir64)
258 .Case("apple", Triple::Apple)
259 .Case("pc", Triple::PC)
260 .Case("scei", Triple::SCEI)
261 .Case("bgp", Triple::BGP)
262 .Case("bgq", Triple::BGQ)
263 .Case("fsl", Triple::Freescale)
264 .Case("ibm", Triple::IBM)
265 .Case("nvidia", Triple::NVIDIA)
400 case 0:
404 case 1:
408 case 2:
412 case 3:
474 // Special case logic goes here. At this point Arch, Vendor and OS have the
560 case Darwin:
571 case MacOSX:
580 case IOS:
597 case Darwin:
598 case MacOSX:
607 case IOS:
670 case llvm::Triple::UnknownArch:
673 case llvm::Triple::msp430:
676 case llvm::Triple::amdil:
677 case llvm::Triple::arm:
678 case llvm::Triple::hexagon:
679 case llvm::Triple::le32:
680 case llvm::Triple::mips:
681 case llvm::Triple::mipsel:
682 case llvm::Triple::nvptx:
683 case llvm::Triple::ppc:
684 case llvm::Triple::r600:
685 case llvm::Triple::sparc:
686 case llvm::Triple::tce:
687 case llvm::Triple::thumb:
688 case llvm::Triple::x86:
689 case llvm::Triple::xcore:
690 case llvm::Triple::spir:
693 case llvm::Triple::aarch64:
694 case llvm::Triple::mips64:
695 case llvm::Triple::mips64el:
696 case llvm::Triple::nvptx64:
697 case llvm::Triple::ppc64:
698 case llvm::Triple::ppc64le:
699 case llvm::Triple::sparcv9:
700 case llvm::Triple::systemz:
701 case llvm::Triple::x86_64:
702 case llvm::Triple::spir64:
723 case Triple::UnknownArch:
724 case Triple::aarch64:
725 case Triple::msp430:
726 case Triple::systemz:
727 case Triple::ppc64le:
731 case Triple::amdil:
732 case Triple::spir:
733 case Triple::arm:
734 case Triple::hexagon:
735 case Triple::le32:
736 case Triple::mips:
737 case Triple::mipsel:
738 case Triple::nvptx:
739 case Triple::ppc:
740 case Triple::r600:
741 case Triple::sparc:
742 case Triple::tce:
743 case Triple::thumb:
744 case Triple::x86:
745 case Triple::xcore:
749 case Triple::mips64: T.setArch(Triple::mips); break;
750 case Triple::mips64el: T.setArch(Triple::mipsel); break;
751 case Triple::nvptx64: T.setArch(Triple::nvptx); break;
752 case Triple::ppc64: T.setArch(Triple::ppc); break;
753 case Triple::sparcv9: T.setArch(Triple::sparc); break;
754 case Triple::x86_64: T.setArch(Triple::x86); break;
755 case Triple::spir64: T.setArch(Triple::spir); break;
763 case Triple::UnknownArch:
764 case Triple::amdil:
765 case Triple::arm:
766 case Triple::hexagon:
767 case Triple::le32:
768 case Triple::msp430:
769 case Triple::r600:
770 case Triple::tce:
771 case Triple::thumb:
772 case Triple::xcore:
776 case Triple::aarch64:
777 case Triple::spir64:
778 case Triple::mips64:
779 case Triple::mips64el:
780 case Triple::nvptx64:
781 case Triple::ppc64:
782 case Triple::ppc64le:
783 case Triple::sparcv9:
784 case Triple::systemz:
785 case Triple::x86_64:
789 case Triple::mips: T.setArch(Triple::mips64); break;
790 case Triple::mipsel: T.setArch(Triple::mips64el); break;
791 case Triple::nvptx: T.setArch(Triple::nvptx64); break;
792 case Triple::ppc: T.setArch(Triple::ppc64); break;
793 case Triple::sparc: T.setArch(Triple::sparcv9); break;
794 case Triple::x86: T.setArch(Triple::x86_64); break;
795 case Triple::spir: T.setArch(Triple::spir64); break;