| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | SaveAndRestore.h | 22 SaveAndRestore(T &X) : X(X), OldValue(X) {} in SaveAndRestore() 23 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { in SaveAndRestore() 26 ~SaveAndRestore() { X = OldValue; } in ~SaveAndRestore() 27 T get() { return OldValue; } in get() 31 T OldValue; member
|
| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/ |
| H A D | State.h | 304 ValueRAII(VTy &V, Ty NewValue, Ty OldValue, bool Active, IdentTy *Ident, 308 Val(OldValue), Active(Active) { 311 ASSERT(*Ptr == OldValue &&
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopUnrollAndJam.cpp | 446 Value *OldValue = Phi.getIncomingValueForBlock(AftBlocksLast[It]); in UnrollAndJamLoop() local 447 assert(OldValue && "should have incoming edge from Aft[It]"); in UnrollAndJamLoop() 448 Value *NewValue = OldValue; in UnrollAndJamLoop() 449 if (Value *PrevValue = PrevItValueMap[OldValue]) in UnrollAndJamLoop() 471 Value *OldValue = Phi.getIncomingValue(b); in UnrollAndJamLoop() local 472 if (Value *LastValue = LastValueMap[OldValue]) in UnrollAndJamLoop()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | RAIIObjectsForParser.h | 330 bool OldValue; variable 335 OldValue(P.InMessageExpression) { in InMessageExpressionRAIIObject() 340 InMessageExpression = OldValue; in ~InMessageExpressionRAIIObject()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 490 const bool OldValue; variable 494 : II(II), OldValue(II ? II->isPoisoned() : false) { in PoisonIdentifierRAIIObject() 501 II->setIsPoisoned(OldValue); in ~PoisonIdentifierRAIIObject()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | IntrinsicInst.h | 210 void replaceVariableLocationOp(Value *OldValue, Value *NewValue); 244 for (Value *OldValue : location_ops()) { in setUndef() 245 if (!RemovedValues.insert(OldValue).second) in setUndef() 247 Value *Undef = UndefValue::get(OldValue->getType()); in setUndef() 248 replaceVariableLocationOp(OldValue, Undef); in setUndef()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ConstantEmitter.h | 168 bool OldValue; member
|
| H A D | CodeGenFunction.cpp | 166 auto OldValue = in ConstructorHelper() local 168 auto NewValue = OldValue & Value; in ConstructorHelper() 169 if (OldValue != NewValue) in ConstructorHelper()
|
| H A D | CGExprConstant.cpp | 1364 Abstract = saved.OldValue; in validateAndPopAbstract()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | PredicateExpander.cpp | 167 bool OldValue = shouldNegate(); in expandPredicateSequence() local 181 setNegatePredicate(OldValue); in expandPredicateSequence()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 639 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap() local 640 QualType OldValueTy = OldValue->getType(); in create_OSAtomicCompareAndSwap() 658 M.makeLvalueToRvalue(M.makeDeclRefExpr(OldValue), OldValueTy), in create_OSAtomicCompareAndSwap()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | IntrinsicInst.cpp | 113 void DbgVariableIntrinsic::replaceVariableLocationOp(Value *OldValue, in replaceVariableLocationOp() argument 117 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp()
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 4226 Value *OldValue = Builder.CreateExtractValue(Result, /*Idxs=*/0); in createAtomicCompare() local 4228 OldValue = Builder.CreateBitCast(OldValue, X.ElemTy); in createAtomicCompare() 4229 assert(OldValue->getType() == V.ElemTy && in createAtomicCompare() 4232 Builder.CreateStore(OldValue, V.Var, V.IsVolatile); in createAtomicCompare() 4258 Builder.CreateStore(OldValue, V.Var); in createAtomicCompare() 4270 Builder.CreateSelect(SuccessOrFail, E, OldValue); in createAtomicCompare() 4327 AtomicRMWInst *OldValue = in createAtomicCompare() local 4332 CapturedValue = OldValue; in createAtomicCompare() 4357 Value *NonAtomicCmp = Builder.CreateCmp(Pred, OldValue, E); in createAtomicCompare() 4358 CapturedValue = Builder.CreateSelect(NonAtomicCmp, E, OldValue); in createAtomicCompare()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.cpp | 538 ValueIDNum OldValue = VarLocs[MLoc.asU64()]; in clobberMloc() local 539 clobberMloc(MLoc, OldValue, Pos, MakeUndef); in clobberMloc() 544 void clobberMloc(LocIdx MLoc, ValueIDNum OldValue, in clobberMloc() argument 556 if (Loc.Value == OldValue) in clobberMloc() 565 recoverAsEntryValue(Var, Prop, OldValue); in clobberMloc() 599 VarLocs[NewLoc->asU64()] = OldValue; in clobberMloc()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslNodeBuilder.cpp | 953 Value *OldValue = IDToValue[IteratorID]; in createSubstitutionsVector() local 960 IDToValue[IteratorID] = OldValue; in createSubstitutionsVector()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 7256 llvm::APSInt OldValue = Value; in CheckTemplateArgument() local 7269 (OldValue.isSigned() && OldValue.isNegative())) { in CheckTemplateArgument() 7271 << toString(OldValue, 10) << toString(Value, 10) << Param->getType() in CheckTemplateArgument() 7279 RequiredBits = OldValue.getActiveBits(); in CheckTemplateArgument() 7280 else if (OldValue.isUnsigned()) in CheckTemplateArgument() 7281 RequiredBits = OldValue.getActiveBits() + 1; in CheckTemplateArgument() 7283 RequiredBits = OldValue.getMinSignedBits(); in CheckTemplateArgument() 7286 << toString(OldValue, 10) << toString(Value, 10) << Param->getType() in CheckTemplateArgument()
|