public static extern LLVMValueRef BuildFence(LLVMBuilderRef @B, LLVMAtomicOrdering @ordering, LLVMBool @singleThread, [MarshalAs(UnmanagedType.LPStr)] string @Name);
public LLVMValueRef CreateAtomicRMW(LLVMAtomicRMWBinOp @op, LLVMValueRef @PTR, LLVMValueRef @Val, LLVMAtomicOrdering @ordering, bool @singleThread) { return LLVM.BuildAtomicRMW(this.instance, @op, @PTR, @Val, @ordering, @singleThread); }
public static extern LLVMValueRef BuildAtomicRMW(LLVMBuilderRef @B, LLVMAtomicRMWBinOp @op, LLVMValueRef @PTR, LLVMValueRef @Val, LLVMAtomicOrdering @ordering, LLVMBool @singleThread);
public LLVMValueRef CreateFence(LLVMAtomicOrdering @ordering, bool @singleThread, string @Name) { return LLVM.BuildFence(this.instance, @ordering, @singleThread, @Name); }
public static AtomicOrdering Wrap(this LLVMAtomicOrdering handle) => (AtomicOrdering)(int)handle;
public LLVMValueRef CreateAtomicRMW(LLVMAtomicRMWBinOp @op, LLVMValueRef @PTR, LLVMValueRef @Val, LLVMAtomicOrdering @ordering, bool @singleThread) { return(LLVM.BuildAtomicRMW(this.instance, @op, @PTR, @Val, @ordering, @singleThread)); }
public LLVMValueRef CreateFence(LLVMAtomicOrdering @ordering, bool @singleThread, string @Name) { return(LLVM.BuildFence(this.instance, @ordering, @singleThread, @Name)); }
public static LLVMValueRef BuildAtomicCmpXchg(this LLVMBuilderRef builder, LLVMValueRef ptr, LLVMValueRef cmp, LLVMValueRef @new, LLVMAtomicOrdering successOrdering, LLVMAtomicOrdering failureOrdering, bool singleThread) => LLVM.BuildAtomicCmpXchg(builder, ptr, cmp, @new, successOrdering, failureOrdering, singleThread ? 1 : 0);