/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 449 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 …]
|
D | LoopRotationUtils.cpp | 166 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()
|
D | LoopUnrollPeel.cpp | 756 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()
|
D | Evaluator.cpp | 384 Constant *NewVal = in EvaluateBlock() local 386 if (!NewVal) { in EvaluateBlock() 392 Val = NewVal; in EvaluateBlock()
|
D | Local.cpp | 675 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/ |
D | AtomicExpandPass.cpp | 391 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 …]
|
D | TypePromotion.cpp | 465 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()
|
D | CodeGenPrepare.cpp | 2460 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 …]
|
D | ModuloSchedule.cpp | 1123 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/ |
D | Utility.h | 151 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/ |
D | LegalizeTypes.cpp | 106 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()
|
D | LegalizeFloatTypes.cpp | 2064 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/ |
D | TinyPtrVector.h | 244 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/ |
D | AMDGPULowerKernelArguments.cpp | 208 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in runOnFunction() local 210 Arg.replaceAllUsesWith(NewVal); in runOnFunction()
|
D | AMDGPUCodeGenPrepare.cpp | 455 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()
|
D | AMDGPUTargetTransformInfo.cpp | 696 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/ |
D | InstCombineSimplifyDemanded.cpp | 87 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/ |
D | MachineIRBuilder.cpp | 737 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/ |
D | RISCVISelLowering.h | 218 Value *NewVal, Value *Mask,
|
D | RISCVISelLowering.cpp | 2866 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/ |
D | MachineIRBuilder.h | 984 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/ |
D | JumpThreading.cpp | 1431 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/ |
D | InstrProfiling.cpp | 213 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/ |
D | MipsExpandPseudo.cpp | 246 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/ |
D | Instructions.cpp | 1427 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()
|