/external/clang/lib/CodeGen/ |
D | CGCleanup.cpp | 298 EHCleanupScope &cleanup = cast<EHCleanupScope>(*EHStack.begin()); in initFullExprCleanup() 329 for (unsigned I = 0, E = CGF.EHStack.getNumBranchFixups(); I != E; ++I) { in ResolveAllBranchFixups() 331 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I); in ResolveAllBranchFixups() 357 CGF.EHStack.clearFixups(); in ResolveAllBranchFixups() 384 if (!EHStack.getNumBranchFixups()) return; in ResolveBranchFixups() 386 assert(EHStack.hasNormalCleanups() && in ResolveBranchFixups() 392 for (unsigned I = 0, E = EHStack.getNumBranchFixups(); I != E; ++I) { in ResolveBranchFixups() 394 BranchFixup &Fixup = EHStack.getBranchFixup(I); in ResolveBranchFixups() 417 EHStack.popNullFixups(); in ResolveBranchFixups() 424 while (EHStack.stable_begin() != Old) { in PopCleanupBlocks() [all …]
|
D | CGException.cpp | 361 EHScopeStack::stable_iterator cleanup = EHStack.stable_begin(); in EmitAnyExprToExn() 433 EHStack.pushTerminate(); in EmitStartEHSpec() 445 EHStack.pushTerminate(); in EmitStartEHSpec() 453 EHFilterScope *Filter = EHStack.pushFilter(NumExceptions); in EmitStartEHSpec() 512 EHStack.popTerminate(); in EmitEndEHSpec() 523 EHStack.popTerminate(); in EmitEndEHSpec() 530 EHFilterScope &filterScope = cast<EHFilterScope>(*EHStack.begin()); in EmitEndEHSpec() 532 EHStack.popFilter(); in EmitEndEHSpec() 544 EHCatchScope *CatchScope = EHStack.pushCatch(NumHandlers); in EnterCXXTryStmt() 582 if (si == EHStack.stable_end()) in getEHDispatchBlock() [all …]
|
D | CGObjCRuntime.cpp | 212 EHCatchScope *Catch = CGF.EHStack.pushCatch(Handlers.size()); in EmitTryCatchStmt() 247 CGF.EHStack.pushCleanup<CallObjCEndCatch>(NormalAndEHCleanup, in EmitTryCatchStmt() 341 CGF.EHStack.pushCleanup<CallSyncExit>(NormalAndEHCleanup, syncExitFn, lock); in EmitAtSynchronizedStmt()
|
D | CGDecl.cpp | 1350 EHStack.pushCleanup<DestroyNRVOVariable>(cleanupKind, addr, in emitAutoVarTypeCleanup() 1378 EHStack.pushCleanup<DestroyObject>(cleanupKind, addr, type, destroyer, in emitAutoVarTypeCleanup() 1397 EHStack.pushCleanup<CallLifetimeEnd>(NormalEHLifetimeMarker, in EmitAutoVarCleanups() 1408 EHStack.pushCleanup<ExtendGCLifetime>(NormalCleanup, &D); in EmitAutoVarCleanups() 1419 EHStack.pushCleanup<CallCleanupFunction>(NormalAndEHCleanup, F, &Info, &D); in EmitAutoVarCleanups() 1471 EHStack.pushCleanup<CallStackRestore>(Kind, SPMem); in pushStackRestore() 1484 EHStack.pushCleanup<DestroyObject>( in pushLifetimeExtendedDestroy() 1841 EHStack.pushCleanup<ConsumeARCParameter>(getARCCleanupKind(), ArgVal, in EmitParmDecl()
|
D | CGClass.cpp | 561 CGF.EHStack.pushCleanup<CallBaseDtor>(EHCleanup, BaseClassDecl, in EmitBaseInitializer() 1820 EHStack.pushCleanup<CallDtorDeleteConditional>( in EnterDtorCleanups() 1823 EHStack.pushCleanup<CallDtorDelete>(NormalAndEHCleanup); in EnterDtorCleanups() 1841 EHStack.pushCleanup<SanitizeDtorVTable>(NormalAndEHCleanup, DD); in EnterDtorCleanups() 1853 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups() 1867 EHStack.pushCleanup<SanitizeDtorVTable>(NormalAndEHCleanup, DD); in EnterDtorCleanups() 1881 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups() 1890 EHStack.pushCleanup<SanitizeDtorMembers>(NormalAndEHCleanup, DD); in EnterDtorCleanups() 1903 EHStack.pushCleanup<DestroyField>(cleanupKind, Field, in EnterDtorCleanups() 2385 EHStack.pushCleanup<CallDelegatingCtorDtor>(EHCleanup, in EmitDelegatingCXXConstructorCall() [all …]
|
D | CGExprCXX.cpp | 880 Cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer() 1071 Cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer() 1285 CallDeleteDuringNew *Cleanup = CGF.EHStack in EnterNewDeleteCleanup() 1303 CallDeleteDuringConditionalNew *Cleanup = CGF.EHStack in EnterNewDeleteCleanup() 1427 operatorDeleteCleanup = EHStack.stable_begin(); in EmitCXXNewExpr() 1540 EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, CompletePtr, in pushCallObjectDeleteCleanup() 1569 CGF.EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, in EmitObjectDelete() 1674 CGF.EHStack.pushCleanup<CallArrayDelete>(NormalAndEHCleanup, in EmitArrayDelete()
|
D | CodeGenFunction.h | 299 EHScopeStack EHStack; variable 410 return EHStack.pushCleanup<T>(kind, A...); in pushFullExprCleanup() 417 EHStack.pushCleanupTuple<CleanupType>(kind, Saved); in pushFullExprCleanup() 501 CleanupStackDepth = CGF.EHStack.stable_begin(); in RunCleanupsScope() 520 return CGF.EHStack.stable_begin() != CleanupStackDepth; in requiresCleanups() 702 EHStack.getInnermostNormalCleanup(), in getJumpDestInCurrentScope() 1232 if (!EHStack.requiresLandingPad()) return nullptr; in getInvokeDest()
|
D | CGExprAgg.cpp | 438 cleanup = CGF.EHStack.stable_begin(); in EmitArrayInit() 1210 cleanups.push_back(CGF.EHStack.stable_begin()); in VisitInitListExpr() 1295 cleanups.push_back(CGF.EHStack.stable_begin()); in VisitInitListExpr()
|
D | CGStmt.cpp | 381 if (!EHStack.empty()) in SimplifyForwardingBlocks() 467 if (EHStack.hasNormalCleanups() && CurLexicalScope) in EmitLabel() 481 Dest.setScopeDepth(EHStack.stable_begin()); in EmitLabel() 494 = CGF.EHStack.getInnermostNormalCleanup(); in rescopeLabels()
|
D | CodeGenFunction.cpp | 304 bool HasCleanups = EHStack.stable_begin() != PrologueCleanupDepth; in FinishFunction() 306 HasCleanups && EHStack.containsOnlyLifetimeMarkers(PrologueCleanupDepth); in FinishFunction() 334 assert(EHStack.empty() && in FinishFunction() 838 PrologueCleanupDepth = EHStack.stable_begin(); in StartFunction()
|
D | CGObjC.cpp | 549 EHStack.pushCleanup<FinishARCDealloc>(getARCCleanupKind()); in StartObjCMethod() 1395 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer, in emitCXXDestructMethod() 2398 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup() 2400 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup() 3131 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt() 3134 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
|
D | CGBlocks.cpp | 630 capture.setCleanup(CGF.EHStack.stable_begin()); in enterBlockScope() 1769 EHScopeStack::stable_iterator cleanupDepth = CGF.EHStack.stable_begin(); in emitDispose() 2283 EHStack.pushCleanup<CallBlockRelease>(NormalAndEHCleanup, in enterByrefCleanup()
|
D | ItaniumCXXABI.cpp | 2069 CGF.EHStack.pushCleanup<CallGuardAbort>(EHCleanup, guard); in EmitGuardedInit() 3593 CGF.EHStack.pushCleanup<CallEndCatch>(NormalAndEHCleanup, EndMightThrow); in CallBeginCatch() 3757 CGF.EHStack.pushTerminate(); in InitCatchParam() 3767 CGF.EHStack.popTerminate(); in InitCatchParam()
|
D | MicrosoftCXXABI.cpp | 904 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in emitBeginCatch() 910 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in emitBeginCatch() 2438 CGF.EHStack.pushCleanup<ResetGuardBit>(EHCleanup, GuardAddr, GuardNum); in EmitGuardedInit() 2483 CGF.EHStack.pushCleanup<CallInitThreadAbort>(EHCleanup, GuardAddr); in EmitGuardedInit()
|
D | CGOpenMPRuntime.cpp | 689 CGF.EHStack.pushCleanup<CleanupTy>(NormalAndEHCleanup, PrePostAction); in operator ()() 711 CGF.EHStack.pushTerminate(); in EmitBody() 713 CGF.EHStack.popTerminate(); in EmitBody() 6568 CGF.EHStack.pushCleanup<DoacrossCleanupTy>(NormalAndEHCleanup, FiniRTLFn, in emitDoacrossInit()
|
D | CGCall.cpp | 2292 EHStack.pushCleanup<CopyBackSwiftError>(NormalCleanup, temp, arg); in EmitFunctionProlog() 3316 args.addArgCleanupDeactivation(EHStack.getInnermostEHScope(), IsActive); in EmitCallArg()
|
D | CGObjCMac.cpp | 4086 CGF.EHStack.pushCleanup<PerformFragileFinally>(NormalAndEHCleanup, &S, in EmitTryOrSynchronizedStmt()
|