Home
last modified time | relevance | path

Searched refs:OldValue (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/Support/
DSaveAndRestore.h23 SaveAndRestore(T &X) : X(X), OldValue(X) {} in SaveAndRestore()
24 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { in SaveAndRestore()
27 ~SaveAndRestore() { X = OldValue; } in ~SaveAndRestore()
28 T get() { return OldValue; } in get()
32 T OldValue; member
39 SaveOr(bool &X) : X(X), OldValue(X) { X = false; } in SaveOr()
40 ~SaveOr() { X |= OldValue; } in ~SaveOr()
44 const bool OldValue; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSaveAndRestore.h22 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
/external/llvm-project/llvm/include/llvm/Support/
DSaveAndRestore.h22 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
/external/swiftshader/third_party/subzero/src/
DIceUtils.h164 BoolFlagSaver(bool &F, bool NewValue) : OldValue(F), Flag(F) { F = NewValue; } in BoolFlagSaver()
165 ~BoolFlagSaver() { Flag = OldValue; } in ~BoolFlagSaver()
168 const bool OldValue;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp394 Value *OldValue = Phi.getIncomingValueForBlock(AftBlocksLast[It]); in UnrollAndJamLoop() local
395 assert(OldValue && "should have incoming edge from Aft[It]"); in UnrollAndJamLoop()
396 Value *NewValue = OldValue; in UnrollAndJamLoop()
397 if (Value *PrevValue = PrevItValueMap[OldValue]) in UnrollAndJamLoop()
427 Value *OldValue = Phi.getIncomingValue(b); in UnrollAndJamLoop() local
428 if (Value *LastValue = LastValueMap[OldValue]) in UnrollAndJamLoop()
/external/llvm-project/clang/include/clang/Parse/
DRAIIObjectsForParser.h327 bool OldValue; variable
332 OldValue(P.InMessageExpression) { in InMessageExpressionRAIIObject()
337 InMessageExpression = OldValue; in ~InMessageExpressionRAIIObject()
/external/clang/lib/Parse/
DRAIIObjectsForParser.h308 bool OldValue; variable
313 OldValue(P.InMessageExpression) { in InMessageExpressionRAIIObject()
318 InMessageExpression = OldValue; in ~InMessageExpressionRAIIObject()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp445 Value *OldValue = Phi.getIncomingValueForBlock(AftBlocksLast[It]); in UnrollAndJamLoop() local
446 assert(OldValue && "should have incoming edge from Aft[It]"); in UnrollAndJamLoop()
447 Value *NewValue = OldValue; in UnrollAndJamLoop()
448 if (Value *PrevValue = PrevItValueMap[OldValue]) in UnrollAndJamLoop()
470 Value *OldValue = Phi.getIncomingValue(b); in UnrollAndJamLoop() local
471 if (Value *LastValue = LastValueMap[OldValue]) in UnrollAndJamLoop()
/external/clang/include/clang/Basic/
DIdentifierTable.h373 const bool OldValue; variable
376 : II(II), OldValue(II ? II->isPoisoned() : false) { in PoisonIdentifierRAIIObject()
383 II->setIsPoisoned(OldValue); in ~PoisonIdentifierRAIIObject()
/external/llvm-project/clang/include/clang/Basic/
DIdentifierTable.h422 const bool OldValue; variable
426 : II(II), OldValue(II ? II->isPoisoned() : false) { in PoisonIdentifierRAIIObject()
433 II->setIsPoisoned(OldValue); in ~PoisonIdentifierRAIIObject()
/external/clang/lib/Analysis/
DBodyFarm.cpp296 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap() local
297 QualType OldValueTy = OldValue->getType(); in create_OSAtomicCompareAndSwap()
315 M.makeLvalueToRvalue(M.makeDeclRefExpr(OldValue), OldValueTy), in create_OSAtomicCompareAndSwap()
/external/llvm-project/clang/lib/CodeGen/
DConstantEmitter.h168 bool OldValue; member
DCodeGenFunction.cpp176 auto OldValue = in ConstructorHelper() local
178 auto NewValue = OldValue & Value; in ConstructorHelper()
179 if (OldValue != NewValue) in ConstructorHelper()
DCGExprConstant.cpp1334 Abstract = saved.OldValue; in validateAndPopAbstract()
/external/llvm-project/llvm/utils/TableGen/
DPredicateExpander.cpp167 bool OldValue = shouldNegate(); in expandPredicateSequence() local
181 setNegatePredicate(OldValue); in expandPredicateSequence()
/external/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp610 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap() local
611 QualType OldValueTy = OldValue->getType(); in create_OSAtomicCompareAndSwap()
629 M.makeLvalueToRvalue(M.makeDeclRefExpr(OldValue), OldValueTy), in create_OSAtomicCompareAndSwap()
/external/llvm/lib/Transforms/Instrumentation/
DEfficiencySanitizer.cpp888 Value *OldValue = IRB.CreateLoad(IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet() local
890 Value *Cmp = IRB.CreateICmpNE(IRB.CreateAnd(OldValue, ValueMask), ValueMask); in instrumentFastpathWorkingSet()
896 Value *NewVal = IRB.CreateOr(OldValue, ValueMask); in instrumentFastpathWorkingSet()
/external/clang/lib/Sema/
DSemaTemplate.cpp5173 llvm::APSInt OldValue = Value; in CheckTemplateArgument() local
5184 && (OldValue.isSigned() && OldValue.isNegative())) { in CheckTemplateArgument()
5186 << OldValue.toString(10) << Value.toString(10) << Param->getType() in CheckTemplateArgument()
5194 RequiredBits = OldValue.getActiveBits(); in CheckTemplateArgument()
5195 else if (OldValue.isUnsigned()) in CheckTemplateArgument()
5196 RequiredBits = OldValue.getActiveBits() + 1; in CheckTemplateArgument()
5198 RequiredBits = OldValue.getMinSignedBits(); in CheckTemplateArgument()
5202 << OldValue.toString(10) << Value.toString(10) << Param->getType() in CheckTemplateArgument()
/external/llvm-project/polly/lib/CodeGen/
DIslNodeBuilder.cpp929 Value *OldValue = IDToValue[IteratorID]; in createSubstitutionsVector() local
936 IDToValue[IteratorID] = OldValue; in createSubstitutionsVector()
/external/llvm-project/clang/lib/Sema/
DSemaTemplate.cpp7202 llvm::APSInt OldValue = Value; in CheckTemplateArgument() local
7215 && (OldValue.isSigned() && OldValue.isNegative())) { in CheckTemplateArgument()
7217 << OldValue.toString(10) << Value.toString(10) << Param->getType() in CheckTemplateArgument()
7225 RequiredBits = OldValue.getActiveBits(); in CheckTemplateArgument()
7226 else if (OldValue.isUnsigned()) in CheckTemplateArgument()
7227 RequiredBits = OldValue.getActiveBits() + 1; in CheckTemplateArgument()
7229 RequiredBits = OldValue.getMinSignedBits(); in CheckTemplateArgument()
7232 << OldValue.toString(10) << Value.toString(10) << Param->getType() in CheckTemplateArgument()