/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SSAUpdaterBulk.cpp | 181 Value *OldVal = U->get(); in RewriteAllUses() local 182 assert(OldVal && "Invalid use!"); in RewriteAllUses() 184 if (OldVal != V && OldVal->hasValueHandle()) in RewriteAllUses() 185 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteAllUses() 186 LLVM_DEBUG(dbgs() << "SSAUpdater: replacing " << *OldVal << " with " << *V in RewriteAllUses()
|
D | SSAUpdater.cpp | 200 Value *OldVal = U.get(); in RewriteUse() local 201 if (OldVal != V && OldVal->hasValueHandle()) in RewriteUse() 202 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteUse()
|
D | Local.cpp | 824 static Value *selectIncomingValueForBlock(Value *OldVal, BasicBlock *BB, in selectIncomingValueForBlock() argument 826 if (!isa<UndefValue>(OldVal)) { in selectIncomingValueForBlock() 828 IncomingValues.find(BB)->second == OldVal) && in selectIncomingValueForBlock() 831 IncomingValues.insert(std::make_pair(BB, OldVal)); in selectIncomingValueForBlock() 832 return OldVal; in selectIncomingValueForBlock() 838 return OldVal; in selectIncomingValueForBlock() 890 Value *OldVal = PN->removeIncomingValue(BB, false); in redirectValuesFromPredecessorsToPhi() local 891 assert(OldVal && "No entry in PHI for Pred BB!"); in redirectValuesFromPredecessorsToPhi() 908 if (isa<PHINode>(OldVal) && cast<PHINode>(OldVal)->getParent() == BB) { in redirectValuesFromPredecessorsToPhi() 909 PHINode *OldValPN = cast<PHINode>(OldVal); in redirectValuesFromPredecessorsToPhi() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsExpandPseudo.cpp | 246 unsigned OldVal = I->getOperand(2).getReg(); in expandAtomicCmpSwap() local 281 .addReg(Dest, RegState::Kill).addReg(OldVal).addMBB(exitMBB); in expandAtomicCmpSwap() 384 unsigned OldVal = I->getOperand(6).getReg(); in expandAtomicBinOpSubword() local 405 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOpSubword() 411 .addReg(OldVal) in expandAtomicBinOpSubword() 423 .addReg(OldVal) in expandAtomicBinOpSubword() 440 .addReg(OldVal).addReg(Mask2); in expandAtomicBinOpSubword() 456 .addReg(OldVal).addReg(Mask); in expandAtomicBinOpSubword() 517 unsigned OldVal = I->getOperand(0).getReg(); in expandAtomicBinOp() local 593 BuildMI(loopMBB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in expandAtomicBinOp() [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-7.0/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/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/swiftshader/third_party/LLVM/lib/VMCore/ |
D | DebugLoc.cpp | 298 MDNode *OldVal = get(); in allUsesReplacedWith() local 299 assert(OldVal != NewVa && "Node replaced with self?"); in allUsesReplacedWith() 303 assert(Ctx->ScopeRecordIdx[OldVal] == Idx && "Mapping out of date!"); in allUsesReplacedWith() 304 Ctx->ScopeRecordIdx.erase(OldVal); in allUsesReplacedWith()
|
/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/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | Local.cpp | 602 Value *OldVal = PN->removeIncomingValue(BB, false); in TryToSimplifyUncondBranchFromEmptyBlock() local 603 assert(OldVal && "No entry in PHI for Pred BB!"); in TryToSimplifyUncondBranchFromEmptyBlock() 607 if (isa<PHINode>(OldVal) && cast<PHINode>(OldVal)->getParent() == BB) { in TryToSimplifyUncondBranchFromEmptyBlock() 608 PHINode *OldValPN = cast<PHINode>(OldVal); in TryToSimplifyUncondBranchFromEmptyBlock() 620 PN->addIncoming(OldVal, BBPreds[i]); in TryToSimplifyUncondBranchFromEmptyBlock()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 145 void *OldVal; in RemoveMapping() local 150 OldVal = 0; in RemoveMapping() 152 OldVal = I->second; in RemoveMapping() 156 GlobalAddressReverseMap.erase(OldVal); in RemoveMapping() 157 return OldVal; in RemoveMapping() 206 void *OldVal = CurVal; in updateGlobalMapping() local 219 return OldVal; in updateGlobalMapping() 1119 void *OldVal = EES->GlobalAddressMap.lookup(Old); in onDelete() local 1120 EES->GlobalAddressReverseMap.erase(OldVal); in onDelete()
|
/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/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
D | ProfilingUtils.cpp | 125 Value *OldVal = new LoadInst(ElementPtr, "OldFuncCounter", InsertPos); in IncrementCounterInBlock() local 126 Value *NewVal = BinaryOperator::Create(Instruction::Add, OldVal, in IncrementCounterInBlock()
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 886 unsigned OldVal = MI->getOperand(0).getReg(); in EmitAtomicBinary() local 922 BuildMI(BB, dl, TII->get(Mips::LL), OldVal).addReg(Ptr).addImm(0); in EmitAtomicBinary() 926 BuildMI(BB, dl, TII->get(Mips::AND), AndRes).addReg(OldVal).addReg(Incr); in EmitAtomicBinary() 931 BuildMI(BB, dl, TII->get(BinOpcode), StoreVal).addReg(OldVal).addReg(Incr); in EmitAtomicBinary() 968 unsigned OldVal = RegInfo.createVirtualRegister(RC); in EmitAtomicBinaryPartword() local 1049 BuildMI(BB, dl, TII->get(Mips::LL), OldVal).addReg(AlignedAddr).addImm(0); in EmitAtomicBinaryPartword() 1054 BuildMI(BB, dl, TII->get(Mips::AND), AndRes).addReg(OldVal).addReg(Incr2); in EmitAtomicBinaryPartword() 1061 BuildMI(BB, dl, TII->get(BinOpcode), BinOpRes).addReg(OldVal).addReg(Incr2); in EmitAtomicBinaryPartword() 1069 .addReg(OldVal).addReg(Mask2); in EmitAtomicBinaryPartword() 1086 .addReg(OldVal).addReg(Mask); in EmitAtomicBinaryPartword() [all …]
|
/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/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 600 Value *OldVal = NamedValues[VarName]; in Codegen() local 644 if (OldVal) in Codegen() 645 NamedValues[VarName] = OldVal; in Codegen()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 829 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg() local 842 Value *OldVal_MaskOut = Builder.CreateAnd(OldVal, PMV.Inv_Mask); in expandPartwordCmpXchg() 853 Builder.CreateLShr(OldVal, PMV.ShiftAmt), PMV.ValueType); in expandPartwordCmpXchg() 948 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType() local 951 OldVal = Builder.CreateIntToPtr(OldVal, CI->getCompareOperand()->getType()); in convertCmpXchgToIntegerType() 954 Res = Builder.CreateInsertValue(Res, OldVal, 0); in convertCmpXchgToIntegerType()
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 820 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg() local 833 Value *OldVal_MaskOut = Builder.CreateAnd(OldVal, PMV.Inv_Mask); in expandPartwordCmpXchg() 844 Builder.CreateLShr(OldVal, PMV.ShiftAmt), PMV.ValueType); in expandPartwordCmpXchg() 939 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType() local 942 OldVal = Builder.CreateIntToPtr(OldVal, CI->getCompareOperand()->getType()); in convertCmpXchgToIntegerType() 945 Res = Builder.CreateInsertValue(Res, OldVal, 0); in convertCmpXchgToIntegerType()
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 704 Value *OldVal = NamedValues[VarName]; in Codegen() local 748 if (OldVal) in Codegen() 749 NamedValues[VarName] = OldVal; in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 699 Value *OldVal = NamedValues[VarName]; in codegen() local 745 if (OldVal) in codegen() 746 NamedValues[VarName] = OldVal; in codegen()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 713 Value *OldVal = NamedValues[VarName]; in codegen() local 759 if (OldVal) in codegen() 760 NamedValues[VarName] = OldVal; in codegen()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 177 uint64_t OldVal; in RemoveMapping() local 182 OldVal = 0; in RemoveMapping() 185 OldVal = I->second; in RemoveMapping() 189 return OldVal; in RemoveMapping() 262 uint64_t OldVal = CurVal; in updateGlobalMapping() local 275 return OldVal; in updateGlobalMapping()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 174 uint64_t OldVal; in RemoveMapping() local 179 OldVal = 0; in RemoveMapping() 182 OldVal = I->second; in RemoveMapping() 186 return OldVal; in RemoveMapping() 259 uint64_t OldVal = CurVal; in updateGlobalMapping() local 272 return OldVal; in updateGlobalMapping()
|