/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/llvm/lib/IR/ |
H A D | DebugProgramInstruction.cpp | 166 void DPValue::replaceVariableLocationOp(Value *OldValue, Value *NewValue, in replaceVariableLocationOp() argument 170 bool DbgAssignAddrReplaced = isDbgAssign() && OldValue == getAddress(); in replaceVariableLocationOp() 175 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp() 238 for (Value *OldValue : location_ops()) { in setKillLocation() 239 if (!RemovedValues.insert(OldValue).second) in setKillLocation() 241 Value *Poison = PoisonValue::get(OldValue->getType()); in setKillLocation() 242 replaceVariableLocationOp(OldValue, Poison); in setKillLocation()
|
H A D | IntrinsicInst.cpp | 121 void DbgVariableIntrinsic::replaceVariableLocationOp(Value *OldValue, in replaceVariableLocationOp() argument 125 auto ReplaceDbgAssignAddress = [this, OldValue, NewValue]() -> bool { in replaceVariableLocationOp() 127 if (!DAI || OldValue != DAI->getAddress()) in replaceVariableLocationOp() 137 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | mem_map_fuchsia.cpp | 75 zx_handle_t OldValue = atomic_compare_exchange_strong( in getPlaceholderVmo() local 77 if (UNLIKELY(OldValue != ZX_HANDLE_INVALID)) { in getPlaceholderVmo() 81 Vmo = OldValue; in getPlaceholderVmo()
|
/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 | 36 uint8_t OldValue) { in bits() argument 44 return (OldValue & ~Mask) | Value; in bits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAtomicOptimizer.cpp | 606 Value *OldValue = nullptr; in buildScanIteratively() local 608 OldValue = in buildScanIteratively() 612 OldValue = B.CreateBitCast(OldValue, Ty); in buildScanIteratively() 613 OldValuePhi->addIncoming(OldValue, ComputeLoop); in buildScanIteratively() 634 return {OldValue, NewAccumulator}; in buildScanIteratively()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 557 const bool OldValue; variable 561 : II(II), OldValue(II ? II->isPoisoned() : false) { in PoisonIdentifierRAIIObject() 568 II->setIsPoisoned(OldValue); in ~PoisonIdentifierRAIIObject()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ConstantEmitter.h | 171 bool OldValue; member
|
H A D | CodeGenFunction.cpp | 169 auto OldValue = in ConstructorHelper() local 171 auto NewValue = OldValue & Value; in ConstructorHelper() 172 if (OldValue != NewValue) in ConstructorHelper()
|
H A D | CGExprConstant.cpp | 1401 Abstract = saved.OldValue; in validateAndPopAbstract()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 640 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap() local 641 QualType OldValueTy = OldValue->getType(); in create_OSAtomicCompareAndSwap() 659 M.makeLvalueToRvalue(M.makeDeclRefExpr(OldValue), OldValueTy), in create_OSAtomicCompareAndSwap()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicInst.h | 314 void replaceVariableLocationOp(Value *OldValue, Value *NewValue); 347 for (Value *OldValue : location_ops()) { in setKillLocation() 348 if (!RemovedValues.insert(OldValue).second) in setKillLocation() 350 Value *Poison = PoisonValue::get(OldValue->getType()); in setKillLocation() 351 replaceVariableLocationOp(OldValue, Poison); in setKillLocation()
|
H A D | DebugProgramInstruction.h | 213 void replaceVariableLocationOp(Value *OldValue, Value *NewValue,
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | PredicateExpander.cpp | 192 bool OldValue = shouldNegate(); in expandPredicateSequence() local 206 setNegatePredicate(OldValue); in expandPredicateSequence()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | InstrRefBasedImpl.cpp | 780 ValueIDNum OldValue = VarLocs[MLoc.asU64()]; in clobberMloc() local 781 clobberMloc(MLoc, OldValue, Pos, MakeUndef); in clobberMloc() 786 void clobberMloc(LocIdx MLoc, ValueIDNum OldValue, in clobberMloc() argument 798 if (Loc.Value == OldValue) in clobberMloc() 807 recoverAsEntryValue(Var, Prop, OldValue); in clobberMloc() 867 VarLocs[NewLoc->asU64()] = OldValue; in clobberMloc()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 6069 Value *OldValue = Builder.CreateExtractValue(Result, /*Idxs=*/0); in createAtomicCompare() local 6071 OldValue = Builder.CreateBitCast(OldValue, X.ElemTy); in createAtomicCompare() 6072 assert(OldValue->getType() == V.ElemTy && in createAtomicCompare() 6075 Builder.CreateStore(OldValue, V.Var, V.IsVolatile); in createAtomicCompare() 6101 Builder.CreateStore(OldValue, V.Var); in createAtomicCompare() 6113 Builder.CreateSelect(SuccessOrFail, E, OldValue); in createAtomicCompare() 6170 AtomicRMWInst *OldValue = in createAtomicCompare() local 6175 CapturedValue = OldValue; in createAtomicCompare() 6200 Value *NonAtomicCmp = Builder.CreateCmp(Pred, OldValue, E); in createAtomicCompare() 6201 CapturedValue = Builder.CreateSelect(NonAtomicCmp, E, OldValue); in createAtomicCompare()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | GVN.cpp | 945 SmallVectorImpl<AvailableValueInBlock> &ValuesPerBlock, Value *OldValue, in replaceValuesPerBlockEntry() argument 948 if (V.AV.Val == OldValue) in replaceValuesPerBlockEntry() 951 if (V.AV.V1 == OldValue) in replaceValuesPerBlockEntry() 953 if (V.AV.V2 == OldValue) in replaceValuesPerBlockEntry()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 7641 llvm::APSInt OldValue = Value; in CheckTemplateArgument() local 7654 (OldValue.isSigned() && OldValue.isNegative())) { in CheckTemplateArgument() 7656 << toString(OldValue, 10) << toString(Value, 10) << Param->getType() in CheckTemplateArgument() 7664 RequiredBits = OldValue.getActiveBits(); in CheckTemplateArgument() 7665 else if (OldValue.isUnsigned()) in CheckTemplateArgument() 7666 RequiredBits = OldValue.getActiveBits() + 1; in CheckTemplateArgument() 7668 RequiredBits = OldValue.getSignificantBits(); in CheckTemplateArgument() 7671 << toString(OldValue, 10) << toString(Value, 10) << Param->getType() in CheckTemplateArgument()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | STLExtras.h | 1849 OutputIt replace_copy(R &&Range, OutputIt Out, const T &OldValue, 1851 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 | 10288 bool OldValue; member 10291 : TI(TI), OldValue(TI.getEvaluateConstraints()) { in ConstraintEvalRAII() 10294 ~ConstraintEvalRAII() { TI.setEvaluateConstraints(OldValue); } in ~ConstraintEvalRAII()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 686 bool OldValue; member 688 : Frame(Frame), OldValue(Frame.CanEvalMSConstexpr) { in MSConstexprContextRAII() 692 ~MSConstexprContextRAII() { Frame.CanEvalMSConstexpr = OldValue; } in ~MSConstexprContextRAII()
|