Home
last modified time | relevance | path

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

12

/external/clang/test/CodeGen/
Dbuiltins-arm-exclusive.c6 int Failure, OldVal; in atomic_inc() local
8 OldVal = __builtin_arm_ldrex(addr); in atomic_inc()
9 Failure = __builtin_arm_strex(OldVal + 1, addr); in atomic_inc()
12 return OldVal; in atomic_inc()
/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.cpp610 static Value *selectIncomingValueForBlock(Value *OldVal, BasicBlock *BB, in selectIncomingValueForBlock() argument
612 if (!isa<UndefValue>(OldVal)) { in selectIncomingValueForBlock()
614 IncomingValues.find(BB)->second == OldVal) && in selectIncomingValueForBlock()
617 IncomingValues.insert(std::make_pair(BB, OldVal)); in selectIncomingValueForBlock()
618 return OldVal; in selectIncomingValueForBlock()
624 return OldVal; in selectIncomingValueForBlock()
676 Value *OldVal = PN->removeIncomingValue(BB, false); in redirectValuesFromPredecessorsToPhi() local
677 assert(OldVal && "No entry in PHI for Pred BB!"); in redirectValuesFromPredecessorsToPhi()
694 if (isa<PHINode>(OldVal) && cast<PHINode>(OldVal)->getParent() == BB) { in redirectValuesFromPredecessorsToPhi()
695 PHINode *OldValPN = cast<PHINode>(OldVal); in redirectValuesFromPredecessorsToPhi()
[all …]
DSSAUpdater.cpp187 Value *OldVal = U.get(); in RewriteUse() local
188 if (OldVal != V && OldVal->hasValueHandle()) in RewriteUse()
189 ValueHandleBase::ValueIsRAUWd(OldVal, V); in RewriteUse()
/external/llvm/lib/IR/
DDebugLoc.cpp269 MDNode *OldVal = get(); in allUsesReplacedWith() local
270 assert(OldVal != NewVa && "Node replaced with self?"); in allUsesReplacedWith()
274 assert(Ctx->ScopeRecordIdx[OldVal] == Idx && "Mapping out of date!"); in allUsesReplacedWith()
275 Ctx->ScopeRecordIdx.erase(OldVal); in allUsesReplacedWith()
/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/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/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()
1310 void *OldVal = EES->GlobalAddressMap.lookup(Old); in onDelete() local
1311 EES->GlobalAddressReverseMap.erase(OldVal); in onDelete()
/external/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/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp1895 unsigned OldVal = MRI.createVirtualRegister(RC); in emitAtomicLoadBinary() local
1898 unsigned RotatedOldVal = (IsSubWord ? MRI.createVirtualRegister(RC) : OldVal); in emitAtomicLoadBinary()
1924 BuildMI(MBB, DL, TII->get(SystemZ::PHI), OldVal) in emitAtomicLoadBinary()
1929 .addReg(OldVal).addReg(BitShift).addImm(0); in emitAtomicLoadBinary()
1965 .addReg(OldVal).addReg(NewVal).addOperand(Base).addImm(Disp); in emitAtomicLoadBinary()
2017 unsigned OldVal = MRI.createVirtualRegister(RC); in emitAtomicLoadMinMax() local
2019 unsigned RotatedOldVal = (IsSubWord ? MRI.createVirtualRegister(RC) : OldVal); in emitAtomicLoadMinMax()
2045 BuildMI(MBB, DL, TII->get(SystemZ::PHI), OldVal) in emitAtomicLoadMinMax()
2050 .addReg(OldVal).addReg(BitShift).addImm(0); in emitAtomicLoadMinMax()
2083 .addReg(OldVal).addReg(NewVal).addOperand(Base).addImm(Disp); in emitAtomicLoadMinMax()
[all …]
/external/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/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.cpp834 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
878 if (OldVal) in Codegen()
879 NamedValues[VarName] = OldVal; in Codegen()
Dtoy.cpp1198 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
1242 if (OldVal) in Codegen()
1243 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp816 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
860 if (OldVal) in Codegen()
861 NamedValues[VarName] = OldVal; in Codegen()
Dtoy.cpp1096 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
1140 if (OldVal) in Codegen()
1141 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp942 unsigned OldVal = MI->getOperand(0).getReg(); in emitAtomicBinary() local
978 BuildMI(BB, DL, TII->get(LL), OldVal).addReg(Ptr).addImm(0); in emitAtomicBinary()
982 BuildMI(BB, DL, TII->get(AND), AndRes).addReg(OldVal).addReg(Incr); in emitAtomicBinary()
986 BuildMI(BB, DL, TII->get(BinOpcode), StoreVal).addReg(OldVal).addReg(Incr); in emitAtomicBinary()
1023 unsigned OldVal = RegInfo.createVirtualRegister(RC); in emitAtomicBinaryPartword() local
1109 BuildMI(BB, DL, TII->get(LL), OldVal).addReg(AlignedAddr).addImm(0); in emitAtomicBinaryPartword()
1114 BuildMI(BB, DL, TII->get(Mips::AND), AndRes).addReg(OldVal).addReg(Incr2); in emitAtomicBinaryPartword()
1121 BuildMI(BB, DL, TII->get(BinOpcode), BinOpRes).addReg(OldVal).addReg(Incr2); in emitAtomicBinaryPartword()
1129 .addReg(OldVal).addReg(Mask2); in emitAtomicBinaryPartword()
1146 .addReg(OldVal).addReg(Mask); in emitAtomicBinaryPartword()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp1056 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
1100 if (OldVal) in Codegen()
1101 NamedValues[VarName] = OldVal; in Codegen()
/external/clang/lib/Lex/
DLiteralSupport.cpp851 llvm::APInt OldVal = Val; in GetIntegerValue() local
864 OldVal = Val; in GetIntegerValue()
868 OverflowOccurred |= Val.udiv(RadixVal) != OldVal; in GetIntegerValue()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1376 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() local
1420 if (OldVal) in Codegen()
1421 NamedValues[VarName] = OldVal; in Codegen()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp712 SDValue OldVal(N, i); in ReplaceValueWith() local
716 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
721 ReplacedValues[OldVal] = NewVal; in ReplaceValueWith()
/external/clang/include/clang/Lex/
DPreprocessor.h765 bool OldVal = DisableMacroExpansion; in LexUnexpandedToken() local
771 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/include/llvm-c/
DCore.h1169 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal);

12