X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FAsmParser%2FLLToken.h;h=67cd6c9b755c63afa80d181171d2b037bc4bed97;hb=7ce4ac12fc5b0522c5adae6abdd0d8bb552f6ef1;hp=d5d45312c2a8dfd12d47223c3b7e9e9724415b95;hpb=d30c11eddee0c6f17a65303c249b77d14962c973;p=oota-llvm.git diff --git a/lib/AsmParser/LLToken.h b/lib/AsmParser/LLToken.h index d5d45312c2a..67cd6c9b755 100644 --- a/lib/AsmParser/LLToken.h +++ b/lib/AsmParser/LLToken.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LIBS_ASMPARSER_LLTOKEN_H -#define LIBS_ASMPARSER_LLTOKEN_H +#ifndef LLVM_LIB_ASMPARSER_LLTOKEN_H +#define LLVM_LIB_ASMPARSER_LLTOKEN_H namespace llvm { namespace lltok { @@ -39,10 +39,9 @@ namespace lltok { kw_private, kw_internal, - kw_linker_private, // NOTE: deprecated, for parser compatibility - kw_linker_private_weak, // NOTE: deprecated, for parser compatibility kw_linkonce, kw_linkonce_odr, - kw_weak, kw_weak_odr, kw_appending, + kw_weak, // Used as a linkage, and a modifier for "cmpxchg". + kw_weak_odr, kw_appending, kw_dllimport, kw_dllexport, kw_common, kw_available_externally, kw_default, kw_hidden, kw_protected, kw_unnamed_addr, @@ -105,8 +104,10 @@ namespace lltok { kw_byval, kw_inalloca, kw_cold, + kw_dereferenceable, kw_inlinehint, kw_inreg, + kw_jumptable, kw_minsize, kw_naked, kw_nest, @@ -117,6 +118,7 @@ namespace lltok { kw_noimplicitfloat, kw_noinline, kw_nonlazybind, + kw_nonnull, kw_noredzone, kw_noreturn, kw_nounwind, @@ -139,6 +141,15 @@ namespace lltok { kw_type, kw_opaque, + kw_comdat, + + // Comdat types + kw_any, + kw_exactmatch, + kw_largest, + kw_noduplicates, + kw_samesize, + kw_eq, kw_ne, kw_slt, kw_sgt, kw_sle, kw_sge, kw_ult, kw_ugt, kw_ule, kw_uge, kw_oeq, kw_one, kw_olt, kw_ogt, kw_ole, kw_oge, kw_ord, kw_uno, kw_ueq, kw_une, @@ -177,6 +188,7 @@ namespace lltok { // String valued tokens (StrVal). LabelStr, // foo: GlobalVar, // @foo @"foo" + ComdatVar, // $foo LocalVar, // %foo %"foo" MetadataVar, // !foo StringConstant, // "foo"