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.
52 kw_weak, // Used as a linkage, and a modifier for "cmpxchg".
58 kw_available_externally,
63 kw_local_unnamed_addr,
64 kw_externally_initialized,
86 kw_deplibs, // FIXME: Remove in 4.0
173 kw_dereferenceable_or_null,
174 kw_inaccessiblememonly,
175 kw_inaccessiblemem_or_argmemonly,
247 // atomicrmw operations that aren't also instruction keywords.
255 // Instruction Opcodes (Opcode in UIntVal).
332 // Use-list order directives.
336 // Unsigned Valued tokens (UIntVal).
341 // String valued tokens (StrVal).
343 GlobalVar, // @foo @"foo"
345 LocalVar, // %foo %"foo"
347 StringConstant, // "foo"
348 DwarfTag, // DW_TAG_foo
349 DwarfAttEncoding, // DW_ATE_foo
350 DwarfVirtuality, // DW_VIRTUALITY_foo
351 DwarfLang, // DW_LANG_foo
352 DwarfCC, // DW_CC_foo
353 EmissionKind, // lineTablesOnly
354 DwarfOp, // DW_OP_foo
356 DwarfMacinfo, // DW_MACINFO_foo
357 ChecksumKind, // CSK_foo
359 // Type valued tokens (TyVal).
362 APFloat, // APFloatVal
365 } // end namespace lltok
366 } // end namespace llvm