Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DUse.cpp24 Value *OldVal = Val; in swap() local
33 if (OldVal) { in swap()
34 RHS.Val = OldVal; in swap()
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc142 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()
Dubsan_handlers.h57 RECOVERABLE(negate_overflow, OverflowData *Data, ValueHandle OldVal)
/external/swiftshader/third_party/LLVM/lib/VMCore/
DDebugLoc.cpp298 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/
DSSAUpdater.cpp188 Value *OldVal = U.get(); in RewriteUse() local
189 if (OldVal != V && OldVal->hasValueHandle()) in RewriteUse()
190 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteUse()
DLocal.cpp695 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/
DLocal.cpp602 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/clang/lib/Parse/
DRAIIObjectsForParser.h272 bool OldVal; variable
275 : P(p), OldVal(P.ColonIsSacred) { in P()
282 P.ColonIsSacred = OldVal; in restore()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp145 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/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DProfilingUtils.cpp125 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/
DMipsISelLowering.cpp886 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/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
Dtoy.cpp600 Value *OldVal = NamedValues[VarName]; in Codegen() local
644 if (OldVal) in Codegen()
645 NamedValues[VarName] = OldVal; in Codegen()
/external/clang/lib/CodeGen/
DCGAtomic.cpp1559 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/Chapter6/
Dtoy.cpp704 Value *OldVal = NamedValues[VarName]; in Codegen() local
748 if (OldVal) in Codegen()
749 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp699 Value *OldVal = NamedValues[VarName]; in codegen() local
745 if (OldVal) in codegen()
746 NamedValues[VarName] = OldVal; in codegen()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp820 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/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp174 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()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
Dtoy.cpp806 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
850 if (OldVal) in Codegen()
851 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp831 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
875 if (OldVal) in Codegen()
876 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp813 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
857 if (OldVal) in Codegen()
858 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp640 Value *OldVal = C; in instrumentAtomic() local
644 OldVal = IRB.CreateIntToPtr(C, OrigOldValTy); in instrumentAtomic()
648 IRB.CreateInsertValue(UndefValue::get(CASI->getType()), OldVal, 0); in instrumentAtomic()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp810 Value *OldVal = NamedValues[VarName]; in codegen() local
856 if (OldVal) in codegen()
857 NamedValues[VarName] = OldVal; in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp919 AllocaInst *OldVal = NamedValues[VarName]; in codegen() local
965 if (OldVal) in codegen()
966 NamedValues[VarName] = OldVal; in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp919 AllocaInst *OldVal = NamedValues[VarName]; in codegen() local
965 if (OldVal) in codegen()
966 NamedValues[VarName] = OldVal; in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp919 AllocaInst *OldVal = NamedValues[VarName]; in codegen() local
965 if (OldVal) in codegen()
966 NamedValues[VarName] = OldVal; in codegen()

12