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
174 kw_dereferenceable_or_null,
175 kw_inaccessiblememonly,
176 kw_inaccessiblemem_or_argmemonly,
249 // atomicrmw operations that aren't also instruction keywords.
257 // Instruction Opcodes (Opcode in UIntVal).
334 // Use-list order directives.
338 // Unsigned Valued tokens (UIntVal).
343 // String valued tokens (StrVal).
345 GlobalVar, // @foo @"foo"
347 LocalVar, // %foo %"foo"
349 StringConstant, // "foo"
350 DwarfTag, // DW_TAG_foo
351 DwarfAttEncoding, // DW_ATE_foo
352 DwarfVirtuality, // DW_VIRTUALITY_foo
353 DwarfLang, // DW_LANG_foo
354 DwarfCC, // DW_CC_foo
355 EmissionKind, // lineTablesOnly
356 DwarfOp, // DW_OP_foo
358 DwarfMacinfo, // DW_MACINFO_foo
359 ChecksumKind, // CSK_foo
361 // Type valued tokens (TyVal).
364 APFloat, // APFloatVal
367 } // end namespace lltok
368 } // end namespace llvm