/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SSAUpdaterBulk.cpp | 180 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()
|
D | SSAUpdater.cpp | 199 Value *OldVal = U.get(); in RewriteUse() local 200 if (OldVal != V && OldVal->hasValueHandle()) in RewriteUse() 201 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteUse()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SSAUpdaterBulk.cpp | 180 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()
|
/external/scudo/standalone/tests/ |
D | atomic_test.cpp | 83 Type OldVal = 42; in checkAtomicCompareExchange() local 85 Type V = OldVal; in checkAtomicCompareExchange() 86 EXPECT_TRUE(atomic_compare_exchange_strong(reinterpret_cast<T *>(&V), &OldVal, in checkAtomicCompareExchange() 89 reinterpret_cast<T *>(&V), &OldVal, NewVal, memory_order_relaxed)); in checkAtomicCompareExchange() 90 EXPECT_EQ(NewVal, OldVal); in checkAtomicCompareExchange()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | atomic_test.cpp | 83 Type OldVal = 42; in checkAtomicCompareExchange() local 85 Type V = OldVal; in checkAtomicCompareExchange() 86 EXPECT_TRUE(atomic_compare_exchange_strong(reinterpret_cast<T *>(&V), &OldVal, in checkAtomicCompareExchange() 89 reinterpret_cast<T *>(&V), &OldVal, NewVal, memory_order_relaxed)); in checkAtomicCompareExchange() 90 EXPECT_EQ(NewVal, OldVal); in checkAtomicCompareExchange()
|
/external/llvm-project/clang/include/clang/AST/ |
D | CurrentSourceLocExprScope.h | 53 : Current(Current), OldVal(Current), Enable(false) { in SourceLocExprScopeGuard() 61 Current = OldVal; in ~SourceLocExprScopeGuard() 69 CurrentSourceLocExprScope OldVal; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsExpandPseudo.cpp | 245 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 …]
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsExpandPseudo.cpp | 245 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 …]
|
/external/llvm/lib/IR/ |
D | Use.cpp | 24 Value *OldVal = Val; in swap() local 33 if (OldVal) { in swap() 34 RHS.Val = OldVal; in swap()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Use.cpp | 23 Value *OldVal = Val; in swap() local 32 if (OldVal) { in swap() 33 RHS.Val = OldVal; in swap()
|
/external/llvm-project/clang/include/clang/Parse/ |
D | RAIIObjectsForParser.h | 272 bool OldVal; variable 275 : P(p), OldVal(P.ColonIsSacred) { in P() 282 P.ColonIsSacred = OldVal; in restore() 294 bool OldVal; variable 298 : P(P), OldVal(P.OpenMPDirectiveParsing) { in P() 304 void restore() { P.OpenMPDirectiveParsing = OldVal; } in restore()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 142 static void handleNegateOverflowImpl(OverflowData *Data, ValueHandle OldVal, in handleNegateOverflowImpl() argument 158 << Value(Data->Type, OldVal) << Data->Type; in handleNegateOverflowImpl() 161 << Value(Data->Type, OldVal) << Data->Type; in handleNegateOverflowImpl() 165 ValueHandle OldVal) { in __ubsan_handle_negate_overflow() argument 167 handleNegateOverflowImpl(Data, OldVal, Opts); in __ubsan_handle_negate_overflow() 170 ValueHandle OldVal) { in __ubsan_handle_negate_overflow_abort() argument 172 handleNegateOverflowImpl(Data, OldVal, Opts); in __ubsan_handle_negate_overflow_abort()
|
D | ubsan_handlers.h | 57 RECOVERABLE(negate_overflow, OverflowData *Data, ValueHandle OldVal)
|
/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 188 Value *OldVal = U.get(); in RewriteUse() local 189 if (OldVal != V && OldVal->hasValueHandle()) in RewriteUse() 190 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteUse()
|
D | Local.cpp | 695 static Value *selectIncomingValueForBlock(Value *OldVal, BasicBlock *BB, in selectIncomingValueForBlock() argument 697 if (!isa<UndefValue>(OldVal)) { in selectIncomingValueForBlock() 699 IncomingValues.find(BB)->second == OldVal) && in selectIncomingValueForBlock() 702 IncomingValues.insert(std::make_pair(BB, OldVal)); in selectIncomingValueForBlock() 703 return OldVal; in selectIncomingValueForBlock() 709 return OldVal; in selectIncomingValueForBlock() 761 Value *OldVal = PN->removeIncomingValue(BB, false); in redirectValuesFromPredecessorsToPhi() local 762 assert(OldVal && "No entry in PHI for Pred BB!"); in redirectValuesFromPredecessorsToPhi() 779 if (isa<PHINode>(OldVal) && cast<PHINode>(OldVal)->getParent() == BB) { in redirectValuesFromPredecessorsToPhi() 780 PHINode *OldValPN = cast<PHINode>(OldVal); in redirectValuesFromPredecessorsToPhi() [all …]
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cpp | 249 static void handleNegateOverflowImpl(OverflowData *Data, ValueHandle OldVal, in handleNegateOverflowImpl() argument 268 << Value(Data->Type, OldVal) << Data->Type; in handleNegateOverflowImpl() 271 << Value(Data->Type, OldVal) << Data->Type; in handleNegateOverflowImpl() 275 ValueHandle OldVal) { in __ubsan_handle_negate_overflow() argument 277 handleNegateOverflowImpl(Data, OldVal, Opts); in __ubsan_handle_negate_overflow() 280 ValueHandle OldVal) { in __ubsan_handle_negate_overflow_abort() argument 282 handleNegateOverflowImpl(Data, OldVal, Opts); in __ubsan_handle_negate_overflow_abort()
|
/external/clang/lib/Parse/ |
D | RAIIObjectsForParser.h | 272 bool OldVal; variable 275 : P(p), OldVal(P.ColonIsSacred) { in P() 282 P.ColonIsSacred = OldVal; in restore()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | IteratorModeling.cpp | 642 SVal OldVal = State->getSVal(Iterator, C.getLocationContext()); in handlePtrIncrOrDecr() local 644 const IteratorPosition *OldPos = getIteratorPosition(State, OldVal); in handlePtrIncrOrDecr() 650 NewVal = State->getLValue(ElementType, Offset, OldVal); in handlePtrIncrOrDecr() 654 NewVal = State->getLValue(ElementType, NegatedOffset, OldVal); in handlePtrIncrOrDecr() 660 auto AdvancedState = advancePosition(State, OldVal, OK, Offset); in handlePtrIncrOrDecr() 662 const IteratorPosition *NewPos = getIteratorPosition(AdvancedState, OldVal); in handlePtrIncrOrDecr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGAtomic.cpp | 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() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 309 auto *OldVal = OldPHI->getIncomingValue(i); in rewrite() local 310 NewPHI->setIncomingValue(i, getPoisonFor(ValToPoison, OldVal)); in rewrite()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 903 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()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 922 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg() local 935 Value *OldVal_MaskOut = Builder.CreateAnd(OldVal, PMV.Inv_Mask); in expandPartwordCmpXchg() 945 Value *FinalOldVal = extractMaskedValue(Builder, OldVal, PMV); in expandPartwordCmpXchg() 1005 Value *OldVal = TLI->emitMaskedAtomicCmpXchgIntrinsic( in expandAtomicCmpXchgToMaskedIntrinsic() local 1008 Value *FinalOldVal = extractMaskedValue(Builder, OldVal, PMV); in expandAtomicCmpXchgToMaskedIntrinsic() 1012 CmpVal_Shifted, Builder.CreateAnd(OldVal, PMV.Mask), "Success"); in expandAtomicCmpXchgToMaskedIntrinsic() 1094 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType() local 1097 OldVal = Builder.CreateIntToPtr(OldVal, CI->getCompareOperand()->getType()); in convertCmpXchgToIntegerType() 1100 Res = Builder.CreateInsertValue(Res, OldVal, 0); in convertCmpXchgToIntegerType()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 314 auto *OldVal = OldPHI->getIncomingValue(i); in rewrite() local 315 NewPHI->setIncomingValue(i, getPoisonFor(ValToPoison, OldVal)); in rewrite()
|
/external/clang/lib/CodeGen/ |
D | CGAtomic.cpp | 1559 auto *OldVal = CGF.Builder.CreateLoad(ExpectedAddr); in EmitAtomicUpdateLibcall() local 1560 CGF.Builder.CreateStore(OldVal, DesiredAddr); in EmitAtomicUpdateLibcall() 1580 auto *OldVal = EmitAtomicLoadOp(AO, IsVolatile); in EmitAtomicUpdateOp() local 1586 llvm::PHINode *PHI = CGF.Builder.CreatePHI(OldVal->getType(), in EmitAtomicUpdateOp() 1588 PHI->addIncoming(OldVal, CurBB); in EmitAtomicUpdateOp() 1646 auto *OldVal = CGF.Builder.CreateLoad(ExpectedAddr); in EmitAtomicUpdateLibcall() local 1647 CGF.Builder.CreateStore(OldVal, DesiredAddr); in EmitAtomicUpdateLibcall() 1663 auto *OldVal = EmitAtomicLoadOp(AO, IsVolatile); in EmitAtomicUpdateOp() local 1669 llvm::PHINode *PHI = CGF.Builder.CreatePHI(OldVal->getType(), in EmitAtomicUpdateOp() 1671 PHI->addIncoming(OldVal, CurBB); in EmitAtomicUpdateOp()
|
/external/llvm-project/polly/lib/CodeGen/ |
D | ManagedMemoryRewrite.cpp | 138 static void rewriteOldValToNew(Instruction *Inst, Value *OldVal, Value *NewVal, in rewriteOldValToNew() argument 158 I->replaceUsesOfWith(OldVal, NewVal); in rewriteOldValToNew()
|