/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | SaveAndRestore.h | 24 SaveAndRestore(T &X) : X(X), OldValue(X) {} in SaveAndRestore() 25 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { X = NewValue; } in SaveAndRestore() 26 SaveAndRestore(T &X, T &&NewValue) : X(X), OldValue(std::move(X)) { in SaveAndRestore() 29 ~SaveAndRestore() { X = std::move(OldValue); } in ~SaveAndRestore() 30 const T &get() { return OldValue; } in get() 34 T OldValue; member
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | RAIIObjectsForParser.h | 349 bool OldValue; variable 354 OldValue(P.InMessageExpression) { in InMessageExpressionRAIIObject() 359 InMessageExpression = OldValue; in ~InMessageExpressionRAIIObject() 365 Sema::OffsetOfKind OldValue; variable 369 : OffsetOfState(P.OffsetOfState), OldValue(P.OffsetOfState) { in OffsetOfStateRAIIObject() 373 ~OffsetOfStateRAIIObject() { OffsetOfState = OldValue; } in ~OffsetOfStateRAIIObject()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | mem_map_fuchsia.cpp | 74 zx_handle_t OldValue = atomic_compare_exchange_strong( in getPlaceholderVmo() local 76 if (UNLIKELY(OldValue != ZX_HANDLE_INVALID)) { in getPlaceholderVmo() 80 Vmo = OldValue; in getPlaceholderVmo()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugProgramInstruction.cpp | 286 void DbgVariableRecord::replaceVariableLocationOp(Value *OldValue, in replaceVariableLocationOp() argument 291 bool DbgAssignAddrReplaced = isDbgAssign() && OldValue == getAddress(); in replaceVariableLocationOp() 296 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp() 360 for (Value *OldValue : location_ops()) { in setKillLocation() 361 if (!RemovedValues.insert(OldValue).second) in setKillLocation() 363 Value *Poison = PoisonValue::get(OldValue->getType()); in setKillLocation() 364 replaceVariableLocationOp(OldValue, Poison); in setKillLocation()
|
H A D | IntrinsicInst.cpp | 121 void DbgVariableIntrinsic::replaceVariableLocationOp(Value *OldValue, in replaceVariableLocationOp() argument 126 auto ReplaceDbgAssignAddress = [this, OldValue, NewValue]() -> bool { in replaceVariableLocationOp() 128 if (!DAI || OldValue != DAI->getAddress()) in replaceVariableLocationOp() 138 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollAndJam.cpp | 440 Value *OldValue = Phi.getIncomingValueForBlock(AftBlocksLast[It]); in UnrollAndJamLoop() local 441 assert(OldValue && "should have incoming edge from Aft[It]"); in UnrollAndJamLoop() 442 Value *NewValue = OldValue; in UnrollAndJamLoop() 443 if (Value *PrevValue = PrevItValueMap[OldValue]) in UnrollAndJamLoop() 465 Value *OldValue = Phi.getIncomingValue(b); in UnrollAndJamLoop() local 466 if (Value *LastValue = LastValueMap[OldValue]) in UnrollAndJamLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | GOFFObjectWriter.cpp | 35 uint8_t OldValue) { in bits() argument 43 return (OldValue & ~Mask) | Value; in bits()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 582 const bool OldValue; variable 586 : II(II), OldValue(II ? II->isPoisoned() : false) { in PoisonIdentifierRAIIObject() 593 II->setIsPoisoned(OldValue); in ~PoisonIdentifierRAIIObject()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.h | 620 : Ctx(Ctx), OldValue(Ctx->InitStackActive) { in InitStackScope() 624 ~InitStackScope() { this->Ctx->InitStackActive = OldValue; } in ~InitStackScope() 628 bool OldValue; variable
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ConstantEmitter.h | 177 bool OldValue; member
|
H A D | CodeGenFunction.cpp | 176 auto OldValue = in ConstructorHelper() local 178 auto NewValue = OldValue & Value; in ConstructorHelper() 179 if (OldValue != NewValue) in ConstructorHelper()
|
H A D | CGExprConstant.cpp | 1499 Abstract = saved.OldValue; in validateAndPopAbstract()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAtomicOptimizer.cpp | 595 Value *OldValue = nullptr; in buildScanIteratively() local 597 OldValue = B.CreateIntrinsic(V->getType(), Intrinsic::amdgcn_writelane, in buildScanIteratively() 599 OldValuePhi->addIncoming(OldValue, ComputeLoop); in buildScanIteratively() 620 return {OldValue, NewAccumulator}; in buildScanIteratively()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicInst.h | 315 void replaceVariableLocationOp(Value *OldValue, Value *NewValue, 349 for (Value *OldValue : location_ops()) { in setKillLocation() 350 if (!RemovedValues.insert(OldValue).second) in setKillLocation() 352 Value *Poison = PoisonValue::get(OldValue->getType()); in setKillLocation() 353 replaceVariableLocationOp(OldValue, Poison); in setKillLocation()
|
H A D | DebugProgramInstruction.h | 411 void replaceVariableLocationOp(Value *OldValue, Value *NewValue,
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | PredicateExpander.cpp | 191 bool OldValue = shouldNegate(); in expandPredicateSequence() local 205 setNegatePredicate(OldValue); in expandPredicateSequence()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | InstrRefBasedImpl.cpp | 809 ValueIDNum OldValue = VarLocs[MLoc.asU64()]; in clobberMloc() local 810 clobberMloc(MLoc, OldValue, Pos, MakeUndef); in clobberMloc() 815 void clobberMloc(LocIdx MLoc, ValueIDNum OldValue, in clobberMloc() argument 827 if (Loc.Value == OldValue) in clobberMloc() 836 recoverAsEntryValue(VarID, Prop, OldValue); in clobberMloc() 898 VarLocs[NewLoc->asU64()] = OldValue; in clobberMloc()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | GVN.cpp | 1009 SmallVectorImpl<AvailableValueInBlock> &ValuesPerBlock, Value *OldValue, in replaceValuesPerBlockEntry() argument 1012 if (V.AV.Val == OldValue) in replaceValuesPerBlockEntry() 1015 if (V.AV.V1 == OldValue) in replaceValuesPerBlockEntry() 1017 if (V.AV.V2 == OldValue) in replaceValuesPerBlockEntry()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 8032 Value *OldValue = Builder.CreateExtractValue(Result, /*Idxs=*/0); in createAtomicCompare() local 8034 OldValue = Builder.CreateBitCast(OldValue, X.ElemTy); in createAtomicCompare() 8035 assert(OldValue->getType() == V.ElemTy && in createAtomicCompare() 8038 Builder.CreateStore(OldValue, V.Var, V.IsVolatile); in createAtomicCompare() 8064 Builder.CreateStore(OldValue, V.Var); in createAtomicCompare() 8076 Builder.CreateSelect(SuccessOrFail, E, OldValue); in createAtomicCompare() 8133 AtomicRMWInst *OldValue = in createAtomicCompare() local 8138 CapturedValue = OldValue; in createAtomicCompare() 8163 Value *NonAtomicCmp = Builder.CreateCmp(Pred, OldValue, E); in createAtomicCompare() 8164 CapturedValue = Builder.CreateSelect(NonAtomicCmp, E, OldValue); in createAtomicCompare()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 6911 llvm::APSInt OldValue = Value; in CheckTemplateArgument() local 6924 (OldValue.isSigned() && OldValue.isNegative())) { in CheckTemplateArgument() 6926 << toString(OldValue, 10) << toString(Value, 10) << Param->getType() in CheckTemplateArgument() 6934 RequiredBits = OldValue.getActiveBits(); in CheckTemplateArgument() 6935 else if (OldValue.isUnsigned()) in CheckTemplateArgument() 6936 RequiredBits = OldValue.getActiveBits() + 1; in CheckTemplateArgument() 6938 RequiredBits = OldValue.getSignificantBits(); in CheckTemplateArgument() 6941 << toString(OldValue, 10) << toString(Value, 10) << Param->getType() in CheckTemplateArgument()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | STLExtras.h | 1840 OutputIt replace_copy(R &&Range, OutputIt Out, const T &OldValue, 1842 return std::replace_copy(adl_begin(Range), adl_end(Range), Out, OldValue,
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 13313 bool OldValue; member 13316 : TI(TI), OldValue(TI.getEvaluateConstraints()) { in ConstraintEvalRAII() 13319 ~ConstraintEvalRAII() { TI.setEvaluateConstraints(OldValue); } in ~ConstraintEvalRAII()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 691 bool OldValue; member 693 : Frame(Frame), OldValue(Frame.CanEvalMSConstexpr) { in MSConstexprContextRAII() 697 ~MSConstexprContextRAII() { Frame.CanEvalMSConstexpr = OldValue; } in ~MSConstexprContextRAII()
|