Function melior::dialect::ods::llvm::cmpxchg

source ·
pub fn cmpxchg<'c>(
    context: &'c Context,
    res: Type<'c>,
    ptr: Value<'c, '_>,
    cmp: Value<'c, '_>,
    val: Value<'c, '_>,
    success_ordering: Attribute<'c>,
    failure_ordering: Attribute<'c>,
    location: Location<'c>
) -> AtomicCmpXchgOperation<'c>
Expand description

Creates a cmpxchg operation.