Home
last modified time | relevance | path

Searched refs:CleanupKind (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/CodeGen/
DEHScopeStack.h78 enum CleanupKind : unsigned {
264 void *pushCleanup(CleanupKind K, size_t DataSize);
273 template <class T, class... As> void pushCleanup(CleanupKind Kind, As... A) {
283 void pushCleanupTuple(CleanupKind Kind, std::tuple<As...> A) {
305 T *pushCleanupWithExtra(CleanupKind Kind, size_t N, As... A) {
312 void pushCopyOfCleanup(CleanupKind Kind, const void *Cleanup, size_t Size) {
DCGDecl.cpp553 CleanupKind cleanupKind = CGF.getARCCleanupKind(); in EmitAutoVarWithLifetime()
1337 CleanupKind cleanupKind = NormalAndEHCleanup; in emitAutoVarTypeCleanup()
1458 CleanupKind cleanupKind = getCleanupKind(dtorKind); in pushDestroy()
1463 void CodeGenFunction::pushDestroy(CleanupKind cleanupKind, Address addr, in pushDestroy()
1470 void CodeGenFunction::pushStackRestore(CleanupKind Kind, Address SPMem) { in pushStackRestore()
1475 CleanupKind cleanupKind, Address addr, QualType type, in pushLifetimeExtendedDestroy()
1485 static_cast<CleanupKind>(cleanupKind & ~NormalCleanup), addr, type, in pushLifetimeExtendedDestroy()
DCodeGenFunction.h323 CleanupKind Kind;
326 CleanupKind getKind() const { return Kind; } in getKind()
406 void pushFullExprCleanup(CleanupKind kind, As... A) { in pushFullExprCleanup()
424 void pushCleanupAfterFullExpr(CleanupKind Kind, As... A) { in pushCleanupAfterFullExpr()
1262 void pushDestroy(CleanupKind kind, Address addr, QualType type,
1264 void pushLifetimeExtendedDestroy(CleanupKind kind, Address addr,
1270 void pushStackRestore(CleanupKind kind, Address SPMem);
1300 CleanupKind getCleanupKind(QualType::DestructionKind kind) { in getCleanupKind()
2957 CleanupKind getARCCleanupKind() { in getARCCleanupKind()
DCGExpr.cpp232 CleanupKind CleanupKind; in pushTemporaryCleanup() local
237 CleanupKind = CGF.getARCCleanupKind(); in pushTemporaryCleanup()
243 CleanupKind = NormalAndEHCleanup; in pushTemporaryCleanup()
247 CGF.pushDestroy(CleanupKind, ReferenceTemporary, in pushTemporaryCleanup()
249 CleanupKind & EHCleanup); in pushTemporaryCleanup()
251 CGF.pushLifetimeExtendedDestroy(CleanupKind, ReferenceTemporary, in pushTemporaryCleanup()
253 *Destroy, CleanupKind & EHCleanup); in pushTemporaryCleanup()
DCGCleanup.cpp186 void *EHScopeStack::pushCleanup(CleanupKind Kind, size_t Size) { in pushCleanup()
DCGBlocks.cpp621 CleanupKind cleanupKind = InactiveNormalCleanup; in enterBlockScope()
DCGClass.cpp1902 CleanupKind cleanupKind = getCleanupKind(dtorKind); in EnterDtorCleanups()
DCGObjC.cpp1393 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
/external/llvm-project/clang/lib/CodeGen/
DEHScopeStack.h77 enum CleanupKind : unsigned {
261 void *pushCleanup(CleanupKind K, size_t DataSize);
270 template <class T, class... As> void pushCleanup(CleanupKind Kind, As... A) {
280 void pushCleanupTuple(CleanupKind Kind, std::tuple<As...> A) {
302 T *pushCleanupWithExtra(CleanupKind Kind, size_t N, As... A) {
309 void pushCopyOfCleanup(CleanupKind Kind, const void *Cleanup, size_t Size) {
DCGDecl.cpp628 CleanupKind cleanupKind = CGF.getARCCleanupKind(); in EmitAutoVarWithLifetime()
1970 CleanupKind cleanupKind = NormalAndEHCleanup; in emitAutoVarTypeCleanup()
2104 CleanupKind cleanupKind = getCleanupKind(dtorKind); in pushDestroy()
2109 void CodeGenFunction::pushDestroy(CleanupKind cleanupKind, Address addr, in pushDestroy()
2116 void CodeGenFunction::pushStackRestore(CleanupKind Kind, Address SPMem) { in pushStackRestore()
2120 void CodeGenFunction::pushLifetimeExtendedDestroy(CleanupKind cleanupKind, in pushLifetimeExtendedDestroy()
2132 static_cast<CleanupKind>(cleanupKind & ~NormalCleanup), addr, type, in pushLifetimeExtendedDestroy()
2153 static_cast<CleanupKind>(cleanupKind & ~NormalCleanup), SavedAddr, type, in pushLifetimeExtendedDestroy()
DCodeGenFunction.h564 CleanupKind getKind() const { return (CleanupKind)Kind; }
684 void pushFullExprCleanup(CleanupKind kind, As... A) {
702 void pushCleanupAfterFullExpr(CleanupKind Kind, As... A) {
719 void pushCleanupAfterFullExprWithActiveFlag(CleanupKind Kind,
1950 void pushDestroy(CleanupKind kind, Address addr, QualType type,
1952 void pushLifetimeExtendedDestroy(CleanupKind kind, Address addr,
1958 void pushStackRestore(CleanupKind kind, Address SPMem);
1989 CleanupKind getCleanupKind(QualType::DestructionKind kind) {
2070 void enterByrefCleanup(CleanupKind Kind, Address Addr, BlockFieldFlags Flags,
3177 void pushSEHCleanup(CleanupKind kind,
[all …]
DCGExpr.cpp305 CleanupKind CleanupKind; in pushTemporaryCleanup() local
310 CleanupKind = CGF.getARCCleanupKind(); in pushTemporaryCleanup()
316 CleanupKind = NormalAndEHCleanup; in pushTemporaryCleanup()
320 CGF.pushDestroy(CleanupKind, ReferenceTemporary, in pushTemporaryCleanup()
322 CleanupKind & EHCleanup); in pushTemporaryCleanup()
324 CGF.pushLifetimeExtendedDestroy(CleanupKind, ReferenceTemporary, in pushTemporaryCleanup()
326 *Destroy, CleanupKind & EHCleanup); in pushTemporaryCleanup()
DCGBlocks.cpp1069 CleanupKind cleanupKind = NormalCleanup; in EmitBlockLiteral()
1868 CleanupKind Kind = in pushCaptureCleanup()
1877 CleanupKind Kind = EHOnly ? EHCleanup : NormalAndEHCleanup; in pushCaptureCleanup()
2865 void CodeGenFunction::enterByrefCleanup(CleanupKind Kind, Address Addr, in enterByrefCleanup()
DCGCleanup.cpp178 void *EHScopeStack::pushCleanup(CleanupKind Kind, size_t Size) { in pushCleanup()
DCGException.cpp2055 void CodeGenFunction::pushSEHCleanup(CleanupKind Kind, in pushSEHCleanup()
DCGClass.cpp1901 CleanupKind cleanupKind = getCleanupKind(dtorKind); in EnterDtorCleanups()
DCGObjC.cpp1645 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
DCGBuiltin.cpp1796 CleanupKind Cleanup = getARCCleanupKind(); in emitBuiltinOSLogFormat()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1927 unsigned CleanupKind = Record.readInt(); in VisitExprWithCleanups() local
1929 if (CleanupKind == COK_Block) in VisitExprWithCleanups()
1931 else if (CleanupKind == COK_CompoundLiteral) in VisitExprWithCleanups()