/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | SaveAndRestore.h | 22 template <typename T> struct SaveAndRestore { struct 23 SaveAndRestore(T &X) : X(X), OldValue(X) {} in SaveAndRestore() function 24 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { in SaveAndRestore() function 27 ~SaveAndRestore() { X = OldValue; } in ~SaveAndRestore() argument
|
/external/llvm/include/llvm/Support/ |
D | SaveAndRestore.h | 22 template <typename T> struct SaveAndRestore { struct 23 SaveAndRestore(T &X) : X(X), OldValue(X) {} in SaveAndRestore() function 24 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { in SaveAndRestore() argument 27 ~SaveAndRestore() { X = OldValue; } in ~SaveAndRestore() argument
|
/external/clang/lib/AST/ |
D | TypePrinter.cpp | 154 SaveAndRestore<bool> PHVal(HasEmptyPlaceHolder, PlaceHolder.empty()); in print() 257 SaveAndRestore<bool> PrevPHIsEmpty(HasEmptyPlaceHolder); in printBefore() 332 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); in printPointerBefore() 342 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); in printPointerAfter() 352 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); in printBlockPointerBefore() 358 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); in printBlockPointerAfter() 365 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); in printLValueReferenceBefore() 376 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); in printLValueReferenceAfter() 387 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); in printRValueReferenceBefore() 398 SaveAndRestore<bool> NonEmptyPH(HasEmptyPlaceHolder, false); in printRValueReferenceAfter() [all …]
|
/external/clang/include/clang/Basic/ |
D | LLVM.h | 39 struct SaveAndRestore; 71 using llvm::SaveAndRestore;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 504 SaveAndRestore<const char *> SavedTokenStart(TokStart); in peekTokens() 505 SaveAndRestore<const char *> SavedCurPtr(CurPtr); in peekTokens() 506 SaveAndRestore<bool> SavedAtStartOfLine(IsAtStartOfLine); in peekTokens() 507 SaveAndRestore<bool> SavedAtStartOfStatement(IsAtStartOfStatement); in peekTokens() 508 SaveAndRestore<bool> SavedSkipSpace(SkipSpace, ShouldSkipSpace); in peekTokens() 509 SaveAndRestore<bool> SavedIsPeeking(IsPeeking, true); in peekTokens()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 2170 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitIfStmt() 2199 SaveAndRestore<CFGBlock*> sv(Succ); in VisitIfStmt() 2225 SaveAndRestore<CFGBlock*> sv(Succ); in VisitIfStmt() 2400 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt() 2426 SaveAndRestore<JumpTarget> save_break(BreakJumpTarget); in VisitForStmt() 2436 SaveAndRestore<CFGBlock*> save_Block(Block), save_Succ(Succ); in VisitForStmt() 2437 SaveAndRestore<JumpTarget> save_continue(ContinueJumpTarget); in VisitForStmt() 2644 SaveAndRestore<CFGBlock*> save_Block(Block), save_Succ(Succ); in VisitObjCForCollectionStmt() 2645 SaveAndRestore<JumpTarget> save_continue(ContinueJumpTarget), in VisitObjCForCollectionStmt() 2745 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitWhileStmt() [all …]
|
D | AnalysisDeclContext.cpp | 235 SaveAndRestore<bool> NotPrune(cfgBuildOptions.PruneTriviallyFalseEdges, in getUnoptimizedCFG()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DeadStoresChecker.cpp | 40 SaveAndRestore<bool> inFinally(inEH, true); in TraverseObjCAtFinallyStmt() 45 SaveAndRestore<bool> inCatch(inEH, true); in TraverseObjCAtCatchStmt() 50 SaveAndRestore<bool> inCatch(inEH, true); in TraverseCXXCatchStmt()
|
D | VirtualCallChecker.cpp | 96 SaveAndRestore<const CallExpr *> SaveCall(visitingCallExpr, WLUnit); in Execute()
|
/external/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 238 SaveAndRestore<bool> SavedVarArg(IsVarArg, false); in analyzeMustTailForwardedRegisters() 239 SaveAndRestore<bool> SavedMustTail(AnalyzingMustTailForwardedRegs, true); in analyzeMustTailForwardedRegisters()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 255 SaveAndRestore<bool> SavedVarArg(IsVarArg, false); in analyzeMustTailForwardedRegisters() 256 SaveAndRestore<bool> SavedMustTail(AnalyzingMustTailForwardedRegs, true); in analyzeMustTailForwardedRegisters()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ConstraintManager.h | 154 SaveAndRestore<bool> DisableNotify(NotifyAssumeClients, false); in isNull()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCallAndReturn.cpp | 179 SaveAndRestore<const NodeBuilderContext *> NodeContextRAII(currBldrCtx, &BC); in removeDeadOnEndOfFunction() 327 SaveAndRestore<const NodeBuilderContext*> NBCSave(currBldrCtx, in processCallExit() 329 SaveAndRestore<unsigned> CBISave(currStmtIdx, calleeCtx->getIndex()); in processCallExit()
|
D | ExprEngine.cpp | 1768 SaveAndRestore<const NodeBuilderContext *> NodeContextRAII(currBldrCtx, &BC); in processBeginOfFunction()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.h | 201 SaveAndRestore<Decl *> SetParent(ParentD, D); in TraverseObjCMethodDecl()
|
D | TransGCAttrs.cpp | 50 SaveAndRestore<bool> Save(FullyMigratable, isMigratable(D)); in TraverseDecl()
|
/external/boringssl/src/crypto/err/ |
D | err_test.cc | 133 TEST(ErrTest, SaveAndRestore) { in TEST() argument
|
/external/clang/lib/Lex/ |
D | MacroArgs.cpp | 158 SaveAndRestore<bool> PreExpandingMacroArgs(PP.InMacroArgPreExpansion, true); in getPreExpArgument()
|
D | PPExpressions.cpp | 801 SaveAndRestore<bool> PPDir(ParsingIfOrElifDirective, true); in EvaluateDirectiveExpression()
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 1058 SaveAndRestore<llvm::Instruction *> RestoreCurrentFuncletPad( in ExitCXXTryStmt() 1331 SaveAndRestore<llvm::Instruction *> RestoreCurrentFuncletPad( in getTerminateHandler()
|
D | CGCleanup.cpp | 934 SaveAndRestore<llvm::Instruction *> RestoreCurrentFuncletPad( in PopCleanupBlock()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 736 SaveAndRestore<bool> WithinObjCContainer;
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 619 SaveAndRestore<DeclContext::decl_iterator*> DI_saved(DI_current, &I); in VisitDeclContext() 620 SaveAndRestore<DeclContext::decl_iterator> DE_saved(DE_current, E); in VisitDeclContext()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 3478 llvm::SaveAndRestore<SourceLocation> in ReadAST() 6717 SaveAndRestore<bool> GuardPassingDeclsToConsumer(PassingDeclsToConsumer, in PassInterestingDeclsToConsumer()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 7835 SaveAndRestore<bool> Restore(ProvingSplitPredicate, true); in isKnownPredicateViaSplitting() 7897 SaveAndRestore<bool> ClearOnExit(WalkingBEDominatingConds, true); in isLoopBackedgeGuardedByCond()
|