Searched refs:blockDecl (Results 1 – 4 of 4) sorted by relevance
756 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() local759 if (blockDecl->capturesCXXThis()) { in EmitBlockLiteral()766 for (const auto &CI : blockDecl->captures()) { in EmitBlockLiteral()784 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()829 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()1144 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() local1171 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl), in GenerateBlockFunction()1176 args.append(blockDecl->param_begin(), blockDecl->param_end()); in GenerateBlockFunction()1187 StringRef name = CGM.getBlockMangledName(GD, blockDecl); in GenerateBlockFunction()1190 CGM.SetInternalFunctionAttributes(blockDecl, fn, fnInfo); in GenerateBlockFunction()[all …]
271 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
3356 const BlockDecl *blockDecl = block.getBlockDecl(); in EmitDeclareOfBlockLiteralArgVariable() local3359 SourceLocation loc = blockDecl->getCaretLocation(); in EmitDeclareOfBlockLiteralArgVariable()3365 getDeclContextDescriptor(blockDecl); in EmitDeclareOfBlockLiteralArgVariable()3396 if (blockDecl->capturesCXXThis()) { in EmitDeclareOfBlockLiteralArgVariable()3405 for (const auto &capture : blockDecl->captures()) { in EmitDeclareOfBlockLiteralArgVariable()3433 cast_or_null<CXXMethodDecl>(blockDecl->getNonClosureContext())) in EmitDeclareOfBlockLiteralArgVariable()3435 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable()
2105 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock() local2113 for (const auto &CI : blockDecl->captures()) { in visitBlock()2597 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildRCBlockLayout() local2610 for (const auto &CI : blockDecl->captures()) { in BuildRCBlockLayout()