Searched defs:Exchange (Results 1 - 2 of 2) sorted by relevance

/external/clang/test/CodeGen/
H A Dms-intrinsics.c30 void *Exchange, void *Comparand) {
31 return _InterlockedCompareExchangePointer(Destination, Exchange, Comparand);
34 // CHECK: define{{.*}}i8* @test_InterlockedCompareExchangePointer(i8** %Destination, i8* %Exchange, i8* %Comparand){{.*}}{
36 // CHECK: %[[EXCHANGE:[0-9]+]] = ptrtoint i8* %Exchange to [[iPTR]]
29 test_InterlockedCompareExchangePointer(void * volatile *Destination, void *Exchange, void *Comparand) argument
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp1835 llvm::Value *Exchange = EmitScalarExpr(E->getArg(1)); local
1836 RTy = Exchange->getType();
1837 Exchange = Builder.CreatePtrToInt(Exchange, IntType);
1842 auto Result = Builder.CreateAtomicCmpXchg(Destination, Comparand, Exchange,

Completed in 854 milliseconds