mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Expose alignment and stack alignment attributes to llvm-c and ocaml.
llvm-svn: 97682
This commit is contained in:
parent
8c608dffd5
commit
2825c880af
@ -90,11 +90,13 @@ module Attribute = struct
|
||||
| Optsize
|
||||
| Ssp
|
||||
| Sspreq
|
||||
| Alignment
|
||||
| Nocapture
|
||||
| Noredzone
|
||||
| Noimplicitfloat
|
||||
| Naked
|
||||
| Inlinehint
|
||||
| Stackalignment
|
||||
end
|
||||
|
||||
module Icmp = struct
|
||||
|
@ -139,11 +139,13 @@ module Attribute : sig
|
||||
| Optsize
|
||||
| Ssp
|
||||
| Sspreq
|
||||
| Alignment
|
||||
| Nocapture
|
||||
| Noredzone
|
||||
| Noimplicitfloat
|
||||
| Naked
|
||||
| Inlinehint
|
||||
| Stackalignment
|
||||
end
|
||||
|
||||
(** The predicate for an integer comparison ([icmp]) instruction.
|
||||
|
@ -112,11 +112,13 @@ typedef enum {
|
||||
LLVMOptimizeForSizeAttribute = 1<<13,
|
||||
LLVMStackProtectAttribute = 1<<14,
|
||||
LLVMStackProtectReqAttribute = 1<<15,
|
||||
LLVMAlignment = 31<<16,
|
||||
LLVMNoCaptureAttribute = 1<<21,
|
||||
LLVMNoRedZoneAttribute = 1<<22,
|
||||
LLVMNoImplicitFloatAttribute = 1<<23,
|
||||
LLVMNakedAttribute = 1<<24,
|
||||
LLVMInlineHintAttribute = 1<<25
|
||||
LLVMInlineHintAttribute = 1<<25,
|
||||
LLVMStackAlignment = 7<<26
|
||||
} LLVMAttribute;
|
||||
|
||||
typedef enum {
|
||||
|
Loading…
Reference in New Issue
Block a user