/external/llvm/include/llvm/Support/ |
D | SaveAndRestore.h | 23 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/ |
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
|
/external/llvm-project/llvm/include/llvm/Support/ |
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
|
/external/swiftshader/third_party/subzero/src/ |
D | IceUtils.h | 164 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/ |
D | LoopUnrollAndJam.cpp | 394 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/ |
D | RAIIObjectsForParser.h | 327 bool OldValue; variable 332 OldValue(P.InMessageExpression) { in InMessageExpressionRAIIObject() 337 InMessageExpression = OldValue; in ~InMessageExpressionRAIIObject()
|
/external/clang/lib/Parse/ |
D | RAIIObjectsForParser.h | 308 bool OldValue; variable 313 OldValue(P.InMessageExpression) { in InMessageExpressionRAIIObject() 318 InMessageExpression = OldValue; in ~InMessageExpressionRAIIObject()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LoopUnrollAndJam.cpp | 445 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/ |
D | IdentifierTable.h | 373 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/ |
D | IdentifierTable.h | 422 const bool OldValue; variable 426 : II(II), OldValue(II ? II->isPoisoned() : false) { in PoisonIdentifierRAIIObject() 433 II->setIsPoisoned(OldValue); in ~PoisonIdentifierRAIIObject()
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 296 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/ |
D | ConstantEmitter.h | 168 bool OldValue; member
|
D | CodeGenFunction.cpp | 176 auto OldValue = in ConstructorHelper() local 178 auto NewValue = OldValue & Value; in ConstructorHelper() 179 if (OldValue != NewValue) in ConstructorHelper()
|
D | CGExprConstant.cpp | 1334 Abstract = saved.OldValue; in validateAndPopAbstract()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | PredicateExpander.cpp | 167 bool OldValue = shouldNegate(); in expandPredicateSequence() local 181 setNegatePredicate(OldValue); in expandPredicateSequence()
|
/external/llvm-project/clang/lib/Analysis/ |
D | BodyFarm.cpp | 610 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/ |
D | EfficiencySanitizer.cpp | 888 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/ |
D | SemaTemplate.cpp | 5173 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/ |
D | IslNodeBuilder.cpp | 929 Value *OldValue = IDToValue[IteratorID]; in createSubstitutionsVector() local 936 IDToValue[IteratorID] = OldValue; in createSubstitutionsVector()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplate.cpp | 7202 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()
|