1 #===- enumerations.py - Python LLVM Enumerations -------------*- python -*--===#
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 #===------------------------------------------------------------------------===#
14 This file defines enumerations from LLVM.
16 Each enumeration is exposed as a list of 2-tuples. These lists are consumed by
17 dedicated types elsewhere in the package. The enumerations are centrally
18 defined in this file so they are easier to locate and maintain.
38 ('StructRet', 1 << 4),
44 ('ReadOnly', 1 << 10),
45 ('NoInline', 1 << 11),
46 ('AlwaysInline', 1 << 12),
47 ('OptimizeForSize', 1 << 13),
48 ('StackProtect', 1 << 14),
49 ('StackProtectReq', 1 << 15),
50 ('Alignment', 31 << 16),
51 ('NoCapture', 1 << 21),
52 ('NoRedZone', 1 << 22),
53 ('ImplicitFloat', 1 << 23),
55 ('InlineHint', 1 << 25),
56 ('StackAlignment', 7 << 26),
57 ('ReturnsTwice', 1 << 29),
59 ('NonLazyBind', 1 << 31),
90 ('GetElementPtr', 29),
111 ('ExtractElement', 50),
112 ('InsertElement', 51),
113 ('ShuffleVector', 52),
114 ('ExtractValue', 53),
117 ('AtomicCmpXchg', 56),
144 ('AvailableExternally', 1),
154 ('ExternalWeak', 11),
157 ('LinkerPrivate', 14),
158 ('LinkerPrivateWeak', 15),
159 ('LinkerPrivateWeakDefAuto', 16),
172 ('X86StdcallCall', 64),
173 ('X86FastcallCall', 65),
190 ('PredicateFalse', 0),
205 ('PredicateTrue', 15),
208 LandingPadClauseTy = [