Add scei vendor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Thompson 2011-03-15 21:51:56 +00:00
parent 0d4c9d94f6
commit 6046cffbaf
2 changed files with 5 additions and 1 deletions

View File

@ -72,7 +72,8 @@ public:
UnknownVendor,
Apple,
PC
PC,
SCEI
};
enum OSType {
UnknownOS,

View File

@ -84,6 +84,7 @@ const char *Triple::getVendorTypeName(VendorType Kind) {
case Apple: return "apple";
case PC: return "pc";
case SCEI: return "scei";
}
return "<invalid>";
@ -296,6 +297,8 @@ Triple::VendorType Triple::ParseVendor(StringRef VendorName) {
return Apple;
else if (VendorName == "pc")
return PC;
else if (VendorName == "scei")
return SCEI;
else
return UnknownVendor;
}