Skip to content

Commit 857c099

Browse files
committed
---
yaml --- r: 2290 b: refs/heads/master c: 64a5afa h: refs/heads/master v: v3
1 parent 2df9117 commit 857c099

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 02336e670fb2b44ec455aa985211a101ef48b0bc
2+
refs/heads/master: 64a5afadf320de5a3f49160bb97f62a06311ba3a

trunk/src/comp/lib/llvm.rs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,30 @@ const uint LLVMCommonLinkage = 13u;
6565
const uint LLVMLinkerPrivateLinkage = 14u;
6666
const uint LLVMLinkerPrivateWeakLinkage = 15u;
6767

68+
const uint LLVMZExtAttribute = 1u;
69+
const uint LLVMSExtAttribute = 2u;
70+
const uint LLVMNoReturnAttribute = 4u;
71+
const uint LLVMInRegAttribute = 8u;
72+
const uint LLVMStructRetAttribute = 16u;
73+
const uint LLVMNoUnwindAttribute = 32u;
74+
const uint LLVMNoAliasAttribute = 64u;
75+
const uint LLVMByValAttribute = 128u;
76+
const uint LLVMNestAttribute = 256u;
77+
const uint LLVMReadNoneAttribute = 512u;
78+
const uint LLVMReadOnlyAttribute = 1024u;
79+
const uint LLVMNoInlineAttribute = 2048u;
80+
const uint LLVMAlwaysInlineAttribute = 4096u;
81+
const uint LLVMOptimizeForSizeAttribute = 8192u;
82+
const uint LLVMStackProtectAttribute = 16384u;
83+
const uint LLVMStackProtectReqAttribute = 32768u;
84+
const uint LLVMAlignmentAttribute = 2031616u; // 31 << 16
85+
const uint LLVMNoCaptureAttribute = 2097152u;
86+
const uint LLVMNoRedZoneAttribute = 4194304u;
87+
const uint LLVMNoImplicitFloatAttribute = 8388608u;
88+
const uint LLVMNakedAttribute = 16777216u;
89+
const uint LLVMInlineHintAttribute = 33554432u;
90+
const uint LLVMStackAttribute = 469762048u; // 7 << 26
91+
6892

6993
// Consts for the LLVM IntPredicate type, pre-cast to uint.
7094
// FIXME: as above.

0 commit comments

Comments
 (0)