Home
last modified time | relevance | path

Searched refs:NewVal (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp449 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local
450 replaceLoadWithValue(ALoad, NewVal); in run()
453 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run()
454 ALoad->replaceAllUsesWith(NewVal); in run()
455 ReplacedLoads[ALoad] = NewVal; in run()
469 Value *NewVal = ReplacedLoads[User]; in run() local
470 assert(NewVal && "not a replaced load?"); in run()
475 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal); in run()
477 NewVal = RLI->second; in run()
478 RLI = ReplacedLoads.find(NewVal); in run()
[all …]
DLoopRotationUtils.cpp166 Value *NewVal; in RewriteUsesOfClonedInstructions() local
168 NewVal = OrigPreHeaderVal; in RewriteUsesOfClonedInstructions()
170 NewVal = SSA.GetValueInMiddleOfBlock(UserBB); in RewriteUsesOfClonedInstructions()
172 NewVal = UndefValue::get(OrigHeaderVal->getType()); in RewriteUsesOfClonedInstructions()
175 ValueAsMetadata::get(NewVal))); in RewriteUsesOfClonedInstructions()
DLoopUnrollPeel.cpp756 Value *NewVal = PHI->getIncomingValueForBlock(Latch); in peelLoop() local
757 Instruction *LatchInst = dyn_cast<Instruction>(NewVal); in peelLoop()
759 NewVal = LVMap[LatchInst]; in peelLoop()
761 PHI->setIncomingValueForBlock(NewPreHeader, NewVal); in peelLoop()
DEvaluator.cpp384 Constant *NewVal = in EvaluateBlock() local
386 if (!NewVal) { in EvaluateBlock()
392 Val = NewVal; in EvaluateBlock()
DLocal.cpp675 Value *NewVal = PN->getIncomingValue(0); in MergeBasicBlockIntoOnlyPred() local
677 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); in MergeBasicBlockIntoOnlyPred()
678 PN->replaceAllUsesWith(NewVal); in MergeBasicBlockIntoOnlyPred()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp391 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); in convertAtomicLoadToIntegerType() local
392 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType()
465 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() local
472 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType()
499 Value *Loaded, Value *NewVal, in createCmpXchgInstFun() argument
502 Type *OrigTy = NewVal->getType(); in createCmpXchgInstFun()
510 NewVal = Builder.CreateBitCast(NewVal, IntTy); in createCmpXchgInstFun()
515 Addr, Loaded, NewVal, MemOpOrder, in createCmpXchgInstFun()
528 Value *NewVal; in performAtomicOp() local
545 NewVal = Builder.CreateICmpSGT(Loaded, Inc); in performAtomicOp()
[all …]
DTypePromotion.cpp465 Value *NewVal = Builder.CreateSub(I->getOperand(0), NewConst); in PrepareWrappingAdds() local
466 if (auto *NewInst = dyn_cast<Instruction>(NewVal)) { in PrepareWrappingAdds()
471 I->replaceAllUsesWith(NewVal); in PrepareWrappingAdds()
472 LLVM_DEBUG(dbgs() << "IR Promotion: New equivalent: " << *NewVal << "\n"); in PrepareWrappingAdds()
DCodeGenPrepare.cpp2460 OperandSetter(Instruction *Inst, unsigned Idx, Value *NewVal) in OperandSetter() argument
2464 << "with:" << *NewVal << "\n"); in OperandSetter()
2466 Inst->setOperand(Idx, NewVal); in OperandSetter()
2736 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal);
2739 void eraseInstruction(Instruction *Inst, Value *NewVal = nullptr);
2772 Value *NewVal) { in setOperand() argument
2774 Inst, Idx, NewVal)); in setOperand()
2778 Value *NewVal) { in eraseInstruction() argument
2781 Inst, RemovedInsts, NewVal)); in eraseInstruction()
6686 Value *NewVal = nullptr; in promoteImpl() local
[all …]
DModuloSchedule.cpp1123 unsigned NewVal = in rewritePhiValues() local
1125 if (!NewVal) in rewritePhiValues()
1126 NewVal = InitVal; in rewritePhiValues()
1128 NewVal); in rewritePhiValues()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DUtility.h151 SwapAndRestore(T &Restore_, T NewVal) in SwapAndRestore() argument
153 Restore = std::move(NewVal); in SwapAndRestore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp106 SDValue NewVal = getSDValue(NewValId); in PerformExpensiveChecks() local
107 (void)NewVal; in PerformExpensiveChecks()
108 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks()
664 SDValue NewVal(M, i); in ReplaceValueWith() local
666 RemapValue(NewVal); in ReplaceValueWith()
672 auto NewValId = getTableId(NewVal); in ReplaceValueWith()
673 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
DLegalizeFloatTypes.cpp2064 SDValue NewVal; in PromoteFloatOp_STORE() local
2065 NewVal = DAG.getNode(GetPromotionOpcode(Promoted.getValueType(), VT), DL, in PromoteFloatOp_STORE()
2068 return DAG.getStore(ST->getChain(), DL, NewVal, ST->getBasePtr(), in PromoteFloatOp_STORE()
2244 SDValue NewVal = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, IVT, in PromoteFloatRes_EXTRACT_VECTOR_ELT() local
2250 return DAG.getNode(GetPromotionOpcode(VT, NVT), SDLoc(N), NVT, NewVal); in PromoteFloatRes_EXTRACT_VECTOR_ELT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTinyPtrVector.h244 void push_back(EltTy NewVal) { in push_back() argument
247 Val = NewVal; in push_back()
260 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp208 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in runOnFunction() local
210 Arg.replaceAllUsesWith(NewVal); in runOnFunction()
DAMDGPUCodeGenPrepare.cpp455 Value *NewVal = UndefValue::get(Ty); in insertValues() local
457 NewVal = Builder.CreateInsertElement(NewVal, Values[I], I); in insertValues()
459 return NewVal; in insertValues()
520 Value *NewVal = insertValues(Builder, Ty, ResultVals); in replaceMulWithMul24() local
521 NewVal->takeName(&I); in replaceMulWithMul24()
522 I.replaceAllUsesWith(NewVal); in replaceMulWithMul24()
DAMDGPUTargetTransformInfo.cpp696 ConstantInt *NewVal = (TrueAS == NewAS) ? in rewriteIntrinsicWithAddressSpace() local
698 II->replaceAllUsesWith(NewVal); in rewriteIntrinsicWithAddressSpace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp87 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, Known, in SimplifyDemandedBits() local
89 if (!NewVal) return false; in SimplifyDemandedBits()
90 U = NewVal; in SimplifyDemandedBits()
556 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local
558 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits()
707 Instruction *NewVal; in SimplifyDemandedUseBits() local
709 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits()
712 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0), in SimplifyDemandedUseBits()
714 NewVal->takeName(I); in SimplifyDemandedUseBits()
715 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp737 Register NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument
743 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchgWithSuccess()
758 .addUse(NewVal) in buildAtomicCmpXchgWithSuccess()
764 Register CmpVal, Register NewVal, in buildAtomicCmpXchg() argument
770 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchg()
783 .addUse(NewVal) in buildAtomicCmpXchg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.h218 Value *NewVal, Value *Mask,
DRISCVISelLowering.cpp2866 Value *CmpVal, Value *NewVal, Value *Mask, AtomicOrdering Ord) const { in emitMaskedAtomicCmpXchgIntrinsic() argument
2872 NewVal = Builder.CreateSExt(NewVal, Builder.getInt64Ty()); in emitMaskedAtomicCmpXchgIntrinsic()
2880 MaskedCmpXchg, {AlignedAddr, CmpVal, NewVal, Mask, Ordering}); in emitMaskedAtomicCmpXchgIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h984 Register Addr, Register CmpVal, Register NewVal,
1002 Register CmpVal, Register NewVal,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1431 LoadInst *NewVal = new LoadInst( in SimplifyPartiallyRedundantLoad() local
1436 NewVal->setDebugLoc(LoadI->getDebugLoc()); in SimplifyPartiallyRedundantLoad()
1438 NewVal->setAAMetadata(AATags); in SimplifyPartiallyRedundantLoad()
1440 AvailablePreds.push_back(std::make_pair(UnavailablePred, NewVal)); in SimplifyPartiallyRedundantLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp213 auto *NewVal = Builder.CreateAdd(OldVal, LiveInValue); in doExtraRewritesBeforeFinalDeletion() local
214 auto *NewStore = Builder.CreateStore(NewVal, Addr); in doExtraRewritesBeforeFinalDeletion()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsExpandPseudo.cpp246 Register NewVal = I->getOperand(3).getReg(); in expandAtomicCmpSwap() local
286 BuildMI(loop2MBB, DL, TII->get(MOVE), Scratch).addReg(NewVal).addReg(ZERO); in expandAtomicCmpSwap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp1427 void AtomicCmpXchgInst::Init(Value *Ptr, Value *Cmp, Value *NewVal, in Init() argument
1433 Op<2>() = NewVal; in Init()
1460 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() argument
1469 Init(Ptr, Cmp, NewVal, SuccessOrdering, FailureOrdering, SSID); in AtomicCmpXchgInst()
1472 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() argument
1481 Init(Ptr, Cmp, NewVal, SuccessOrdering, FailureOrdering, SSID); in AtomicCmpXchgInst()

12