1 //===- LLToken.h - Token Codes for LLVM Assembly Files ----------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the enums for the .ll lexer.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_ASMPARSER_LLTOKEN_H
15 #define LLVM_LIB_ASMPARSER_LLTOKEN_H
24 // Tokens with no info.
55 kw_weak, // Used as a linkage, and a modifier for "cmpxchg".
61 kw_available_externally,
66 kw_local_unnamed_addr,
67 kw_externally_initialized,
89 kw_deplibs, // FIXME: Remove in 4.0
175 kw_sanitize_hwaddress,
182 kw_dereferenceable_or_null,
183 kw_inaccessiblememonly,
184 kw_inaccessiblemem_or_argmemonly,
258 // atomicrmw operations that aren't also instruction keywords.
266 // Instruction Opcodes (Opcode in UIntVal).
343 // Use-list order directives.
347 // Unsigned Valued tokens (UIntVal).
352 // String valued tokens (StrVal).
354 GlobalVar, // @foo @"foo"
356 LocalVar, // %foo %"foo"
358 StringConstant, // "foo"
359 DwarfTag, // DW_TAG_foo
360 DwarfAttEncoding, // DW_ATE_foo
361 DwarfVirtuality, // DW_VIRTUALITY_foo
362 DwarfLang, // DW_LANG_foo
363 DwarfCC, // DW_CC_foo
364 EmissionKind, // lineTablesOnly
365 DwarfOp, // DW_OP_foo
367 DwarfMacinfo, // DW_MACINFO_foo
368 ChecksumKind, // CSK_foo
370 // Type valued tokens (TyVal).
373 APFloat, // APFloatVal
376 } // end namespace lltok
377 } // end namespace llvm