Home
last modified time | relevance | path

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

12

/external/clang/test/CodeGen/
Dbuiltins-arm-exclusive.c7 int Failure, OldVal; in atomic_inc() local
9 OldVal = __builtin_arm_ldrex(addr); in atomic_inc()
10 Failure = __builtin_arm_strex(OldVal + 1, addr); in atomic_inc()
13 return OldVal; in atomic_inc()
/external/llvm/lib/IR/
DUse.cpp24 Value *OldVal = Val; in swap() local
33 if (OldVal) { in swap()
34 RHS.Val = OldVal; in swap()
DDebugLoc.cpp312 MDNode *OldVal = get(); in allUsesReplacedWith() local
313 assert(OldVal != NewVa && "Node replaced with self?"); in allUsesReplacedWith()
317 assert(Ctx->ScopeRecordIdx[OldVal] == Idx && "Mapping out of date!"); in allUsesReplacedWith()
318 Ctx->ScopeRecordIdx.erase(OldVal); in allUsesReplacedWith()
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc113 ValueHandle OldVal) { in __ubsan_handle_negate_overflow() argument
122 << Value(Data->Type, OldVal) << Data->Type; in __ubsan_handle_negate_overflow()
126 << Value(Data->Type, OldVal) << Data->Type; in __ubsan_handle_negate_overflow()
129 ValueHandle OldVal) { in __ubsan_handle_negate_overflow_abort() argument
130 __ubsan_handle_negate_overflow(Data, OldVal); in __ubsan_handle_negate_overflow_abort()
Dubsan_handlers.h53 RECOVERABLE(negate_overflow, OverflowData *Data, ValueHandle OldVal)
/external/llvm/lib/Transforms/Utils/
DLocal.cpp607 static Value *selectIncomingValueForBlock(Value *OldVal, BasicBlock *BB, in selectIncomingValueForBlock() argument
609 if (!isa<UndefValue>(OldVal)) { in selectIncomingValueForBlock()
611 IncomingValues.find(BB)->second == OldVal) && in selectIncomingValueForBlock()
614 IncomingValues.insert(std::make_pair(BB, OldVal)); in selectIncomingValueForBlock()
615 return OldVal; in selectIncomingValueForBlock()
621 return OldVal; in selectIncomingValueForBlock()
673 Value *OldVal = PN->removeIncomingValue(BB, false); in redirectValuesFromPredecessorsToPhi() local
674 assert(OldVal && "No entry in PHI for Pred BB!"); in redirectValuesFromPredecessorsToPhi()
691 if (isa<PHINode>(OldVal) && cast<PHINode>(OldVal)->getParent() == BB) { in redirectValuesFromPredecessorsToPhi()
692 PHINode *OldValPN = cast<PHINode>(OldVal); in redirectValuesFromPredecessorsToPhi()
[all …]
DSSAUpdater.cpp186 Value *OldVal = U.get(); in RewriteUse() local
187 if (OldVal != V && OldVal->hasValueHandle()) in RewriteUse()
188 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteUse()
/external/clang/lib/Parse/
DRAIIObjectsForParser.h266 bool OldVal; variable
269 : P(p), OldVal(P.ColonIsSacred) { in P()
276 P.ColonIsSacred = OldVal; in restore()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp153 void *OldVal; in RemoveMapping() local
158 OldVal = nullptr; in RemoveMapping()
160 OldVal = I->second; in RemoveMapping()
164 GlobalAddressReverseMap.erase(OldVal); in RemoveMapping()
165 return OldVal; in RemoveMapping()
214 void *OldVal = CurVal; in updateGlobalMapping() local
227 return OldVal; in updateGlobalMapping()
1357 void *OldVal = EES->GlobalAddressMap.lookup(Old); in onDelete() local
1358 EES->GlobalAddressReverseMap.erase(OldVal); in onDelete()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp602 Value *OldVal = NamedValues[VarName]; in Codegen() local
646 if (OldVal) in Codegen()
647 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp706 Value *OldVal = NamedValues[VarName]; in Codegen() local
750 if (OldVal) in Codegen()
751 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp817 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
861 if (OldVal) in Codegen()
862 NamedValues[VarName] = OldVal; in Codegen()
Dtoy.cpp1097 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
1141 if (OldVal) in Codegen()
1142 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp808 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
852 if (OldVal) in Codegen()
853 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp835 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
879 if (OldVal) in Codegen()
880 NamedValues[VarName] = OldVal; in Codegen()
Dtoy.cpp1199 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
1243 if (OldVal) in Codegen()
1244 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp987 unsigned OldVal = MI->getOperand(0).getReg(); in emitAtomicBinary() local
1022 BuildMI(BB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in emitAtomicBinary()
1026 BuildMI(BB, DL, TII->get(AND), AndRes).addReg(OldVal).addReg(Incr); in emitAtomicBinary()
1030 BuildMI(BB, DL, TII->get(BinOpcode), StoreVal).addReg(OldVal).addReg(Incr); in emitAtomicBinary()
1093 unsigned OldVal = RegInfo.createVirtualRegister(RC); in emitAtomicBinaryPartword() local
1178 BuildMI(BB, DL, TII->get(Mips::LL), OldVal).addReg(AlignedAddr).addImm(0); in emitAtomicBinaryPartword()
1183 BuildMI(BB, DL, TII->get(Mips::AND), AndRes).addReg(OldVal).addReg(Incr2); in emitAtomicBinaryPartword()
1190 BuildMI(BB, DL, TII->get(BinOpcode), BinOpRes).addReg(OldVal).addReg(Incr2); in emitAtomicBinaryPartword()
1198 .addReg(OldVal).addReg(Mask2); in emitAtomicBinaryPartword()
1213 .addReg(OldVal).addReg(Mask); in emitAtomicBinaryPartword()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2765 unsigned OldVal = MRI.createVirtualRegister(RC); in emitAtomicLoadBinary() local
2768 unsigned RotatedOldVal = (IsSubWord ? MRI.createVirtualRegister(RC) : OldVal); in emitAtomicLoadBinary()
2794 BuildMI(MBB, DL, TII->get(SystemZ::PHI), OldVal) in emitAtomicLoadBinary()
2799 .addReg(OldVal).addReg(BitShift).addImm(0); in emitAtomicLoadBinary()
2835 .addReg(OldVal).addReg(NewVal).addOperand(Base).addImm(Disp); in emitAtomicLoadBinary()
2888 unsigned OldVal = MRI.createVirtualRegister(RC); in emitAtomicLoadMinMax() local
2890 unsigned RotatedOldVal = (IsSubWord ? MRI.createVirtualRegister(RC) : OldVal); in emitAtomicLoadMinMax()
2916 BuildMI(MBB, DL, TII->get(SystemZ::PHI), OldVal) in emitAtomicLoadMinMax()
2921 .addReg(OldVal).addReg(BitShift).addImm(0); in emitAtomicLoadMinMax()
2954 .addReg(OldVal).addReg(NewVal).addOperand(Base).addImm(Disp); in emitAtomicLoadMinMax()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp1057 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
1101 if (OldVal) in Codegen()
1102 NamedValues[VarName] = OldVal; in Codegen()
/external/clang/lib/Lex/
DLiteralSupport.cpp934 llvm::APInt OldVal = Val; in GetIntegerValue() local
952 OldVal = Val; in GetIntegerValue()
956 OverflowOccurred |= Val.udiv(RadixVal) != OldVal; in GetIntegerValue()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp714 SDValue OldVal(N, i); in ReplaceValueWith() local
718 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
723 ReplacedValues[OldVal] = NewVal; in ReplaceValueWith()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1377 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
1421 if (OldVal) in Codegen()
1422 NamedValues[VarName] = OldVal; in Codegen()
/external/clang/include/clang/Lex/
DPreprocessor.h812 bool OldVal = DisableMacroExpansion; in LexUnexpandedToken() local
818 DisableMacroExpansion = OldVal; in LexUnexpandedToken()
/external/llvm/docs/tutorial/
DLangImpl5.rst621 Value *OldVal = NamedValues[VarName];
639 potentially shadowing in ``OldVal`` (which will be null if there is no
707 if (OldVal)
708 NamedValues[VarName] = OldVal;
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c567 CAMLprim value llvm_replace_all_uses_with(LLVMValueRef OldVal, in llvm_replace_all_uses_with() argument
569 LLVMReplaceAllUsesWith(OldVal, NewVal); in llvm_replace_all_uses_with()

12