Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Value

17 void *test_InterlockedExchangePointer(void * volatile *Target, void *Value) {
18 return _InterlockedExchangePointer(Target, Value);
21 // CHECK: define{{.*}}i8* @test_InterlockedExchangePointer(i8** {{[a-z_ ]*}}%Target, i8* {{[a-z_ ]*}}%Value){{.*}}{
23 // CHECK: %[[VALUE:[0-9]+]] = ptrtoint i8* %Value to [[iPTR]]
24 // CHECK: %[[EXCHANGE:[0-9]+]] = atomicrmw xchg [[iPTR]]* %[[TARGET]], [[iPTR]] %[[VALUE]] seq_cst
44 long test_InterlockedExchange(long *Target, long Value) {
45 return _InterlockedExchange(Target, Value);
48 // CHECK: define{{.*}}i32 @test_InterlockedExchange(i32* {{[a-z_ ]*}}%Target, i32 %Value){{.*}}{
49 // CHECK: %[[EXCHANGE:[0-9]+]] = atomicrmw xchg i32* %Target, i32 %Value seq_cst
60 // CHECK-I386: [[VALUE:%[0-9]+]] = load volatile i32, i32 addrspace(257)* [[PTR]], align 4
61 // CHECK-I386: ret i32 [[VALUE:%[0-9]+]]