9 Setters (Modification Functions)
Functions to modify properties of LLVM IR objects.
9.1 Value Properties
procedure
(llvm-set-alignment val bytes) → void?
val : LLVMValueRef? bytes : exact-nonnegative-integer?
procedure
(llvm-set-arg-operand fn index arg) → void?
fn : LLVMValueRef? index : exact-nonnegative-integer? arg : LLVMValueRef?
9.2 Atomic Operation Properties
procedure
(llvm-set-atomic-single-thread inst single-thread?) → void? inst : LLVMValueRef? single-thread? : boolean?
procedure
(llvm-set-atomic-sync-scope-id inst scope-id) → void? inst : LLVMValueRef? scope-id : exact-nonnegative-integer?
procedure
(llvm-set-cmp-xchg-failure-ordering inst ordering) → void? inst : LLVMValueRef? ordering : _llvm-atomic-ordering
procedure
(llvm-set-cmp-xchg-success-ordering inst ordering) → void? inst : LLVMValueRef? ordering : _llvm-atomic-ordering
9.3 Exception Handling Properties
procedure
(llvm-set-cleanup pad cleanup?) → void?
pad : LLVMValueRef? cleanup? : boolean?
procedure
(llvm-set-condition br cond) → void?
br : LLVMValueRef? cond : LLVMValueRef?
9.4 Metadata and Debug Info
procedure
(llvm-set-current-debug-location builder location) → void? builder : LLVMBuilderRef? location : LLVMValueRef?
procedure
(llvm-set-current-debug-location2 builder location) → void? builder : LLVMBuilderRef? location : LLVMMetadataRef?
9.5 Module Properties
procedure
(llvm-set-data-layout module data-layout) → void?
module : LLVMModuleRef? data-layout : string?
procedure
(llvm-set-target-triple module triple) → void?
module : LLVMModuleRef? triple : string?
procedure
(llvm-set-source-file-name module name) → void?
module : LLVMModuleRef? name : string?
9.6 Global and Function Properties
procedure
(llvm-set-externally-initialized global externally-init) → void? global : LLVMValueRef? externally-init : boolean?
procedure
(llvm-set-comdat global comdat) → void?
global : LLVMValueRef? comdat : LLVMComdatRef?
9.7 Instruction Properties
procedure
(llvm-set-exact inst is-exact) → void?
inst : LLVMValueRef? is-exact : boolean?
procedure
(llvm-set-fast-math-flags inst flags) → void?
inst : LLVMValueRef? flags : exact-nonnegative-integer?
procedure
(llvm-set-inbound gep in-bounds) → void?
gep : LLVMValueRef? in-bounds : boolean?
procedure
(llvm-set-nsw inst has-nsw) → void?
inst : LLVMValueRef? has-nsw : boolean?
procedure
(llvm-set-nuw inst has-nuw) → void?
inst : LLVMValueRef? has-nuw : boolean?
procedure
(llvm-set-is-tail-call call is-tail) → void?
call : LLVMValueRef? is-tail : boolean?
procedure
(llvm-set-volatile inst is-volatile) → void?
inst : LLVMValueRef? is-volatile : boolean?
procedure
(llvm-set-weak global is-weak) → void?
global : LLVMValueRef? is-weak : boolean?