aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-26 04:23:03 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-26 04:23:03 +0000
commit53aa633fcd75c967e823a2c15413db1b3f88bc98 (patch)
treebb2d75d19f22f20d8818c324f30abf0e494fab74 /include/llvm/ADT
parentda2755bedbd3a7c44faaf26fac24c7fa67c9cedd (diff)
downloadexternal_llvm-53aa633fcd75c967e823a2c15413db1b3f88bc98.zip
external_llvm-53aa633fcd75c967e823a2c15413db1b3f88bc98.tar.gz
external_llvm-53aa633fcd75c967e823a2c15413db1b3f88bc98.tar.bz2
Update for API change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r--include/llvm/ADT/Triple.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h
index 5476d82..f4bc612 100644
--- a/include/llvm/ADT/Triple.h
+++ b/include/llvm/ADT/Triple.h
@@ -36,10 +36,19 @@ public:
enum ArchType {
UnknownArch,
- x86, // i?86
- ppc, // powerpc
- ppc64, // powerpc64
- x86_64, // amd64, x86_64
+ alpha, // alpha
+ arm, // arm, armv.*
+ cellspu, // spu, cellspu
+ mips, // mips, mipsallegrex
+ mipsel, // mipsel, mipsallegrexel, psp
+ msp430, // msp430
+ ppc, // powerpc
+ ppc64, // powerpc64
+ sparc, // sparc
+ systemz, // s390x
+ thumb, // thumb, thumbv.*
+ x86, // i[3-9]86
+ x86_64, // amd64, x86_64
InvalidArch
};
@@ -53,12 +62,15 @@ public:
UnknownOS,
AuroraUX,
+ Cygwin,
Darwin,
DragonFly,
FreeBSD,
Linux,
+ MinGW32,
NetBSD,
- OpenBSD
+ OpenBSD,
+ Win32
};
private: