예제 #1
0
파일: LLVM.cs 프로젝트: RainsSoft/SharpLang
 public unsafe static ValueRef BuildAtomicRMW(BuilderRef B, AtomicRMWBinOp op, ValueRef PTR, ValueRef Val, AtomicOrdering ordering, bool singleThread) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildAtomicRMW(B.Value, (int)op, PTR.Value, Val.Value, (int)ordering, singleThread));
   return ret;
 }
예제 #2
0
 public static LLVMAtomicRMWBinOp Unwrap(this AtomicRMWBinOp wrapper) => (LLVMAtomicRMWBinOp)(int)wrapper;