Home
last modified time | relevance | path

Searched refs:ExchangeHigh (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/CodeGen/
H A Dms-intrinsics.c437 __int64 volatile *Destination, __int64 ExchangeHigh, in test_InterlockedCompareExchange128() argument
439 return _InterlockedCompareExchange128(++Destination, ++ExchangeHigh, in test_InterlockedCompareExchange128()
465 __int64 volatile *Destination, __int64 ExchangeHigh, in test_InterlockedCompareExchange128_acq() argument
467 return _InterlockedCompareExchange128_acq(Destination, ExchangeHigh, in test_InterlockedCompareExchange128_acq()
471 __int64 volatile *Destination, __int64 ExchangeHigh, in test_InterlockedCompareExchange128_nf() argument
473 return _InterlockedCompareExchange128_nf(Destination, ExchangeHigh, in test_InterlockedCompareExchange128_nf()
477 __int64 volatile *Destination, __int64 ExchangeHigh, in test_InterlockedCompareExchange128_rel() argument
479 return _InterlockedCompareExchange128_rel(Destination, ExchangeHigh, in test_InterlockedCompareExchange128_rel()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp359 llvm::Value *ExchangeHigh = CGF.EmitScalarExpr(E->getArg(1)); in EmitAtomicCmpXchg128ForMSIntrin() local
364 assert(!ExchangeHigh->getType()->isPointerTy()); in EmitAtomicCmpXchg128ForMSIntrin()
381 ExchangeHigh = CGF.Builder.CreateZExt(ExchangeHigh, Int128Ty); in EmitAtomicCmpXchg128ForMSIntrin()
383 ExchangeHigh = in EmitAtomicCmpXchg128ForMSIntrin()
384 CGF.Builder.CreateShl(ExchangeHigh, llvm::ConstantInt::get(Int128Ty, 64)); in EmitAtomicCmpXchg128ForMSIntrin()
385 llvm::Value *Exchange = CGF.Builder.CreateOr(ExchangeHigh, ExchangeLow); in EmitAtomicCmpXchg128ForMSIntrin()