Lines Matching refs:OldVal
504 llvm::Value *OldVal, in EmitPostAtomicMinMax() argument
517 llvm::Value *Cmp = Builder.CreateICmp(Pred, OldVal, RHS, "tst"); in EmitPostAtomicMinMax()
518 return Builder.CreateSelect(Cmp, OldVal, RHS, "newval"); in EmitPostAtomicMinMax()
1825 auto *OldVal = CGF.Builder.CreateLoad(ExpectedAddr); in EmitAtomicUpdateLibcall() local
1826 CGF.Builder.CreateStore(OldVal, DesiredAddr); in EmitAtomicUpdateLibcall()
1846 auto *OldVal = EmitAtomicLoadOp(Failure, IsVolatile); in EmitAtomicUpdateOp() local
1852 llvm::PHINode *PHI = CGF.Builder.CreatePHI(OldVal->getType(), in EmitAtomicUpdateOp()
1854 PHI->addIncoming(OldVal, CurBB); in EmitAtomicUpdateOp()
1911 auto *OldVal = CGF.Builder.CreateLoad(ExpectedAddr); in EmitAtomicUpdateLibcall() local
1912 CGF.Builder.CreateStore(OldVal, DesiredAddr); in EmitAtomicUpdateLibcall()
1928 auto *OldVal = EmitAtomicLoadOp(Failure, IsVolatile); in EmitAtomicUpdateOp() local
1934 llvm::PHINode *PHI = CGF.Builder.CreatePHI(OldVal->getType(), in EmitAtomicUpdateOp()
1936 PHI->addIncoming(OldVal, CurBB); in EmitAtomicUpdateOp()