mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Expose alignment and stack alignment attributes to llvm-c and ocaml.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67eaa08f2b
commit
4ad188ba8d
@ -90,11 +90,13 @@ module Attribute = struct
|
|||||||
| Optsize
|
| Optsize
|
||||||
| Ssp
|
| Ssp
|
||||||
| Sspreq
|
| Sspreq
|
||||||
|
| Alignment
|
||||||
| Nocapture
|
| Nocapture
|
||||||
| Noredzone
|
| Noredzone
|
||||||
| Noimplicitfloat
|
| Noimplicitfloat
|
||||||
| Naked
|
| Naked
|
||||||
| Inlinehint
|
| Inlinehint
|
||||||
|
| Stackalignment
|
||||||
end
|
end
|
||||||
|
|
||||||
module Icmp = struct
|
module Icmp = struct
|
||||||
|
@ -139,11 +139,13 @@ module Attribute : sig
|
|||||||
| Optsize
|
| Optsize
|
||||||
| Ssp
|
| Ssp
|
||||||
| Sspreq
|
| Sspreq
|
||||||
|
| Alignment
|
||||||
| Nocapture
|
| Nocapture
|
||||||
| Noredzone
|
| Noredzone
|
||||||
| Noimplicitfloat
|
| Noimplicitfloat
|
||||||
| Naked
|
| Naked
|
||||||
| Inlinehint
|
| Inlinehint
|
||||||
|
| Stackalignment
|
||||||
end
|
end
|
||||||
|
|
||||||
(** The predicate for an integer comparison ([icmp]) instruction.
|
(** The predicate for an integer comparison ([icmp]) instruction.
|
||||||
|
@ -112,11 +112,13 @@ typedef enum {
|
|||||||
LLVMOptimizeForSizeAttribute = 1<<13,
|
LLVMOptimizeForSizeAttribute = 1<<13,
|
||||||
LLVMStackProtectAttribute = 1<<14,
|
LLVMStackProtectAttribute = 1<<14,
|
||||||
LLVMStackProtectReqAttribute = 1<<15,
|
LLVMStackProtectReqAttribute = 1<<15,
|
||||||
|
LLVMAlignment = 31<<16,
|
||||||
LLVMNoCaptureAttribute = 1<<21,
|
LLVMNoCaptureAttribute = 1<<21,
|
||||||
LLVMNoRedZoneAttribute = 1<<22,
|
LLVMNoRedZoneAttribute = 1<<22,
|
||||||
LLVMNoImplicitFloatAttribute = 1<<23,
|
LLVMNoImplicitFloatAttribute = 1<<23,
|
||||||
LLVMNakedAttribute = 1<<24,
|
LLVMNakedAttribute = 1<<24,
|
||||||
LLVMInlineHintAttribute = 1<<25
|
LLVMInlineHintAttribute = 1<<25,
|
||||||
|
LLVMStackAlignment = 7<<26
|
||||||
} LLVMAttribute;
|
} LLVMAttribute;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
Loading…
Reference in New Issue
Block a user