Home
last modified time | relevance | path

Searched refs:OldVal (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSSAUpdaterBulk.cpp180 Value *OldVal = U->get(); in RewriteAllUses() local
181 assert(OldVal && "Invalid use!"); in RewriteAllUses()
183 if (OldVal != V && OldVal->hasValueHandle()) in RewriteAllUses()
184 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteAllUses()
185 LLVM_DEBUG(dbgs() << "SSAUpdater: replacing " << *OldVal << " with " << *V in RewriteAllUses()
DSSAUpdater.cpp199 Value *OldVal = U.get(); in RewriteUse() local
200 if (OldVal != V && OldVal->hasValueHandle()) in RewriteUse()
201 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteUse()
DLocal.cpp831 static Value *selectIncomingValueForBlock(Value *OldVal, BasicBlock *BB, in selectIncomingValueForBlock() argument
833 if (!isa<UndefValue>(OldVal)) { in selectIncomingValueForBlock()
835 IncomingValues.find(BB)->second == OldVal) && in selectIncomingValueForBlock()
838 IncomingValues.insert(std::make_pair(BB, OldVal)); in selectIncomingValueForBlock()
839 return OldVal; in selectIncomingValueForBlock()
845 return OldVal; in selectIncomingValueForBlock()
897 Value *OldVal = PN->removeIncomingValue(BB, false); in redirectValuesFromPredecessorsToPhi() local
898 assert(OldVal && "No entry in PHI for Pred BB!"); in redirectValuesFromPredecessorsToPhi()
915 if (isa<PHINode>(OldVal) && cast<PHINode>(OldVal)->getParent() == BB) { in redirectValuesFromPredecessorsToPhi()
916 PHINode *OldValPN = cast<PHINode>(OldVal); in redirectValuesFromPredecessorsToPhi()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsExpandPseudo.cpp245 Register OldVal = I->getOperand(2).getReg(); in expandAtomicCmpSwap() local
280 .addReg(Dest, RegState::Kill).addReg(OldVal).addMBB(exitMBB); in expandAtomicCmpSwap()
416 Register OldVal = I->getOperand(6).getReg(); in expandAtomicBinOpSubword() local
437 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOpSubword()
443 .addReg(OldVal) in expandAtomicBinOpSubword()
466 BuildMI(loopMBB, DL, TII->get(Mips::AND), OldVal) in expandAtomicBinOpSubword()
467 .addReg(OldVal) in expandAtomicBinOpSubword()
475 .addReg(OldVal) in expandAtomicBinOpSubword()
486 .addReg(OldVal) in expandAtomicBinOpSubword()
500 .addReg(OldVal) in expandAtomicBinOpSubword()
[all …]
DMipsISelLowering.cpp1549 Register OldVal = MI.getOperand(0).getReg(); in emitAtomicBinary() local
1552 Register Scratch = RegInfo.createVirtualRegister(RegInfo.getRegClass(OldVal)); in emitAtomicBinary()
1599 .addReg(OldVal, RegState::Define | RegState::EarlyClobber) in emitAtomicBinary()
1606 RegInfo.createVirtualRegister(RegInfo.getRegClass(OldVal)); in emitAtomicBinary()
1858 Register OldVal = MI.getOperand(2).getReg(); in emitAtomicCmpSwap() local
1870 Register OldValCopy = MRI.createVirtualRegister(MRI.getRegClass(OldVal)); in emitAtomicCmpSwap()
1874 BuildMI(*BB, II, DL, TII->get(Mips::COPY), OldValCopy).addReg(OldVal); in emitAtomicCmpSwap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DUse.cpp23 Value *OldVal = Val; in swap() local
32 if (OldVal) { in swap()
33 RHS.Val = OldVal; in swap()
DCore.cpp855 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal) { in LLVMReplaceAllUsesWith() argument
856 unwrap(OldVal)->replaceAllUsesWith(unwrap(NewVal)); in LLVMReplaceAllUsesWith()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp903 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg() local
916 Value *OldVal_MaskOut = Builder.CreateAnd(OldVal, PMV.Inv_Mask); in expandPartwordCmpXchg()
927 Builder.CreateLShr(OldVal, PMV.ShiftAmt), PMV.ValueType); in expandPartwordCmpXchg()
987 Value *OldVal = TLI->emitMaskedAtomicCmpXchgIntrinsic( in expandAtomicCmpXchgToMaskedIntrinsic() local
991 Builder.CreateLShr(OldVal, PMV.ShiftAmt), PMV.ValueType); in expandAtomicCmpXchgToMaskedIntrinsic()
996 CmpVal_Shifted, Builder.CreateAnd(OldVal, PMV.Mask), "Success"); in expandAtomicCmpXchgToMaskedIntrinsic()
1078 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType() local
1081 OldVal = Builder.CreateIntToPtr(OldVal, CI->getCompareOperand()->getType()); in convertCmpXchgToIntegerType()
1084 Res = Builder.CreateInsertValue(Res, OldVal, 0); in convertCmpXchgToIntegerType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp309 auto *OldVal = OldPHI->getIncomingValue(i); in rewrite() local
310 NewPHI->setIncomingValue(i, getPoisonFor(ValToPoison, OldVal)); in rewrite()
DThreadSanitizer.cpp697 Value *OldVal = C; in instrumentAtomic() local
701 OldVal = IRB.CreateIntToPtr(C, OrigOldValTy); in instrumentAtomic()
705 IRB.CreateInsertValue(UndefValue::get(CASI->getType()), OldVal, 0); in instrumentAtomic()
DInstrProfiling.cpp212 LoadInst *OldVal = Builder.CreateLoad(Ty, Addr, "pgocount.promoted"); in doExtraRewritesBeforeFinalDeletion() local
213 auto *NewVal = Builder.CreateAdd(OldVal, LiveInValue); in doExtraRewritesBeforeFinalDeletion()
220 LoopToCandidates[TargetLoop].emplace_back(OldVal, NewStore); in doExtraRewritesBeforeFinalDeletion()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp176 uint64_t OldVal; in RemoveMapping() local
181 OldVal = 0; in RemoveMapping()
184 OldVal = I->second; in RemoveMapping()
188 return OldVal; in RemoveMapping()
261 uint64_t OldVal = CurVal; in updateGlobalMapping() local
274 return OldVal; in updateGlobalMapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp663 SDValue OldVal(N, i); in ReplaceValueWith() local
671 auto OldValId = getTableId(OldVal); in ReplaceValueWith()
673 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp7065 Register OldVal = MRI.createVirtualRegister(RC); in emitAtomicLoadBinary() local
7068 Register RotatedOldVal = (IsSubWord ? MRI.createVirtualRegister(RC) : OldVal); in emitAtomicLoadBinary()
7093 BuildMI(MBB, DL, TII->get(SystemZ::PHI), OldVal) in emitAtomicLoadBinary()
7098 .addReg(OldVal).addReg(BitShift).addImm(0); in emitAtomicLoadBinary()
7130 .addReg(OldVal) in emitAtomicLoadBinary()
7183 Register OldVal = MRI.createVirtualRegister(RC); in emitAtomicLoadMinMax() local
7185 Register RotatedOldVal = (IsSubWord ? MRI.createVirtualRegister(RC) : OldVal); in emitAtomicLoadMinMax()
7210 BuildMI(MBB, DL, TII->get(SystemZ::PHI), OldVal) in emitAtomicLoadMinMax()
7215 .addReg(OldVal).addReg(BitShift).addImm(0); in emitAtomicLoadMinMax()
7248 .addReg(OldVal) in emitAtomicLoadMinMax()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h1666 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal);