Lines Matching refs:NewVal

374   Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType());  in convertAtomicLoadToIntegerType()  local
375 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType()
444 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() local
451 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType()
478 Value *Loaded, Value *NewVal, in createCmpXchgInstFun() argument
482 Addr, Loaded, NewVal, MemOpOrder, in createCmpXchgInstFun()
492 Value *NewVal; in performAtomicOp() local
509 NewVal = Builder.CreateICmpSGT(Loaded, Inc); in performAtomicOp()
510 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp()
512 NewVal = Builder.CreateICmpSLE(Loaded, Inc); in performAtomicOp()
513 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp()
515 NewVal = Builder.CreateICmpUGT(Loaded, Inc); in performAtomicOp()
516 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp()
518 NewVal = Builder.CreateICmpULE(Loaded, Inc); in performAtomicOp()
519 return Builder.CreateSelect(NewVal, Loaded, Inc, "new"); in performAtomicOp()
660 Value *NewVal = performAtomicOp(Op, Builder, Loaded, Shifted_Inc); in performMaskedAtomicOp() local
661 Value *NewVal_Masked = Builder.CreateAnd(NewVal, PMV.Mask); in performMaskedAtomicOp()
675 Value *NewVal = performAtomicOp(Op, Builder, Loaded_Shiftdown, Inc); in performMaskedAtomicOp() local
677 Builder.CreateZExt(NewVal, PMV.WordType), PMV.ShiftAmt); in performMaskedAtomicOp()
765 Value *NewVal = CI->getNewValOperand(); in expandPartwordCmpXchg() local
790 Builder.CreateShl(Builder.CreateZExt(NewVal, PMV.WordType), PMV.ShiftAmt); in expandPartwordCmpXchg()
898 Value *NewVal = PerformOp(Builder, Loaded); in insertRMWLLSCLoop() local
901 TLI->emitStoreConditional(Builder, NewVal, Addr, MemOpOrder); in insertRMWLLSCLoop()
1254 Value *NewVal = PerformOp(Builder, Loaded); in insertRMWCmpXchgLoop() local
1259 CreateCmpXchg(Builder, Addr, Loaded, NewVal, in insertRMWCmpXchgLoop()
1430 Value *Loaded, Value *NewVal, in expandAtomicRMWToLibcall()
1435 Addr, Loaded, NewVal, MemOpOrder, in expandAtomicRMWToLibcall()