Lines Matching full:captures
334 _CapturesTypes captures...;
362 info.Captures.insert({Capture->getVariable(), C}); in setIndex()
568 // Next, all the block captures. in computeBlockInfo()
569 for (const auto &CI : block->captures()) { in computeBlockInfo()
593 info.Captures[variable] = CGBlockInfo::Capture::makeConstant(constant); in computeBlockInfo()
779 // If the block has no captures, we won't have a pre-computed in EmitBlockLiteral()
910 for (const auto &CI : blockDecl->captures()) { in EmitBlockLiteral()
914 // Ignore constant captures. in EmitBlockLiteral()
1039 // Ignore __block captures; there's nothing special in the on-stack block in EmitBlockLiteral()
1051 // Block captures count as local values and have imprecise semantics. in EmitBlockLiteral()
1054 // For const-qualified captures, emit clang.arc.use to ensure the captured in EmitBlockLiteral()
1249 // Handle constant captures. in GetAddrOfBlockDecl()
1474 // global AS program scope variable (for the case with and without captures). in GenerateBlockFunction()
1543 // Also force all the constant captures. in GenerateBlockFunction()
1544 for (const auto &CI : blockDecl->captures()) { in GenerateBlockFunction()
1581 for (const auto &CI : blockDecl->captures()) { in GenerateBlockFunction()
1641 // We need to register __weak direct captures with the runtime. in computeCopyInfoForBlockCapture()
1644 // We need to retain the copied value for __strong direct captures. in computeCopyInfoForBlockCapture()
1657 // Special rules for ARC captures: in computeCopyInfoForBlockCapture()
1660 // Non-ARC captures of retainable pointers are strong and in computeCopyInfoForBlockCapture()
1676 /// Find the set of block captures that need to be explicitly copied or destroy.
1680 for (const auto &CI : BlockInfo.getBlockDecl()->captures()) { in findBlockCapturedManagedEntities()
1696 // Sort the captures by offset. in findBlockCapturedManagedEntities()
1832 const SmallVectorImpl<BlockCaptureManagedEntity> &Captures, in getCopyDestroyHelperFuncName() argument
1846 for (const BlockCaptureManagedEntity &E : Captures) { in getCopyDestroyHelperFuncName()
2083 // Use objc_storeStrong for __strong direct captures; the in computeDestroyInfoForBlockCapture()
2088 // Support __weak direct captures. in computeDestroyInfoForBlockCapture()
2095 // Non-ARC captures are strong, and we need to use _Block_object_dispose. in computeDestroyInfoForBlockCapture()